How To Install distcc on AlmaLinux 8
Introduction
In this tutorial we learn how to install distcc on AlmaLinux 8.
What is distcc
distcc is a program to distribute compilation of C or C++ code across several machines on a network. distcc should always generate the same results as a local compile, is simple to install and use, and is often two or more times faster than a local compile.
We can use yum or dnf to install distcc on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install distcc.
Install distcc 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 distcc using dnf by running the following command:
sudo dnf -y install distcc
Install distcc 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 distcc using yum by running the following command:
sudo yum -y install distcc
How To Uninstall distcc on AlmaLinux 8
To uninstall only the distcc package we can use the following command:
sudo dnf remove distcc
References
Summary
In this tutorial we learn how to install distcc on AlmaLinux 8 using yum and dnf.