Software

How to Download, Set Up, and Use ExpressVPN on Linux

By Novak Bozovic / September 26, 2023

You can set up ExpressVPN on Linux by downloading and installing its native app. We're talking about a command-line (CLI) application, which means you'll interact with ExpressVPN's servers on your Linux through easy-to-remember commands.

Aside from using ExpressVPN's native app for Linux, you can set up the VPN manually using Ubuntu's Network Manager or Linux's Terminal. However, you should always go for the native application for the highest level of privacy protection.

We'll also note that ExpressVPN works on Ubuntu (20.04 and above), Debian (10 and above), Fedora (37 and above), Arch (the latest rolling release), Raspberry Pi (10 and above), as well as Linux Mint (20 and above).

Lastly, know that ExpressVPN works on various Linux distributions (Maui, Mint, Kali, Lubuntu, Parrot Security, Peppermint, Ubuntu Studio, Zorin, etc.), but the VPN itself doesn't offer support for those individual distributions. The app will run just fine, though.

How to Set Up ExpressVPN on Linux

To set up ExpressVPN on Linux, you can download it from its website, or you can set up the VPN manually via Ubuntu's Network Manager or Terminal. These are the 3 options available now:

Method #1: Install ExpressVPN's Application on Ubuntu & Fedora

Using ExpressVPN's application for Ubuntu (Maui, Kali, Mint, Lubuntu, Peppermint, etc.) and Fedora (Nobara, Ultramarine, RisiOS, etc.) should be your primary route to take, especially if you want the best privacy protection. Here's what you need to do:

1. Subscribe to ExpressVPN using your computer and any Web browser.

2. After subscribing, click "My Account" using the top-placed main menu on ExpressVPN's site. Provide your credentials and access your ExpressVPN online dashboard.

Signing In to ExpressVPN Website

3. Once you access your online dashboard, click the "Set Up Other Devices" button. Then, pick "Linux" on the left. On the right, select your version of Linux and click "Download."

Setting Up Devices ExpressVPN Account Online
Tip

You can check which version of Linux you have by using Terminal and one of the following commands: "uname -m" or "arch." If you see '64,' that means you have a 64-bit distribution. Also, here are detailed steps on how to set up ExpressVPN on Rasberry Pi.

Downloading ExpressVPN on Linux

4. Once you download the installation file, launch the Terminal application and run the "cd ~/Downloads/" command (if the file is in your Downloads folder).

Downloads Command for ExpressVPN on Linux

5. To install ExpressVPN on Linux, use one of the installation commands from the table below based on the Linux distribution you use.

Linux Distribution Installation Command
Ubuntu sudo dpkg -i [installer filename]
Fedora sudo dnf install [installer filename]
Arch sudo pacman -U [installer filename]

6. Activate the application by using the "expressvpn activate" command. You'll be asked for your ExpressVPN activation code, which you can paste from your ExpressVPN dashboard.

ExpressVPN Linux Activate Command

7. When asked about anonymous data logging, go with 'Y' or 'N.' Once you do so, ExpressVPN's application will be installed, activated, and ready to be used.

8. To connect to the nearest VPN server, use the "expressvpn connect" command. 

ExpressVPN Linux Connect Command

9. To end your VPN session, go with the "expressvpn disconnect" command. 

ExpressVPN Linux Disconnect Command

10. If you’d like to connect to a specific server, input the "expressvpn list all" command. Connect using a command such as – expressvpn connect “USA – New York."

11. To check other commands you can use, go with the "man expressvpn" command. That will open ExpressVPN's manual, where you can see how else you can use the VPN.

Method #2: Set Up ExpressVPN Manually via Ubuntu Network Manager

Using Ubuntu's Network Manager (available on LUbuntu distributions like Mint, Kali, Lubuntu, and more), you can set ExpressVPN on Linux manually and use its OpenVPN protocol. To make that happen, do the following:

1. Get your ExpressVPN subscription using your computer and any Web browser.

2. After subscribing, click "My Account" on the top-placed main menu on ExpressVPN's site. Provide your username and password, and then access your ExpressVPN online dashboard.

Signing In to ExpressVPN Website

3. Navigate to Set Up Other Devices > Manual Configuration. You'll now see your OpenVPN username and password on the right-hand side.

ExpressVPN Online Dashboard View for OpenVPN Manual Configuration

4. Pick a server (under your OpenVPN credentials) and download that server's OpenVPN configuration file to your computer.

5. Using Linux, navigate to Settings > Network.

Network Settings Ubuntu

6. Click "+" in the "VPN" section and pick "Import From File." Pick the OVPN file you just downloaded and hit "Open."

Adding VPN Profile Ubuntu Network Manager
Importing OpenVPN File to Ubuntu Network Manager

7. A pop-up will now appear. Upload the corresponding OVPN files, and then you need to fill out the fields under "Authentication" in the following way:

Advanced Button Network Manager Ubuntu

8. Click "Advanced" in the bottom-right corner to access additional options. Make sure to pick the "General" tab and input the following information:

OpenVPN Advanced Options General Tab on Linux

9. Select the "Security" tab and input the following information:

OpenVPN Security Options Linux

10. Select the "TLS Authentication" tab and enter the following information:

TLS Authentication in Linux

11. Click "OK" to save the newly added parameters, and you'll return to the "Network" window. To activate your VPN connection, toggle the switch next to its name. That's it!

Connecting to VPN Connection in Ubuntu

Method #3: Set Up ExpressVPN Manually via Terminal (OpenVPN)

If you're a more advanced user, you can set up ExpressVPN via Terminal (available for Ubuntu, Debian, and Fedora distributions) using the OpenVPN protocol. These are the steps you need to take:

1. Subscribe to ExpressVPN using your computer and any Web browser.

2. Once you subscribe, select "My Account" using the top placed ExpressVPN website main menu. Provide your credentials and access your ExpressVPN online dashboard.

Signing In to ExpressVPN Website

3. Go to Set Up Other Devices > Manual Configuration. Make a note of your OpenVPN username and password on the right-hand side.

ExpressVPN Online Dashboard View for OpenVPN Manual Configuration

4. Scroll down a bit and pick a VPN server location. Then, click on the server's name and download its OpenVPN (OVPN) configuration files.

5. Proceed based on if you have a Ubuntu, Debian, or Fedora distribution of Linux.

Installation Steps to Linux Ubuntu

6. Launch Terminal and input this command: "$ sudo apt install openvpn openvpn-systemd-resolved." Provide your password and hit the Enter key.

7. Initialize OpenVPN: "$ sudo openvpn --config /[path to file]/my_expressvpn_[server location].ovpn --script-security 2 --up /etc/openvpn/update-systemd-resolved --down /etc/openvpn/update-systemd-resolved --dhcp-option 'DOMAIN-ROUTE .' --down-pre." Make sure to replace the [path to file] section.

Activating OpenVPN Linux Ubuntu

8. Provide your OpenVPN username and password. After that, your VPN session will become active, as it should say: "Initialization Sequence Completed." Leave the Terminal window active in the background to keep your VPN session active.

Linux Ubuntu VPN Final Command

Installation Steps for Linux Debian

6. Launch Terminal and input this command: "$ sudo apt install openvpn resolvconf." Provide your Linux password and press "Y" to continue.

7. Now, use this command: "$ sudo openvpn --config /[path to file]/my_expressvpn_[server location].ovpn --script-security 2 --up /etc/openvpn/update-resolv-conf --down /etc/openvpn/update-resolv-conf." Replace the [path to file] section.

Activating VPN Linux Debian

8. Once you provide your OpenVPN username and password, your OpenVPN connection will go live. It should say "Initialization Sequence Completed." That's it!

Linux Debian VPN Final Command

Installation Steps for Linux Fedora

6. Launch Terminal and input this command: "$ sudo dnf install OpenVPN."

7. You'll now need to use a series of commands to configure your DNS. Start by using the following command first: "$ sudo cp /usr/share/doc/openvpn/contrib/pull-resolv-conf/client.{up,down} /etc/openvpn/."

8. Now, input this command: "$ sudo chmod +x /etc/openvpn/client.{up,down}" followed by this: "$ sudo sed -i -e 's|bresolvconfb|ignore-&|' /etc/openvpn/client.{up,down}."

9. Launch OpenVPN using the following command: "$ sudo openvpn --config /[path to file]/my_expressvpn_[server location].ovpn --script-security 2 --up /etc/openvpn/client.up --down /etc/openvpn/client.down." Replace the [path to file] section.

10. Provide your OpenVPN username and password. Your connection will become active once you see the "Initialization Sequence Completed" message. That's it!

Final Thoughts

In this guide, we offered 3 methods to set up ExpressVPN on Linux. That said, using the VPN's CLI app should always be your first choice, as that's how you'll get the most secure VPN tunnel possible. The other methods are more complex, especially the one involving Linux's Terminal, which seems more suited for advanced users.

Also, chances are you have non-Linux devices at home. Since this VPN gives you up to 8 simultaneous connections, why not learn how to set up ExpressVPN on more devices?

FAQ

Does ExpressVPN Work on Linux?

Yes, ExpressVPN works on Linux. It comes with a native application compatible with Ubuntu, Debian, Fedora, and other Linux distributions.

How Do I Download ExpressVPN on Linux?

To download ExpressVPN on Linux, you must first sign up for the VPN. Then, access your dashboard on ExpressVPN's site (by clicking "My Account) and download the VPN app for Linux from your dashboard.

How Do I Enable ExpressVPN in Terminal?

Once you install ExpressVPN on Linux, enable it in the Terminal using the "expressvpn connect" command, which will connect you to the most recently used VPN server.

Does ExpressVPN Have OpenVPN on Linux?

Yes, ExpressVPN offers OpenVPN on Linux, as well as its own protocol - Lightway. You can choose from UDP and TCP variations, both of which are highly secure.

Does ExpressVPN Have a GUI on Linux?

No, ExpressVPN doesn't have a GUI on Linux. That means ExpressVPN is a command-line application, no matter which Linux distribution you use.

You can install ExpressVPN's Web browser extensions to get a GUI. For Chrome, use the "expressvpn install-chrome-extension" command, and for Firefox, go with "expressvpn install-firefox-extension."

Is ExpressVPN Free on Linux?

No, ExpressVPN doesn't come on Linux (or any other operating system). However, you can get ExpressVPN's 30-day risk-free trial, so you can test-drive the VPN with no limitations.

How to Connect ExpressVPN on Linux?

Once you set up ExpressVPN's application on your Linux machine, you'll need a command to connect and initialize your session. That command is - expressvpn connect.

Why Is ExpressVPN Not Connecting on Linux?

If you can't connect to ExpressVPN on your Linux, try using a different server (the one you're trying to connect to might be overcrowded or under maintenance). We also recommend trying another VPN protocol. And lastly, reinstall ExpressVPN.

That would be all on how to set up and use ExpressVPN on Linux. If you have any questions on your mind, make sure to post your comment below. Lastly, thank you for reading!



For a better user experience we recommend using a more modern browser. We support the latest version of the following browsers: For a better user experience we recommend using the latest version of the following browsers: Chrome, Edge, Firefox, Safari