How to install Mozilla VPN on a Linux computer

Mozilla VPN Mozilla VPN Last updated: 19 hours ago
No one has helped translate this article yet. If you already know how localizing for SUMO works, start translating now. If you want to learn how to translate articles for SUMO, please start here.

You can use Mozilla VPN on up to five devices simultaneously. Keep in mind that if you install Mozilla VPN on multiple user profiles on the same device, each profile counts as a separate device. Learn more here: Are there limits to my Mozilla VPN connection?

Installation Options for Linux

Mozilla VPN can also be installed using apt-get from Mozilla’s official APT repository. This method is supported on:

  • Ubuntu 22.04 LTS (Jammy Jellyfish) and newer.
  • Linux Mint 20 (Ulyana) and newer.
  • Debian 11 (Bullseye) and newer (experimental support).

If you're using a supported Ubuntu-based system, follow the step-by-step guide on the support page to install Mozilla VPN using APT.

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(/^ +| +$/,""); if($0 == "35BAA0B33E9EB396F59CA838C0BA5CE6DC6315A3") print "\nThe key fingerprint matches ("$0").\n"; else print "\nVerification failed: the fingerprint ("$0") does not match the expected one.\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.

Mozilla VPN is available as a Flatpak through Flathub. Flatpak is supported by many popular Linux distributions, including: Ubuntu, Fedora, openSUSE, elementary OS, Manjaro, and more. See the full list of supported distributions.

Other Linux distributions

If you want to use Mozilla VPN and the above solutions don’t work for you, you can take and compile the source code from the official GitHub repository. The README.md contains all the steps to compile the project.

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