How To Install attr on Fedora 36
Introduction
In this tutorial we learn how to install attr
on Fedora 36.
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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install attr.
Install attr on Fedora 36 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 Fedora 36 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 Fedora 36
To uninstall only the attr
package we can use the following command:
sudo dnf remove attr
attr Package Contents on Fedora 36
/usr/bin/attr
/usr/bin/getfattr
/usr/bin/setfattr
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/e3b9cd1773dd88cb087e0aff852ac9e884fb3e
/usr/lib/.build-id/50
/usr/lib/.build-id/50/64e80b5bfd2f60fc7c000ba61d563516cf2e26
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/7ae28351a87620e27d94362bae7a02622142ed
/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).