How To Install python3-kmod on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-kmod
on Rocky Linux 8.
What is python3-kmod
Python module to allow listing, loading, and unloading Linux kernel modules, using libkmod.
We can use yum
or dnf
to install python3-kmod
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-kmod.
Install python3-kmod 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 python3-kmod
using dnf
by running the following command:
sudo dnf -y install python3-kmod
Install python3-kmod 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 python3-kmod
using yum
by running the following command:
sudo yum -y install python3-kmod
How To Uninstall python3-kmod on Rocky Linux 8
To uninstall only the python3-kmod
package we can use the following command:
sudo dnf remove python3-kmod
python3-kmod Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/576c2c791b91ae6d969d4fe1e3fd715bbd9cc3
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/3025023e481de0f5fc86bce860a949c1bd1bbd
/usr/lib/.build-id/65
/usr/lib/.build-id/65/fc2a15605f77d3fce2ceacda69fdb9069551fb
/usr/lib/.build-id/72
/usr/lib/.build-id/72/8da650ef096ad087c60686f305b0b0ea8148e2
/usr/lib64/python3.6/site-packages/kmod
/usr/lib64/python3.6/site-packages/kmod-0.1-py3.6.egg-info
/usr/lib64/python3.6/site-packages/kmod/__init__.py
/usr/lib64/python3.6/site-packages/kmod/__pycache__
/usr/lib64/python3.6/site-packages/kmod/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/kmod/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/kmod/__pycache__/error.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/kmod/__pycache__/error.cpython-36.pyc
/usr/lib64/python3.6/site-packages/kmod/__pycache__/version.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/kmod/__pycache__/version.cpython-36.pyc
/usr/lib64/python3.6/site-packages/kmod/_util.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/kmod/error.py
/usr/lib64/python3.6/site-packages/kmod/kmod.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/kmod/list.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/kmod/module.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/kmod/version.py
/usr/share/doc/python3-kmod
/usr/share/doc/python3-kmod/README
/usr/share/licenses/python3-kmod
/usr/share/licenses/python3-kmod/COPYING.LESSER
References
Summary
In this tutorial we learn how to install python3-kmod
on Rocky Linux 8 using yum and dnf.