How To Install libcap-ng-python3 on Fedora 36
Introduction
In this tutorial we learn how to install libcap-ng-python3
on Fedora 36.
What is libcap-ng-python3
The libcap-ng-python3 package contains the bindings so that libcap-ng and can be used by python3 applications.
We can use yum
or dnf
to install libcap-ng-python3
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libcap-ng-python3.
Install libcap-ng-python3 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 libcap-ng-python3
using dnf
by running the following command:
sudo dnf -y install libcap-ng-python3
Install libcap-ng-python3 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 libcap-ng-python3
using yum
by running the following command:
sudo yum -y install libcap-ng-python3
How To Uninstall libcap-ng-python3 on Fedora 36
To uninstall only the libcap-ng-python3
package we can use the following command:
sudo dnf remove libcap-ng-python3
libcap-ng-python3 Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/eda71fe7bb9319a0c91a456bb798cfc5cb90ea
/usr/lib64/python3.10/site-packages/__pycache__
/usr/lib64/python3.10/site-packages/__pycache__/capng.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/__pycache__/capng.cpython-310.pyc
/usr/lib64/python3.10/site-packages/_capng.so
/usr/lib64/python3.10/site-packages/capng.py
References
Summary
In this tutorial we learn how to install libcap-ng-python3
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).