How To Install python3-btrfs on Fedora 36
Introduction
In this tutorial we learn how to install python3-btrfs
on Fedora 36.
What is python3-btrfs
The primary goal of this module is to be able to inspect the internals of an existing filesystem for educational purposes. The python module acts as a wrapper around the low level kernel calls and btrfs data structures, presenting them as python objects with interesting attributes and references to other objects.
We can use yum
or dnf
to install python3-btrfs
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-btrfs.
Install python3-btrfs 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-btrfs
using dnf
by running the following command:
sudo dnf -y install python3-btrfs
Install python3-btrfs 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-btrfs
using yum
by running the following command:
sudo yum -y install python3-btrfs
How To Uninstall python3-btrfs on Fedora 36
To uninstall only the python3-btrfs
package we can use the following command:
sudo dnf remove python3-btrfs
python3-btrfs Package Contents on Fedora 36
/usr/bin/btrfs-balance-least-used
/usr/bin/btrfs-orphan-cleaner-progress
/usr/bin/btrfs-search-metadata
/usr/bin/btrfs-space-calculator
/usr/bin/btrfs-usage-report
/usr/lib/python3.10/site-packages/btrfs
/usr/lib/python3.10/site-packages/btrfs-13-py3.10.egg-info
/usr/lib/python3.10/site-packages/btrfs/__init__.py
/usr/lib/python3.10/site-packages/btrfs/__pycache__
/usr/lib/python3.10/site-packages/btrfs/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/crc32c.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/crc32c.cpython-310.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/ctree.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/ctree.cpython-310.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/free_space_tree.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/free_space_tree.cpython-310.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/fs_usage.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/fs_usage.cpython-310.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/ioctl.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/ioctl.cpython-310.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/version.cpython-310.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/volumes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/btrfs/__pycache__/volumes.cpython-310.pyc
/usr/lib/python3.10/site-packages/btrfs/crc32c.py
/usr/lib/python3.10/site-packages/btrfs/ctree.py
/usr/lib/python3.10/site-packages/btrfs/free_space_tree.py
/usr/lib/python3.10/site-packages/btrfs/fs_usage.py
/usr/lib/python3.10/site-packages/btrfs/ioctl.py
/usr/lib/python3.10/site-packages/btrfs/utils.py
/usr/lib/python3.10/site-packages/btrfs/version.py
/usr/lib/python3.10/site-packages/btrfs/volumes.py
/usr/share/licenses/python3-btrfs
/usr/share/licenses/python3-btrfs/COPYING.LESSER
/usr/share/man/man1/btrfs-balance-least-used.1.gz
/usr/share/man/man1/btrfs-orphan-cleaner-progress.1.gz
/usr/share/man/man1/btrfs-search-metadata.1.gz
/usr/share/man/man1/btrfs-space-calculator.1.gz
/usr/share/man/man1/btrfs-usage-report.1.gz
References
Summary
In this tutorial we learn how to install python3-btrfs
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).