How To Install flex-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install flex-devel on Rocky Linux 8.
What is flex-devel
This package contains the library with default implementations of
main' andyywrap’ functions that the client binary can choose to use instead of implementing their own.
We can use yum or dnf to install flex-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install flex-devel.
Install flex-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 flex-devel using dnf by running the following command:
sudo dnf -y install flex-devel
Install flex-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 flex-devel using yum by running the following command:
sudo yum -y install flex-devel
How To Uninstall flex-devel on Rocky Linux 8
To uninstall only the flex-devel package we can use the following command:
sudo dnf remove flex-devel
flex-devel Package Contents on Rocky Linux 8
/usr/lib/libfl.a
/usr/lib/libfl_pic.a
/usr/lib/libl.a
/usr/share/doc/flex
/usr/share/licenses/flex-devel
/usr/share/licenses/flex-devel/COPYING
/usr/lib64/libfl.a
/usr/lib64/libfl_pic.a
/usr/lib64/libl.a
/usr/share/doc/flex
/usr/share/licenses/flex-devel
/usr/share/licenses/flex-devel/COPYING
References
Summary
In this tutorial we learn how to install flex-devel on Rocky Linux 8 using yum and dnf.