50% OFF

End-of-year offer

View deals
Support Center / Download and setup / How to install a VPN on Ubuntu

How to install a VPN on Ubuntu

Proton VPN running on Ubuntu GNOME

Our app officially supports Ubuntu 20.04+ (LTS and non-LTS versions). It should work on most distros based on these versions of Ubuntu, but we haven’t tested them and therefore do not officially support them.

1. Download the setup package for the Proton VPN repository

This package contains the repository configuration and keys that are required to install the Proton VPN app. It is not the app itself.

Download the Proton VPN DEB package

2. Install the Proton VPN repository

Double-click the downloaded DEB package to install the repository using your default package manager.

3. Update the apt-get package list

The following command updates the list of available packages and their versions. Doing this allows you to install the Proton VPN App. Open Terminal and enter:

sudo apt-get update

4. Install the app

Final step! Enter:

sudo apt-get install protonvpn

Linux system tray icon (optional)

If you want a system tray icon that stays active when you close the main Proton VPN window and allows you to easily Quick Connect or Disconnect, open Terminal and run:

sudo apt install gnome-shell-extension-appindicator gir1.2-appindicator3-0.1

If asked to choose your default displays manager, enter the correct option. If you’re not sure which it is, use the following command to find out:

grep '/usr/s\?bin' /etc/systemd/system/display-manager.service
Show default display maanger

Restart your system and log in with your Proton account credentials. If you do not yet have an account, you can sign up for a Free Proton VPN plan.

You can now connect to the internet privately and securely using Proton VPN.

Learn how to use the Proton VPN Linux app

Notes

1. Uninstall the Proton VPN app

Use the following commands to uninstall our official app for Linux:

sudo apt-get autoremove protonvpn

Remove any leftover files:

rm -rf ~/.cache/protonvpn

And

rm -rf ~/.config/protonvpn

2. How to disable the kill switch if you have uninstalled the app

You can easily turn off the kill switch inside our Linux app, but this isn’t possible if you have already uninstalled it. In this case, you can remove the kill switch and restore access to the internet as follows:

a) Identify the Proton VPN connection name with the command:

nmcli connection show --active

This will show a list of your system’s active connections.

b) Look for any connections that begin with prefix pvpn- This usually includes pvpn-killswitch and pvpn-ipv6leak-protection, and may include pvpn-routed-killswitch. Delete all these connections using the following command:

nmcli connection delete [connection name]

For example:

nmcli connection delete pvpn-killswitch

c) Re-run the following command to check that all Proton VPN connections have been removed:

nmcli connection show --active

If you see any Proton VPN connections left, delete them as described above.

3. Required dependencies

Most distros have one of these dependencies installed, so usually no further action is needed. If neither dependency is installed on your system, you will need to install one of them for the Proton VPN app to work: 

  • KWallet
  • Gnome-keyring

Note that we do not recommend installing both of them, as conflicts may occur. 

You will also need:  

  • Systemd

(Again, this is pre-installed on most Linux distributions):

4. Try out the early release version of this app

If you wish to help Proton by finding and reporting bugs in our software, you can download the early-access version of our Linux app. Doing this gives you access to new features before they are released publicly, but you may encounter stability and other issues while using the app. 

To try out the early-access version of our Linux app, you must first uninstall the release version of the app (as described above). 

Then download the following package instead of the one linked to in step 1 of the guide above.

Download the early access version of the Proton VPN DEB package

You can then install and set up Proton VPN, as described above. If you wish to revert to using the release version of our app, uninstall the early access version first.

Warning: We do not recommend using our early access app if your threat model calls for high security or if you’re not experienced using Linux.

Post Comment

2 comments

  1. shervin

    i have this problem on sudo apt update

    Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
    Hit:2 http://archive.canonical.com/ubuntu focal InRelease
    Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
    Get:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
    Get:5 http://us.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
    Hit:6 http://us.archive.ubuntu.com/ubuntu focal-proposed InRelease
    Err:7 https://repo.protonvpn.com/debian unstable InRelease
    Could not connect to repo.protonvpn.com:443 (10.10.34.35), connection timed out
    Err:8 https://repo.protonvpn.com/debian stable InRelease
    Unable to connect to repo.protonvpn.com:https:
    Fetched 328 kB in 30s (10.8 kB/s)
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    61 packages can be upgraded. Run ‘apt list –upgradable’ to see them.
    W: Failed to fetch https://repo.protonvpn.com/debian/dists/unstable/InRelease Could not connect to repo.protonvpn.com:443 (10.10.34.35), connection timed out
    W: Failed to fetch https://repo.protonvpn.com/debian/dists/stable/InRelease Unable to connect to repo.protonvpn.com:https:
    W: Some index files failed to download. They have been ignored, or old ones used instead.

  2. Douglas Crawford

    For all technical queries, please contact our customer support team.

Comments are closed.

Secure
your internet

Get Proton VPN
Get Proton VPN

For customer support inquiries, please submit the following form for the fastest response:
Support Form

For all other inquiries:
contact@protonvpn.com


-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: OpenPGP.js v4.10.10
Comment: https://openpgpjs.org

xsBNBFiYeeIBCACpwuYcTsACyjQaqY3tOUonokamGZf3VDuLvcA9nQnu4vlB
n1RFFUJa5Pmf2yZ9EjJFSldTl5lreE3tFf53CcZ9wKa1R6aMnN/0VqURJho0
ZTqevQlCvuJ9kKHkDck3Em0/1WWnhDJgabp+fOa5HAHoAvcNy5gVPuexTT/N
wp6QcfB7w+qFhf73s0bcSn5RC+FAYlQxZVFhFtA7/7LthBVatDJrYLYP9XJd
zOZqz9AX0XZwKal25RcVeGHkNKgloo0bTgro4D88MR7saqXFHTRhy3+Wss7c
uqrh0uIkVmqtadoK/rAbqOyFXQ2DlvSMVrEMLUvwlZbC0taqcKDfNA+FABEB
AAHNLWNvbnRhY3RAcHJvdG9udnBuLmNvbSA8Y29udGFjdEBwcm90b252cG4u
Y29tPsLAfwQQAQgAKQUCWJh54wYLCQcIAwIJEN4dfnhhw11TBBUIAgoDFgIB
AhkBAhsDAh4BAAoJEN4dfnhhw11T6PwIAKgIHTUaEcCFQ5WfmwGpdhRgFe7H
gnHR8UOFPrRKnbCOQgTVPGwCFt8UVFhEgbmtroThU89DpxFSYUOD6nZ2k1X3
X4Q9OsItFUUuhPtLJrkz5ghtZLmsAH/edTRbVU1Ew1E8KbylLFI1J5yId7zR
GdnaTXv/E7P3po5X/b08TFAhXSyYYUbMeQuthbJajtpFygr53lm47cOWa4N8
udqLhmpheaQj04DuqYXOGC08JQn+XbHzhFl5Yvlt9Idk8+7c2UJ0qgWKQ5ZV
mquRAw5HDCQM5OqF1MoImDxOH+tK3PUlvFDsLZ1WPEOHK/EN12sPBx0x1R04
fcPTPdbMwgISGM3OwE0EWJh54gEIALqhrLUpv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