Return to protonvpn.com Facebook   Twitter   Reddit   Instagram   Mastodon   ProtonMail
Support Center / Download and setup / How to install a VPN on Ubuntu

How to install a VPN on Ubuntu

Our app officially supports Ubuntu 20.04 LTS.  Users of our old community Linux app are advised to uninstall it before installing the new app. Instructions for doing this can be found in the notes section at the end of this article.

1. Get the DEB setup package for the ProtonVPN repository

Download the ProtonVPN DEB package

2. Install the ProtonVPN repo

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

3. Update the apt-get package list

Open Terminal and enter the command:

sudo apt-get update

4. Install the ProtonVPN Linux app

Last step! Enter:

sudo apt-get install protonvpn

ProtonVPN is now ready to use.

Learn how to use the ProtonVPN Linux app

Notes

1. Uninstall the older community ProtonVPN app

To uninstall the older community ProtonVPN app, run:

protonvpn configure

Select option 7) Purge Configuration. Then uninstall through the package manager you used for installation. If the package is installed system-wide, use the command:

sudo pip3 uninstall protonvpn-cli

If not, then use:

pip3 uninstall protonvpn-cli

2. Disable Kill Switch if you have uninstalled the app

The Kill Switch can be easily disabled from within the official Linux app, but this will not be possible if you uninstalled the app first without disabling the Kill Switch. This may result in your system being unable to access the internet. To remove the Kill Switch after the app has been uninstalled:

a) Identify ProtonVPN connection names by running the command:

nmcli connection show --active

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

b) Look for any connections with the 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 verify that ProtonVPN connections have been deleted:

nmcli connection show --active

If any ProtonVPN connections remain, delete them as described above.

3. Required dependencies

Our Linux app needs one of the following dependencies installed in order to work. Installing both of these dependencies is not recommended as it may cause problems:

  • KWallet  or
  • Gnome-keyring

Most Ubuntu distros come with one of these dependencies pre-installed, so no additional action is needed on your part.

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.

Don't find your answer? We're happy to help you!     Contact Our Support Team

Secure your internet

Get ProtonVPN

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