How To Install attr on Rocky Linux 8
Introduction
In this tutorial we learn how to install attr
on Rocky Linux 8.
What is attr
A set of tools for manipulating extended attributes on filesystem objects, in particular getfattr(1) and setfattr(1). An attr(1) command is also provided which is largely compatible with the SGI IRIX tool of the same name.
We can use yum
or dnf
to install attr
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install attr.
Install attr 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 attr
using dnf
by running the following command:
sudo dnf -y install attr
Install attr 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 attr
using yum
by running the following command:
sudo yum -y install attr
How To Uninstall attr on Rocky Linux 8
To uninstall only the attr
package we can use the following command:
sudo dnf remove attr
attr Package Contents on Rocky Linux 8
/usr/bin/attr
/usr/bin/getfattr
/usr/bin/setfattr
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/a192ad70ec1c9949080566c121cb6888370a00
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/3f87dfc9e9f832337876571a3182119a23c9f6
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/ad2a0f9c0e086212914f0153f3b64653d497e9
/usr/share/doc/attr
/usr/share/doc/attr/CHANGES
/usr/share/licenses/attr
/usr/share/licenses/attr/COPYING
/usr/share/licenses/attr/COPYING.LGPL
/usr/share/locale/cs/LC_MESSAGES/attr.mo
/usr/share/locale/de/LC_MESSAGES/attr.mo
/usr/share/locale/en@boldquot/LC_MESSAGES/attr.mo
/usr/share/locale/en@quot/LC_MESSAGES/attr.mo
/usr/share/locale/es/LC_MESSAGES/attr.mo
/usr/share/locale/fr/LC_MESSAGES/attr.mo
/usr/share/locale/gl/LC_MESSAGES/attr.mo
/usr/share/locale/nl/LC_MESSAGES/attr.mo
/usr/share/locale/pl/LC_MESSAGES/attr.mo
/usr/share/locale/sv/LC_MESSAGES/attr.mo
/usr/share/man/man1/attr.1.gz
/usr/share/man/man1/getfattr.1.gz
/usr/share/man/man1/setfattr.1.gz
References
Summary
In this tutorial we learn how to install attr
on Rocky Linux 8 using yum and dnf.