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