How To Install python3-snappy on Fedora 36

In this tutorial we learn how to install python3-snappy in Fedora 36. python3-snappy is Python library for the snappy compression library from Google

Introduction

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

What is python3-snappy

Python bindings for the snappy compression library from Google.

We can use yum or dnf to install python3-snappy on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-snappy.

Install python3-snappy 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-snappy using dnf by running the following command:

sudo dnf -y install python3-snappy

Install python3-snappy 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-snappy using yum by running the following command:

sudo yum -y install python3-snappy

How To Uninstall python3-snappy on Fedora 36

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

sudo dnf remove python3-snappy

python3-snappy Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/c6945150050fa7d03c2dc3d5991b5801ddebd3
/usr/lib64/python3.10/site-packages/python_snappy-0.5.4-py3.10.egg-info
/usr/lib64/python3.10/site-packages/python_snappy-0.5.4-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/python_snappy-0.5.4-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/python_snappy-0.5.4-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/python_snappy-0.5.4-py3.10.egg-info/pbr.json
/usr/lib64/python3.10/site-packages/python_snappy-0.5.4-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/snappy
/usr/lib64/python3.10/site-packages/snappy/__init__.py
/usr/lib64/python3.10/site-packages/snappy/__main__.py
/usr/lib64/python3.10/site-packages/snappy/__pycache__
/usr/lib64/python3.10/site-packages/snappy/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/snappy/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/snappy/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/snappy/__pycache__/__main__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/snappy/__pycache__/hadoop_snappy.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/snappy/__pycache__/hadoop_snappy.cpython-310.pyc
/usr/lib64/python3.10/site-packages/snappy/__pycache__/snappy.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/snappy/__pycache__/snappy.cpython-310.pyc
/usr/lib64/python3.10/site-packages/snappy/__pycache__/snappy_cffi.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/snappy/__pycache__/snappy_cffi.cpython-310.pyc
/usr/lib64/python3.10/site-packages/snappy/__pycache__/snappy_cffi_builder.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/snappy/__pycache__/snappy_cffi_builder.cpython-310.pyc
/usr/lib64/python3.10/site-packages/snappy/__pycache__/snappy_formats.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/snappy/__pycache__/snappy_formats.cpython-310.pyc
/usr/lib64/python3.10/site-packages/snappy/_snappy.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/snappy/hadoop_snappy.py
/usr/lib64/python3.10/site-packages/snappy/snappy.py
/usr/lib64/python3.10/site-packages/snappy/snappy_cffi.py
/usr/lib64/python3.10/site-packages/snappy/snappy_cffi_builder.py
/usr/lib64/python3.10/site-packages/snappy/snappy_formats.py
/usr/share/doc/python3-snappy
/usr/share/doc/python3-snappy/AUTHORS
/usr/share/doc/python3-snappy/README.rst
/usr/share/licenses/python3-snappy
/usr/share/licenses/python3-snappy/LICENSE

References

Summary

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