How To Install nfacct on Fedora 36
Introduction
In this tutorial we learn how to install nfacct on Fedora 36.
What is nfacct
Nfacct is the command line tool to create/retrieve/delete accounting objects.
We can use yum or dnf to install nfacct on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nfacct.
Install nfacct 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 nfacct using dnf by running the following command:
sudo dnf -y install nfacct
Install nfacct 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 nfacct using yum by running the following command:
sudo yum -y install nfacct
How To Uninstall nfacct on Fedora 36
To uninstall only the nfacct package we can use the following command:
sudo dnf remove nfacct
nfacct Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/f6874520298317e2c0134427d6dab5d8f55d4f
/usr/sbin/nfacct
/usr/share/doc/nfacct
/usr/share/doc/nfacct/COPYING
/usr/share/man/man8/nfacct.8.gz
References
Summary
In this tutorial we learn how to install nfacct on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).