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.

Please don’t try  to check the GPG signature of this release package (dpkg-sig –verify). Our internal release process is split into several part and the release package is signed with a GPG key, and the repo is signed with another GPG key. So the keys don’t match.

If you want to check the repo package integrity, you can check its checksum with the following command:

echo "c68a0b8dad58ab75080eed7cb989e5634fc88fca051703139c025352a6ee19ad  protonvpn-stable-release_1.0.3-2_all.deb" | sha256sum --check -

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


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


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.

Instructions for the setup and use are otherwise identical to those for the release version of our app. To check the integrity of the package, use the following command:

echo "74b37593b4e9d49842c11cd921635eb29e0a190ab16f56c53d3f41f9e1bc5707  protonvpn-beta-release_1.0.3-2_all.deb" | sha256sum --check -

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


  1. shervin

    i have this problem on sudo apt update

    Hit:1 focal InRelease
    Hit:2 focal InRelease
    Get:3 focal-updates InRelease [114 kB]
    Get:4 focal-backports InRelease [101 kB]
    Get:5 focal-security InRelease [114 kB]
    Hit:6 focal-proposed InRelease
    Err:7 unstable InRelease
    Could not connect to (, connection timed out
    Err:8 stable InRelease
    Unable to connect to
    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 Could not connect to (, connection timed out
    W: Failed to fetch Unable to connect to
    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.

your internet

Get Proton VPN
Get Proton VPN

Contact us

Support form

Tell us about the problem and we'll get back to you as soon as we can.

Open support form

Live chat

Get help from a support agent in real time. Available with a paid VPN subscription.

Chat with us

Secure email

Send us an encrypted message at It may take us longer to respond.

Email us