How To Install libattr-devel on AlmaLinux 8
Introduction
In this tutorial we learn how to install libattr-devel
on AlmaLinux 8.
What is libattr-devel
This package contains header files and documentation needed to develop programs which make use of extended attributes. For Linux programs, the documented system call API is the recommended interface, but an SGI IRIX compatibility interface is also provided. Currently only ext2, ext3 and XFS support extended attributes. The SGI IRIX compatibility API built above the Linux system calls is used by programs such as xfsdump(8), xfsrestore(8) and xfs_fsr(8). You should install libattr-devel if you want to develop programs which make use of extended attributes. If you install libattr-devel, you’ll also want to install attr.
We can use yum
or dnf
to install libattr-devel
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libattr-devel.
Install libattr-devel 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 libattr-devel
using dnf
by running the following command:
sudo dnf -y install libattr-devel
Install libattr-devel 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 libattr-devel
using yum
by running the following command:
sudo yum -y install libattr-devel
How To Uninstall libattr-devel on AlmaLinux 8
To uninstall only the libattr-devel
package we can use the following command:
sudo dnf remove libattr-devel
References
Summary
In this tutorial we learn how to install libattr-devel
on AlmaLinux 8 using yum and dnf.