How To Install xsane on Fedora 34

xsane is X Window System front-end for the SANE scanner interface

Introduction

In this tutorial we learn how to install xsane on Fedora 34.

What is xsane

XSane is an X based interface for the SANE (Scanner Access Now Easy) library, which provides access to scanners, digital cameras, and other capture devices. XSane is written in GTK+ and provides control for performing the scan and then manipulating the captured image.

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

Install xsane on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install xsane using dnf by running the following command:

sudo dnf -y install xsane

Install xsane on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install xsane using yum by running the following command:

sudo yum -y install xsane

How To Uninstall xsane on Fedora 34

To uninstall only the xsane package we can use the following command:

sudo dnf remove xsane

xsane Package Contents on Fedora 34

/usr/bin/xsane
/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/60432d5ee706e6f2924ca20c74e900747bc620
/usr/share/appdata/xsane.appdata.xml
/usr/share/applications/xsane.desktop
/usr/share/doc/xsane
/usr/share/doc/xsane/xsane.ACCELKEYS
/usr/share/doc/xsane/xsane.AUTHOR
/usr/share/doc/xsane/xsane.BEGINNERS-INFO
/usr/share/doc/xsane/xsane.BUGS
/usr/share/doc/xsane/xsane.CHANGES
/usr/share/doc/xsane/xsane.FAQ
/usr/share/doc/xsane/xsane.LANGUAGES
/usr/share/doc/xsane/xsane.LOGO
/usr/share/doc/xsane/xsane.NEWS
/usr/share/doc/xsane/xsane.ONLINEHELP
/usr/share/doc/xsane/xsane.PROBLEMS
/usr/share/doc/xsane/xsane.ROOT
/usr/share/doc/xsane/xsane.TODO
/usr/share/icons/hicolor/16x16/apps/xsane.png
/usr/share/icons/hicolor/256x256/apps/xsane.png
/usr/share/icons/hicolor/32x32/apps/xsane.png
/usr/share/icons/hicolor/48x48/apps/xsane.png
/usr/share/licenses/xsane
/usr/share/licenses/xsane/xsane.COPYING
/usr/share/locale/ca/LC_MESSAGES/xsane.mo
/usr/share/locale/cs/LC_MESSAGES/xsane.mo
/usr/share/locale/da/LC_MESSAGES/xsane.mo
/usr/share/locale/de/LC_MESSAGES/xsane.mo
/usr/share/locale/es/LC_MESSAGES/xsane.mo
/usr/share/locale/fi/LC_MESSAGES/xsane.mo
/usr/share/locale/fr/LC_MESSAGES/xsane.mo
/usr/share/locale/hu/LC_MESSAGES/xsane.mo
/usr/share/locale/it/LC_MESSAGES/xsane.mo
/usr/share/locale/ja/LC_MESSAGES/xsane.mo
/usr/share/locale/nl/LC_MESSAGES/xsane.mo
/usr/share/locale/pa/LC_MESSAGES/xsane.mo
/usr/share/locale/pl/LC_MESSAGES/xsane.mo
/usr/share/locale/pt/LC_MESSAGES/xsane.mo
/usr/share/locale/pt_BR/LC_MESSAGES/xsane.mo
/usr/share/locale/ro/LC_MESSAGES/xsane.mo
/usr/share/locale/ru/LC_MESSAGES/xsane.mo
/usr/share/locale/sk/LC_MESSAGES/xsane.mo
/usr/share/locale/sl/LC_MESSAGES/xsane.mo
/usr/share/locale/sr/LC_MESSAGES/xsane.mo
/usr/share/locale/sv/LC_MESSAGES/xsane.mo
/usr/share/locale/tr/LC_MESSAGES/xsane.mo
/usr/share/locale/vi/LC_MESSAGES/xsane.mo
/usr/share/locale/zh/LC_MESSAGES/xsane.mo
/usr/share/locale/zh_CN/LC_MESSAGES/xsane.mo
/usr/share/man/man1/xsane.1.gz
/usr/share/pixmaps/xsane.xpm

References

Summary

In this tutorial we learn how to install xsane on Fedora 34 using yum and dnf.