How To Install python3-imgcreate on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-imgcreate
on Rocky Linux 8.
What is python3-imgcreate
Python 3 modules that can be used for building images for things like live image or appliances.
We can use yum
or dnf
to install python3-imgcreate
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-imgcreate.
Install python3-imgcreate 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-imgcreate
using dnf
by running the following command:
sudo dnf -y install python3-imgcreate
Install python3-imgcreate 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-imgcreate
using yum
by running the following command:
sudo yum -y install python3-imgcreate
How To Uninstall python3-imgcreate on Rocky Linux 8
To uninstall only the python3-imgcreate
package we can use the following command:
sudo dnf remove python3-imgcreate
python3-imgcreate Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/imgcreate
/usr/lib/python3.6/site-packages/imgcreate/__init__.py
/usr/lib/python3.6/site-packages/imgcreate/__pycache__
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/creator.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/creator.cpython-36.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/debug.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/debug.cpython-36.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/dnfinst.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/dnfinst.cpython-36.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/errors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/errors.cpython-36.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/fs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/fs.cpython-36.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/kickstart.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/kickstart.cpython-36.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/live.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/live.cpython-36.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/imgcreate/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/imgcreate/creator.py
/usr/lib/python3.6/site-packages/imgcreate/debug.py
/usr/lib/python3.6/site-packages/imgcreate/dnfinst.py
/usr/lib/python3.6/site-packages/imgcreate/errors.py
/usr/lib/python3.6/site-packages/imgcreate/fs.py
/usr/lib/python3.6/site-packages/imgcreate/kickstart.py
/usr/lib/python3.6/site-packages/imgcreate/live.py
/usr/lib/python3.6/site-packages/imgcreate/util.py
/usr/share/doc/python3-imgcreate
/usr/share/doc/python3-imgcreate/API
/usr/share/licenses/python3-imgcreate
/usr/share/licenses/python3-imgcreate/COPYING
References
Summary
In this tutorial we learn how to install python3-imgcreate
on Rocky Linux 8 using yum and dnf.