How To Install wireguard-tools on AlmaLinux 8
Introduction
In this tutorial we learn how to install wireguard-tools on AlmaLinux 8.
What is wireguard-tools
WireGuard is a novel VPN that runs inside the Linux Kernel and uses state-of-the-art cryptography (the “Noise” protocol). It aims to be faster, simpler, leaner, and more useful than IPSec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. It runs over UDP. This package provides the wg binary for controlling WireGuard.
We can use yum or dnf to install wireguard-tools on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install wireguard-tools.
Install wireguard-tools on AlmaLinux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install wireguard-tools using dnf by running the following command:
sudo dnf -y install wireguard-tools
Install wireguard-tools on AlmaLinux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install wireguard-tools using yum by running the following command:
sudo yum -y install wireguard-tools
How To Uninstall wireguard-tools on AlmaLinux 8
To uninstall only the wireguard-tools package we can use the following command:
sudo dnf remove wireguard-tools
References
Summary
In this tutorial we learn how to install wireguard-tools on AlmaLinux 8 using yum and dnf.