Proton VPN -kotisivu

How to install the Proton VPN CLI on Fedora

Luetaan
2 min
Kategoria
Linux

Our Linux CLI (command-line utility) officially supports the latest stable Fedora version running the GNOME desktop environment. Currently, this is Fedora 44. It should also work with most distributions based on Ubuntu, but these are not officially supported.

You can install both the official Proton VPN Linux GUI app and the Linux CLI, but you can’t run them both at the same time.

This guide covers:

How to install the app

Open a terminal window and run:

#Download the package that contains the repository configuration and keys required to install the Proton VPN app.

wget "https://repo.protonvpn.com/fedora-$(cat /etc/fedora-release | cut -d' ' -f 3)-stable/protonvpn-stable-release/protonvpn-stable-release-1.0.4-1.noarch.rpm"

#Install the Proton VPN repository containing the app

sudo dnf install ./protonvpn-stable-release-1.0.4-1.noarch.rpm && sudo dnf check-update --refresh

#Install the app

sudo dnf install proton-vpn-cli

How to verify the app

As part of the install process, you’ll be asked to accept an OpenPGP key. To do this when prompted, tap y <enter>.

Note: This fingerprint is only correct for the latest version of Fedora (v. 44). If you’re using an older version of Fedora, the fingerprint will be different.

How to uninstall the app

Run:

sudo dnf remove proton-vpn-gnome-desktop protonvpn-stable-release

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

You can easily turn off the kill switch using the following command:

protonvpn config set kill-switch off

However, this isn’t possible if you’ve already uninstalled Proton VPN CLI. In this case, you can remove the kill switch and restore access to the internet as follows:

  1. Identify the Proton VPN connection name with the command:
nmcli connection show --active

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

2. 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
  1. 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.

How to use our beta Linux CLI

The beta version of our Linux app gives you access to new features before they are released publicly, but it is still in development. By using the beta version and sharing your feedback, you can help us find and address bugs. 

To do this, open a terminal window and run:

wget "https://repo.protonvpn.com/fedora-$(cat /etc/fedora-release | cut -d' ' -f 3)-unstable/protonvpn-beta-release/protonvpn-beta-release-1.0.4-1.noarch.rpm"
#Install the beta Proton VPN repository containing the app
sudo dnf install ./protonvpn-beta-release-1.0.4-1.noarch.rpm && sudo dnf check-update --refresh
sudo dnf install proton-vpn-cli

Verify the following fingerprint: 6929133BDE1CE1CFA9EDB286D84176F6844830D4 (correct for Fedora 44 only).

To uninstall the beta Linux app, run:

sudo apt purge protonvpn-beta-release

A warning about using pip and PyPI