How To Install protonvpn-cli on Rocky Linux 8

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

Introduction

In this tutorial we learn how to install protonvpn-cli on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install protonvpn-cli.

Install protonvpn-cli on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install protonvpn-cli

Install protonvpn-cli on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install protonvpn-cli

How To Uninstall protonvpn-cli on Rocky Linux 8

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

sudo dnf remove protonvpn-cli

protonvpn-cli Package Contents on Rocky Linux 8

/usr/bin/protonvpn
/usr/lib/python3.6/site-packages/protonvpn_cli
/usr/lib/python3.6/site-packages/protonvpn_cli-2.2.4-py3.6.egg-info
/usr/lib/python3.6/site-packages/protonvpn_cli-2.2.4-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/protonvpn_cli-2.2.4-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/protonvpn_cli-2.2.4-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/protonvpn_cli-2.2.4-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/protonvpn_cli-2.2.4-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/protonvpn_cli-2.2.4-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/protonvpn_cli/__init__.py
/usr/lib/python3.6/site-packages/protonvpn_cli/__main__.py
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/cli.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/cli.cpython-36.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/connection.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/connection.cpython-36.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/constants.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/constants.cpython-36.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/country_codes.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/country_codes.cpython-36.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/logger.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/logger.cpython-36.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/protonvpn_cli/cli.py
/usr/lib/python3.6/site-packages/protonvpn_cli/connection.py
/usr/lib/python3.6/site-packages/protonvpn_cli/constants.py
/usr/lib/python3.6/site-packages/protonvpn_cli/country_codes.py
/usr/lib/python3.6/site-packages/protonvpn_cli/logger.py
/usr/lib/python3.6/site-packages/protonvpn_cli/templates
/usr/lib/python3.6/site-packages/protonvpn_cli/templates/openvpn_template.j2
/usr/lib/python3.6/site-packages/protonvpn_cli/utils.py
/usr/share/doc/protonvpn-cli
/usr/share/doc/protonvpn-cli/README.md
/usr/share/licenses/protonvpn-cli
/usr/share/licenses/protonvpn-cli/LICENSE

References

Summary

In this tutorial we learn how to install protonvpn-cli on Rocky Linux 8 using yum and dnf.