How to install Mozilla VPN on a Linux computer

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

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) and newer. We also have experimental support for Debian 11 (Bullseye) and newer, as well as Linux Mint 20 (Ulyana) and newer.

If you use one of the supported Ubuntu releases, the following guide will show you how to install Mozilla VPN from the official Mozilla APT repository.

Ubuntu command line mode

To set up the APT repository and install the Mozilla VPN .deb package, follow these steps:

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

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

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:

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