How To Install python3-pyparted on Fedora 36

In this tutorial we learn how to install python3-pyparted in Fedora 36. python3-pyparted is Python 3 module for GNU parted

Introduction

In this tutorial we learn how to install python3-pyparted on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pyparted.

Install python3-pyparted on Fedora 36 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 Fedora 36 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 Fedora 36

To uninstall only the python3-pyparted package we can use the following command:

sudo dnf remove python3-pyparted

python3-pyparted Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/7e345bf11ac49d4cde8ded0fced2be98d1ac57
/usr/lib64/python3.10/site-packages/_ped.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/parted
/usr/lib64/python3.10/site-packages/parted/__init__.py
/usr/lib64/python3.10/site-packages/parted/__pycache__
/usr/lib64/python3.10/site-packages/parted/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/alignment.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/alignment.cpython-310.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/cachedlist.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/cachedlist.cpython-310.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/constraint.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/constraint.cpython-310.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/decorators.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/decorators.cpython-310.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/device.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/device.cpython-310.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/disk.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/disk.cpython-310.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/filesystem.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/filesystem.cpython-310.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/geometry.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/geometry.cpython-310.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/partition.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/parted/__pycache__/partition.cpython-310.pyc
/usr/lib64/python3.10/site-packages/parted/alignment.py
/usr/lib64/python3.10/site-packages/parted/cachedlist.py
/usr/lib64/python3.10/site-packages/parted/constraint.py
/usr/lib64/python3.10/site-packages/parted/decorators.py
/usr/lib64/python3.10/site-packages/parted/device.py
/usr/lib64/python3.10/site-packages/parted/disk.py
/usr/lib64/python3.10/site-packages/parted/filesystem.py
/usr/lib64/python3.10/site-packages/parted/geometry.py
/usr/lib64/python3.10/site-packages/parted/partition.py
/usr/lib64/python3.10/site-packages/pyparted-3.12.0-py3.10.egg-info
/usr/lib64/python3.10/site-packages/pyparted-3.12.0-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/pyparted-3.12.0-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/pyparted-3.12.0-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/pyparted-3.12.0-py3.10.egg-info/top_level.txt
/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).