How To Install protonvpn-cli on CentOS 7

In this tutorial we learn how to install protonvpn-cli on CentOS 7. protonvpn-cli is Linux command-line client for ProtonVPN written in Python

Introduction

In this tutorial we learn how to install protonvpn-cli on CentOS 7.

What is protonvpn-cli

The official Linux CLI for ProtonVPN. ProtonVPN-CLI is a full rewrite of the bash protonvpn-cli in Python, which adds more features and functionality with the purpose of improving readability, speed and reliability. ProtonVPN-CLI features a DNS Leak Protection feature, which makes sure that your online traffic uses ProtonVPN’s DNS Servers. This prevents third parties (like your ISP) from being able to see your DNS queries (and, therefore, your browsing history).

We can use yum or dnf to install protonvpn-cli on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install protonvpn-cli.

Install protonvpn-cli on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install protonvpn-cli using yum by running the following command:

sudo yum -y install protonvpn-cli

Install protonvpn-cli on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install protonvpn-cli using dnf by running the following command:

sudo dnf -y install protonvpn-cli

How To Uninstall protonvpn-cli on CentOS 7

To uninstall only the protonvpn-cli package we can use the following command:

sudo dnf remove protonvpn-cli

References

Summary

In this tutorial we learn how to install protonvpn-cli on CentOS 7 using yum and dnf.