How To Install sha2-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install sha2-devel
on Rocky Linux 8.
What is sha2-devel
The sha2-devel package contains libraries and header files for developing applications that use sha2.
We can use yum
or dnf
to install sha2-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install sha2-devel.
Install sha2-devel 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 sha2-devel
using dnf
by running the following command:
sudo dnf -y install sha2-devel
Install sha2-devel 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 sha2-devel
using yum
by running the following command:
sudo yum -y install sha2-devel
How To Uninstall sha2-devel on Rocky Linux 8
To uninstall only the sha2-devel
package we can use the following command:
sudo dnf remove sha2-devel
sha2-devel Package Contents on Rocky Linux 8
/usr/include/sha2.h
/usr/lib64/libsha2.so
References
Summary
In this tutorial we learn how to install sha2-devel
on Rocky Linux 8 using yum and dnf.