How To Install python3-libnbd on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-libnbd
on Rocky Linux 8.
What is python3-libnbd
python3-libnbd contains Python 3 bindings for libnbd.
We can use yum
or dnf
to install python3-libnbd
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-libnbd.
Install python3-libnbd 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-libnbd
using dnf
by running the following command:
sudo dnf -y install python3-libnbd
Install python3-libnbd 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-libnbd
using yum
by running the following command:
sudo yum -y install python3-libnbd
How To Uninstall python3-libnbd on Rocky Linux 8
To uninstall only the python3-libnbd
package we can use the following command:
sudo dnf remove python3-libnbd
python3-libnbd Package Contents on Rocky Linux 8
/usr/bin/nbdsh
/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/c386dd67b577162f4756d348ca15f1128fdd69
/usr/lib64/python3.6/site-packages/__pycache__/nbd.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/nbd.cpython-36.pyc
/usr/lib64/python3.6/site-packages/__pycache__/nbdsh.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/nbdsh.cpython-36.pyc
/usr/lib64/python3.6/site-packages/libnbdmod.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/nbd.py
/usr/lib64/python3.6/site-packages/nbdsh.py
/usr/share/man/man1/nbdsh.1.gz
References
Summary
In this tutorial we learn how to install python3-libnbd
on Rocky Linux 8 using yum and dnf.