The Cyber Monday deal is ending in 48 hours! Get 89% off our hottest-selling 5-year plan. Upgrade now! > Offer valid for existing users only.  

How to Setup PureVPN Command Line App on Linux

Sep 30, 2022
Sep 30, 2022
0 Comments
Download PDF

From downloading and installation to using PureVPN for complete internet freedom, learn all there’s to know about setup the PureVPN app on your Linux.
Things to consider:
You will need a Windows device running and an active PureVPN subscription. If you dont have the subscription yet, you can get it here.

Download & install PureVPN App
How to download & Install
Download PureVPN Linux Application from here. From terminal, move to the directory where package is downloaded. Install PureVPN package using the following command sudo dpkg -i (For Debian OS) sudo rpm --ivh (For Redhat OS) At first, you must Login to your PureVPN account using the following command purevpn --login OR purevpn –li Username and Password input will be prompted at your screen. If verified, a message indicating successful login will be displayed. Note: Please use double hyphen if you're using "login" as a whole.
How to use Smart Connect
Get the fastest location for you and automatically connect to it. The command is as follows:
purevpn –connect OR purevpn -c

Note: Please use double hyphen if you’re using “connect” as a whole.

How to Connect
Connect to a specific country. Country name must be specified after connect argument. The command is as follows:
purevpn –connect “Germany” OR purevpn -c “Germany”

Country codes are also specified in the country list and can be used to create VPN connection. For example:
purevpn –connect DE OR purevpn -c DE
Note: Please use double hyphen if you’re using “connect” as a whole.

How to check Connection Status
Check your VPN connection status. Command line argument –status is used to check connection status.
purevpn –status OR purevpn -s
Note: Please use double hyphen if you’re using “status” as a whole.
How to check Connection details
Check your VPN connection details (IP Address, Country, City etc.). The command is as follows:
purevpn –info OR purevpn -i
Note: Please use double hyphen if you’re using “info” as a whole.
How to check Locations
Display list of available locations of PureVPN servers. List of countries and their respective country codes can be viewed using this option. The command is as follows:
purevpn –location OR purevpn -l

Note: Please use double hyphen if you’re using “location” as a whole.

How to Change protocols
Command line argument –protocol is used to select between Openvpn TCP and Openvpn UDP type of connection. AUTO select option is also available which finds best available protocol for your system. The command is as follows:
purevpn –protocol auto OR purevpn -p auto
purevpn –protocol tcp OR purevpn -p tcp

To simply view the selected protocol, use the same command with no arguments.
purevpn –protocol
Note: Please use double hyphen if you’re using “protocol” as a whole.

How to activate Internet Kill Switch
Activate Internet Kill Switch in case of losing internet connectivity and data leakage. The commands are as follows:
purevpn -k ON
purevpn -k OFF
How to Refresh PureVPN Configuration
Refresh PureVPN configurations, fetch system information and perform diagnostics on your VPN tunnel. The command is as follows:
purevpn –refresh OR purevpn -r
Note: Please use double hyphen if you’re using “refresh” as a whole.
How to check your Account
View your PureVPN account details (Account status, expiry etc.) using the following command:
purevpn –account purevpn -a
Note: Please use double hyphen if you’re using “account” as a whole.
How to check App version
View your Linux Application version using the following command:
purevpn –version purevpn -v
Note: Please use double hyphen if you’re using “version” as a whole.
How to refer for help
View PureVPN Linux
View PureVPN Linux Application help using the following command:
purevpn –help purevpn -h

Note: Please use double hyphen if you’re using “help” as a whole.

How to Disconnect
Disconnect VPN / stop VPN session. Command line argument –disconnect is used to disconnect from purevpn server.
purevpn –disconnect OR purevpn -d

Note: Please use double hyphen if you’re using “disconnect” as a whole.

How to Logout
To logout your PureVPN account use the following command:
purevpn –logout OR purevpn -lo
Note: Before logging-out, make sure that VPN is not connected. Also, please use double hyphen if you’re using “login” as a whole.
How to give feedback
Customer feedback is extremely valuable to us. We take your “Suggestions and Ideas” earnestly to constantly improve our features and services. Share your experience of using Linux Application with us using the following command:
purevpn –feedback purevpn -f
Note: Please use double hyphen if you’re using “feedback” as a whole.

How helpful did you find this answer?

Comments (0 )