How To Install python-btrfs-doc on Fedora 36

In this tutorial we learn how to install python-btrfs-doc in Fedora 36. python-btrfs-doc is Python module to inspect btrfs filesystems

Introduction

In this tutorial we learn how to install python-btrfs-doc on Fedora 36.

What is python-btrfs-doc

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

Install python-btrfs-doc 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 python-btrfs-doc using dnf by running the following command:

sudo dnf -y install python-btrfs-doc

Install python-btrfs-doc 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 python-btrfs-doc using yum by running the following command:

sudo yum -y install python-btrfs-doc

How To Uninstall python-btrfs-doc on Fedora 36

To uninstall only the python-btrfs-doc package we can use the following command:

sudo dnf remove python-btrfs-doc

python-btrfs-doc Package Contents on Fedora 36

/usr/share/doc/python-btrfs-doc
/usr/share/doc/python-btrfs-doc/CHANGES
/usr/share/doc/python-btrfs-doc/README.md
/usr/share/doc/python-btrfs-doc/examples
/usr/share/doc/python-btrfs-doc/examples/README.txt
/usr/share/doc/python-btrfs-doc/examples/btrfs-fi-df-simple.py
/usr/share/doc/python-btrfs-doc/examples/btrfs-fi-df.py
/usr/share/doc/python-btrfs-doc/examples/dir_item_name_hash.py
/usr/share/doc/python-btrfs-doc/examples/file_dedupe_range.py
/usr/share/doc/python-btrfs-doc/examples/fs_info.py
/usr/share/doc/python-btrfs-doc/examples/inode_extref_hash.py
/usr/share/doc/python-btrfs-doc/examples/munin
/usr/share/doc/python-btrfs-doc/examples/munin/plugin-conf.d
/usr/share/doc/python-btrfs-doc/examples/munin/plugin-conf.d/btrfs_usage
/usr/share/doc/python-btrfs-doc/examples/munin/plugins
/usr/share/doc/python-btrfs-doc/examples/munin/plugins/btrfs_usage
/usr/share/doc/python-btrfs-doc/examples/nagios
/usr/share/doc/python-btrfs-doc/examples/nagios/plugins
/usr/share/doc/python-btrfs-doc/examples/nagios/plugins/check_btrfs
/usr/share/doc/python-btrfs-doc/examples/set_received_uuid.py
/usr/share/doc/python-btrfs-doc/examples/show_block_group_data_extent_filenames.py
/usr/share/doc/python-btrfs-doc/examples/show_default_subvolid.py
/usr/share/doc/python-btrfs-doc/examples/show_file_csum.py
/usr/share/doc/python-btrfs-doc/examples/show_free_space_fragmentation.py
/usr/share/doc/python-btrfs-doc/examples/show_metadata_tree_sizes.py
/usr/share/doc/python-btrfs-doc/examples/show_orphaned_subvols.py
/usr/share/doc/python-btrfs-doc/examples/show_subvolumes.py
/usr/share/doc/python-btrfs-doc/html
/usr/share/doc/python-btrfs-doc/html/_modules
/usr/share/doc/python-btrfs-doc/html/_modules/btrfs
/usr/share/doc/python-btrfs-doc/html/_modules/btrfs/crc32c.html
/usr/share/doc/python-btrfs-doc/html/_modules/btrfs/ctree.html
/usr/share/doc/python-btrfs-doc/html/_modules/btrfs/free_space_tree.html
/usr/share/doc/python-btrfs-doc/html/_modules/btrfs/fs_usage.html
/usr/share/doc/python-btrfs-doc/html/_modules/btrfs/ioctl.html
/usr/share/doc/python-btrfs-doc/html/_modules/btrfs/utils.html
/usr/share/doc/python-btrfs-doc/html/_modules/btrfs/volumes.html
/usr/share/doc/python-btrfs-doc/html/_modules/index.html
/usr/share/doc/python-btrfs-doc/html/_sources
/usr/share/doc/python-btrfs-doc/html/_sources/btrfs.rst.txt
/usr/share/doc/python-btrfs-doc/html/_sources/index.rst.txt
/usr/share/doc/python-btrfs-doc/html/_sources/modules.rst.txt
/usr/share/doc/python-btrfs-doc/html/_static
/usr/share/doc/python-btrfs-doc/html/_static/basic.css
/usr/share/doc/python-btrfs-doc/html/_static/doctools.js
/usr/share/doc/python-btrfs-doc/html/_static/documentation_options.js
/usr/share/doc/python-btrfs-doc/html/_static/file.png
/usr/share/doc/python-btrfs-doc/html/_static/jquery-3.5.1.js
/usr/share/doc/python-btrfs-doc/html/_static/jquery.js
/usr/share/doc/python-btrfs-doc/html/_static/language_data.js
/usr/share/doc/python-btrfs-doc/html/_static/minus.png
/usr/share/doc/python-btrfs-doc/html/_static/plus.png
/usr/share/doc/python-btrfs-doc/html/_static/pygments.css
/usr/share/doc/python-btrfs-doc/html/_static/readable.css
/usr/share/doc/python-btrfs-doc/html/_static/searchtools.js
/usr/share/doc/python-btrfs-doc/html/_static/underscore-1.13.1.js
/usr/share/doc/python-btrfs-doc/html/_static/underscore.js
/usr/share/doc/python-btrfs-doc/html/btrfs.html
/usr/share/doc/python-btrfs-doc/html/genindex.html
/usr/share/doc/python-btrfs-doc/html/index.html
/usr/share/doc/python-btrfs-doc/html/modules.html
/usr/share/doc/python-btrfs-doc/html/objects.inv
/usr/share/doc/python-btrfs-doc/html/py-modindex.html
/usr/share/doc/python-btrfs-doc/html/search.html
/usr/share/doc/python-btrfs-doc/html/searchindex.js
/usr/share/doc/python-btrfs-doc/text
/usr/share/doc/python-btrfs-doc/text/btrfs.txt
/usr/share/doc/python-btrfs-doc/text/index.txt
/usr/share/doc/python-btrfs-doc/text/modules.txt
/usr/share/licenses/python-btrfs-doc
/usr/share/licenses/python-btrfs-doc/COPYING.LESSER

References

Summary

In this tutorial we learn how to install python-btrfs-doc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).