How To Install python3-btrfsutil on Fedora 36
Introduction
In this tutorial we learn how to install python3-btrfsutil
on Fedora 36.
What is python3-btrfsutil
python3-btrfsutil contains Python 3 bindings to the libbtrfsutil library, which can be used for btrfs filesystem-specific programs in Python. You should install python3-btrfsutil if you want to use or develop btrfs filesystem-specific programs in Python.
We can use yum
or dnf
to install python3-btrfsutil
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-btrfsutil.
Install python3-btrfsutil 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-btrfsutil
using dnf
by running the following command:
sudo dnf -y install python3-btrfsutil
Install python3-btrfsutil 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-btrfsutil
using yum
by running the following command:
sudo yum -y install python3-btrfsutil
How To Uninstall python3-btrfsutil on Fedora 36
To uninstall only the python3-btrfsutil
package we can use the following command:
sudo dnf remove python3-btrfsutil
python3-btrfsutil Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/80d40efdbab65b5ba3445501443d4984662f44
/usr/lib64/python3.10/site-packages/btrfsutil-5.16.2-py3.10.egg-info
/usr/lib64/python3.10/site-packages/btrfsutil-5.16.2-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/btrfsutil-5.16.2-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/btrfsutil-5.16.2-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/btrfsutil-5.16.2-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/btrfsutil.cpython-310-x86_64-linux-gnu.so
/usr/share/licenses/python3-btrfsutil
/usr/share/licenses/python3-btrfsutil/COPYING
References
Summary
In this tutorial we learn how to install python3-btrfsutil
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).