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 20.04 LTS (Focal Fossa)
  • Ubuntu 22.04 LTS (Jammy Jellyfish)
  • Ubuntu 23.10 (Mantic Minotaur)
  • Ubuntu 24.04 LTS (Noble Numbat)

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 set up the APT repository and install the Mozilla VPN .deb package, follow these steps:

Install commands:

  1. Create a directory to store APT repository keys if it doesn't exist:
    sudo install -d -m 0755 /etc/apt/keyrings
  2. Import the Mozilla APT repository signing key:
    wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null
  3. Verify that the fingerprint is 35BAA0B33E9EB396F59CA838C0BA5CE6DC6315A3:
    gpg -n -q --import --import-options import-show /etc/apt/keyrings/packages.mozilla.org.asc | awk '/pub/{getline; gsub(/^ +| +$/,""); print "\n"$0"\n"}'
  4. Add the Mozilla APT repository to your sources list:
    echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" | sudo tee -a /etc/apt/sources.list.d/mozilla.list > /dev/null
  5. Update your package list and install the Mozilla VPN .deb package:
    sudo apt-get update && sudo apt-get install mozillavpn

If the final step fails, it may be necessary to install resolvconf, which can also be done using apt: sudo apt-get install resolvconf mozillavpn Lastly, to run the Mozilla VPN client, just run: mozillavpn

After the Mozilla VPN client launches, click Get Started and sign in with your Mozilla account credentialss. If you don’t have a subscription, visit the Mozilla VPN website and choose the plan that is right for you.

VPN install

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