How to install Mozilla VPN on a Linux computer

Download and install Mozilla VPN to connect to the internet through one of our secure servers, keeping your location and online activity private and throwing off data collectors.

Your subscription allows you to run Mozilla VPN on up to five devices at the same time. If Mozilla VPN is installed on multiple profiles on one device, each profile will count as a device. To learn more, visit Are there limits to my Mozilla VPN connection?
Note: Mozilla VPN is available for:
  • Ubuntu 18.04 LTS (Bionic Beaver)
  • Ubuntu 20.04 LTS (Focal Fossa)
  • Ubuntu 22.04 LTS (Jammy Jellyfish)

Download

  1. Visit https://www.mozilla.org/products/vpn/download/
  2. Under VPN for Linux, click Download.
    VPN download Linux
    Tip: On Firefox and most web browsers, you can locate recently downloaded files by clicking the downloads icon in the right of the navigation bar.

Install

Ubuntu

If you use one of the supported Ubuntu releases, there are two ways to install mozillavpn official packages hosted on launchpad:

Ubuntu command line mode

To install Mozilla VPN using command line mode tools, open the terminal and run the following commands.

Install commands:

  • sudo add-apt-repository ppa:mozillacorp/mozillavpn
  • sudo apt-get update
  • sudo apt-get install mozillavpn


It may be necessary to install resolvconf if the final command fails, which can also be done using apt:

  • sudo apt-get install resolvconf mozillavpn


Run command:

  • mozillavpn

Mozilla VPN will launch. Click Get Started and sign in with your Firefox Account credentials. If you don’t have a subscription, visit the Mozilla VPN website and choose the plan that is right for you.

VPN get started

All set! The Mozilla VPN installation is completed. Check How do I turn on Mozilla VPN? and How do I choose my server on Mozilla VPN? for next steps.

Ubuntu graphical user interface

Follow the instructions from the Adding personal package archives section from this article.

Other Linux distributions

So far, we do not offer packages for any other Linux distributions. But if you want to use Mozilla VPN, you can take and compile the source code from the official GitHub repository.

The README.md contains all the steps to compile the project.

We offer limited support for other Linux distributions. Users on unsupported Linux distributions are welcome to report bugs on Github.

Related articles

Learn more:

Was this article helpful?

Please wait...

These fine people helped write this article:

Illustration of hands

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More