How to install Mozilla VPN on a Linux computer

Mozilla VPN Mozilla VPN Last updated: 3 weeks, 1 day ago 65% of users voted this helpful

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:

  • 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

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 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


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

Learn More