How To Install python3-sane on Fedora 36

In this tutorial we learn how to install python3-sane in Fedora 36. python3-sane is Python 3 module for using scanners

Introduction

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

What is python3-sane

This package contains the sane module for Python which provides access to various raster scanning devices such as flatbed scanners and digital cameras.

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

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

sudo dnf -y install python3-sane

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

sudo yum -y install python3-sane

How To Uninstall python3-sane on Fedora 36

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

sudo dnf remove python3-sane

python3-sane Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/b5159c3faa0cd01ccaeec2f5ce76a6f54c6f36
/usr/lib64/python3.10/site-packages/__pycache__
/usr/lib64/python3.10/site-packages/__pycache__/sane.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/__pycache__/sane.cpython-310.pyc
/usr/lib64/python3.10/site-packages/_sane.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/python_sane-2.9.1-py3.10.egg-info
/usr/lib64/python3.10/site-packages/python_sane-2.9.1-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/python_sane-2.9.1-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/python_sane-2.9.1-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/python_sane-2.9.1-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/sane.py
/usr/share/doc/python3-sane
/usr/share/doc/python3-sane/CHANGES.rst
/usr/share/doc/python3-sane/example.py
/usr/share/doc/python3-sane/html
/usr/share/doc/python3-sane/html/_sources
/usr/share/doc/python3-sane/html/_sources/index.rst.txt
/usr/share/doc/python3-sane/html/_static
/usr/share/doc/python3-sane/html/_static/basic.css
/usr/share/doc/python3-sane/html/_static/classic.css
/usr/share/doc/python3-sane/html/_static/default.css
/usr/share/doc/python3-sane/html/_static/doctools.js
/usr/share/doc/python3-sane/html/_static/documentation_options.js
/usr/share/doc/python3-sane/html/_static/file.png
/usr/share/doc/python3-sane/html/_static/jquery-3.5.1.js
/usr/share/doc/python3-sane/html/_static/jquery.js
/usr/share/doc/python3-sane/html/_static/language_data.js
/usr/share/doc/python3-sane/html/_static/minus.png
/usr/share/doc/python3-sane/html/_static/plus.png
/usr/share/doc/python3-sane/html/_static/pygments.css
/usr/share/doc/python3-sane/html/_static/searchtools.js
/usr/share/doc/python3-sane/html/_static/sidebar.js
/usr/share/doc/python3-sane/html/_static/underscore-1.13.1.js
/usr/share/doc/python3-sane/html/_static/underscore.js
/usr/share/doc/python3-sane/html/genindex.html
/usr/share/doc/python3-sane/html/index.html
/usr/share/doc/python3-sane/html/objects.inv
/usr/share/doc/python3-sane/html/py-modindex.html
/usr/share/doc/python3-sane/html/search.html
/usr/share/doc/python3-sane/html/searchindex.js
/usr/share/doc/python3-sane/sanedoc.txt
/usr/share/licenses/python3-sane
/usr/share/licenses/python3-sane/COPYING

References

Summary

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