Tee ensin ExpressVPN-tilaus käyttääksesi sovelluksiamme ja asetuksiamme.
This tutorial will show you how to set up the ExpressVPN app for Linux. ExpressVPN is compatible with these Linux operating systems:
- Ubuntu: All LTS and interim releases currently supported by Ubuntu’s standard support window.
- Debian: All releases currently supported by Debian’s Long Term Support Window.
- Fedora: All releases currently supported by Fedora.
- Arch: Latest rolling release.
- CentOS: All releases currently supported by CentOS updates.
- Raspberry Pi: All Raspberry Pi OS versions supported by Debian’s Long Term Support Window and running ARMv7 CPUs.
If you prefer to control the ExpressVPN Linux app with a graphical user interface (GUI), you can do so with the ExpressVPN browser extension for Chrome and Firefox. Install the browser extension after setting up the app.
Prefer manual setup? See the instructions for manual setup for OpenVPN (via the Terminal) and OpenVPN (via Ubuntu Network Manager).
Prefer video? You can follow along with the embedded clip or watch the video on YouTube here.
Jump to…
Download the installer
Install and activate the app
Connect to a VPN server location
Disconnect from the VPN server location
Choose a different VPN server location
Switch to a different VPN protocol
Open the app manual
Use the autocomplete feature
Use the auto-connect feature
Use the ExpressVPN browser extension
Uninstall the app
Troubleshoot your connection
Download the installer
Go to the ExpressVPN setup page. If prompted, enter your ExpressVPN credentials and click Sign In.
Enter the verification code that is sent to your email.
On the right, select your Linux operating system.
Note: You can find which Ubuntu or Fedora operating system you are running. Go to the Terminal, then enter:
uname -m
or
arch
If you see a “64” (for example, “x86_64”), you are using a 64-bit Linux distribution. In this case, you should download the 64-bit installer.
Click Download.
Select Save File. Click OK.
Keep this browser window open. You will need the activation code for the setup later.
Optional: Learn about downloading the PGP key and verifying the signature.
Need help? Contact the ExpressVPN Support Team for immediate assistance.
Install and activate the app
Install the app
Note: If you cannot install the app directly with the GUI, you can install it using the command line.
Go to your Downloads folder. Locate and right-click the installer file you downloaded earlier. Click Open with Other Application > Software Install > Select.
Click Install.
Enter your password, then click Authenticate.
The installation will start immediately.
After the installation is complete, go to the Terminal.
In the Terminal window, run this command:
expressvpn
Command line install for the app
In the Terminal window, run this command:
cd ~/Downloads/
Depending on your distribution, run one of the following commands:
Ubuntu / Debian:
sudo dpkg -i [installer filename]
Fedora / CentOS:
sudo yum install [installer filename]
or
sudo dnf install [installer filename]
Arch:
sudo pacman -U [installer filename]
Enter your user password to install the file.
For Arch, enter y to proceed with the installation.
Activate the app
Open a new Terminal. Run this command:
expressvpn activate
Paste the activation code you found earlier. Note the code won’t appear on the screen. Press Enter.
You can help improve ExpressVPN by sharing anonymized diagnostic reports. Enter Y to accept or n to decline.
If you want to opt out of sending diagnostics to ExpressVPN in the future, run this command:
expressvpn preferences set send_diagnostics false
Need help? Contact the ExpressVPN Support Team for immediate assistance.
Connect to a VPN server location
In the Terminal window, run this command:
expressvpn connect
If you are connecting for the first time, ExpressVPN will use the Smart Location feature to select a server location, which is recommended to you based on factors such as speed and proximity.
If this is not your first time connecting, ExpressVPN will connect to the server location you were most recently connected to.
Once you are successfully connected, you will see the “Connected to…” message in green.
By default, you will see a notification indicating that ExpressVPN is connected.
Note: A single ExpressVPN subscription can be used simultaneously on five devices, regardless of platform. If you try to use more than five devices simultaneously with one subscription, you will see the screen below:
Need help? Contact the ExpressVPN Support Team for immediate assistance.
Disconnect from the VPN server location
To disconnect from a server location, run this command:
expressvpn disconnect
ExpressVPN will disconnect from the server it is connected to.
By default, you will see a message indicating that ExpressVPN is disconnected.
Need help? Contact the ExpressVPN Support Team for immediate assistance.
Connect to a different VPN server location
To find a list of recommended locations to connect to, enter the following command in the terminal:
expressvpn list
By default, ExpressVPN will suggest the location that provides the most optimal experience for you, called Smart Location, at the top of the list.
To see a list of all available locations, enter:
expressvpn list all
Connect to a specific VPN server location
To connect to a specific server location, enter:
expressvpn connect [LOCATION]
or
expressvpn connect [ALIAS]
For example, to connect to USA – New York, enter:
expressvpn connect "USA - New York"
or
expressvpn connect usny
Connect to the Smart Location
To connect to the Smart Location:
expressvpn connect smart
Need help? Contact the ExpressVPN Support Team for immediate assistance.
Switch to a different VPN protocol
VPN protocols are the methods by which your device connects to a VPN server. Switching to a different protocol can give you faster connection speeds.
The ExpressVPN Linux client uses the Lightway and OpenVPN protocols. With Lightway and OpenVPN, you can choose between the TCP and UDP protocols. By default, ExpressVPN will automatically pick the optimal protocol for you.
To switch to Lightway – TCP, run the following command:
expressvpn protocol lightway_tcp
To switch to Lightway – UDP, run the following command:
expressvpn protocol lightway_udp
To switch to OpenVPN – TCP, run the following command:
expressvpn protocol tcp
To switch to OpenVPN – UDP, run the following command:
expressvpn protocol udp
If you want ExpressVPN to automatically select the optimal protocol, run this command:
expressvpn protocol auto
Need help? Contact the ExpressVPN Support Team for immediate assistance.
Open the app manual
To view a full list of the app’s functions, run this command:
man expressvpn
Different commands will be listed there.
Need help? Contact the ExpressVPN Support Team for immediate assistance.
Use the autocomplete feature
After you type a command, hit the tab key twice to see a list of all available options.
For example, typing
expressvpn protocol
and hitting the tab key twice will list all the available protocols.
Need help? Contact the ExpressVPN Support Team for immediate assistance.
Use the auto-connect feature
You can set the ExpressVPN app to automatically connect to your last connected location on start-up by entering:
expressvpn autoconnect true
You will see the Auto-connect is enabled message.
If this is your first time connecting, ExpressVPN will connect using Smart Location.
To disable this function, run this command:
expressvpn autoconnect false
Need help? Contact the ExpressVPN Support Team for immediate assistance.
Use the ExpressVPN browser extension
If you prefer to control the ExpressVPN Linux app with a graphical user interface (GUI), you can do so with the ExpressVPN browser extension for Chrome and Firefox.
Note: To use the browser extension, make sure to download and activate the ExpressVPN Linux app (Version 2.0 or newer).
To get the ExpressVPN browser extension, run one of the following commands:
expressvpn install-firefox-extension
expressvpn install-chrome-extension
This will open the page for downloading the ExpressVPN browser extension. Click Get Extension.
Learn more about the ExpressVPN browser extension here.
For users who installed their browser from the Ubuntu Software Center
If you installed your web browser from the Ubuntu Software Center, you may find that the ExpressVPN browser extension is unable to communicate with the ExpressVPN Linux app. To resolve this issue:
- Back up your browser settings and bookmarks.
- Go to the Ubuntu Software Center and uninstall your browser.
- Open the Terminal.
- Enter
$ sudo apt update
- Depending on your browser, enter
$ sudo apt install chromium-browser
or$ sudo apt install firefox
- Open your browser by entering
$ chromium-browser
or$ firefox
- Get the ExpressVPN browser extension by entering
expressvpn install-firefox-extension
orexpressvpn install-chrome-extension
Need help? Contact the ExpressVPN Support Team for immediate assistance.
Uninstall the app
To uninstall the ExpressVPN app, run this command:
For Ubuntu: sudo dpkg -r expressvpn
For Fedora: sudo yum remove expressvpn
Need help? Contact the ExpressVPN Support Team for immediate assistance.
Troubleshoot your connection
If you are experiencing issues with your app, follow these troubleshooting steps:
- Download the latest version of the ExpressVPN app for Linux.
- Connect to a different VPN server location.
- Change your VPN protocol.
- Reboot your computer and relaunch the ExpressVPN app for Linux.
Need help? Contact the ExpressVPN Support Team for immediate assistance.