How To Install python3-pyparted on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-pyparted
on Rocky Linux 8.
What is python3-pyparted
Python module for the parted library. It is used for manipulating partition tables. This package provides Python 3 bindings for parted.
We can use yum
or dnf
to install python3-pyparted
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pyparted.
Install python3-pyparted 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-pyparted
using dnf
by running the following command:
sudo dnf -y install python3-pyparted
Install python3-pyparted 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-pyparted
using yum
by running the following command:
sudo yum -y install python3-pyparted
How To Uninstall python3-pyparted on Rocky Linux 8
To uninstall only the python3-pyparted
package we can use the following command:
sudo dnf remove python3-pyparted
python3-pyparted Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/671560a643d1c86f9d96297ed3122b89afcd13
/usr/lib64/python3.6/site-packages/_ped.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/parted
/usr/lib64/python3.6/site-packages/parted/__init__.py
/usr/lib64/python3.6/site-packages/parted/__pycache__
/usr/lib64/python3.6/site-packages/parted/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/alignment.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/alignment.cpython-36.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/cachedlist.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/cachedlist.cpython-36.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/constraint.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/constraint.cpython-36.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/decorators.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/decorators.cpython-36.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/device.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/device.cpython-36.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/disk.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/disk.cpython-36.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/filesystem.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/filesystem.cpython-36.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/geometry.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/geometry.cpython-36.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/partition.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/parted/__pycache__/partition.cpython-36.pyc
/usr/lib64/python3.6/site-packages/parted/alignment.py
/usr/lib64/python3.6/site-packages/parted/cachedlist.py
/usr/lib64/python3.6/site-packages/parted/constraint.py
/usr/lib64/python3.6/site-packages/parted/decorators.py
/usr/lib64/python3.6/site-packages/parted/device.py
/usr/lib64/python3.6/site-packages/parted/disk.py
/usr/lib64/python3.6/site-packages/parted/filesystem.py
/usr/lib64/python3.6/site-packages/parted/geometry.py
/usr/lib64/python3.6/site-packages/parted/partition.py
/usr/lib64/python3.6/site-packages/pyparted-3.11.0-py3.6.egg-info
/usr/share/doc/python3-pyparted
/usr/share/doc/python3-pyparted/AUTHORS
/usr/share/doc/python3-pyparted/COPYING
/usr/share/doc/python3-pyparted/NEWS
/usr/share/doc/python3-pyparted/README
/usr/share/doc/python3-pyparted/TODO
References
Summary
In this tutorial we learn how to install python3-pyparted
on Rocky Linux 8 using yum and dnf.