How To Install xsane on Rocky Linux 8

In this tutorial we learn how to install xsane on Rocky Linux 8. xsane is X Window System front-end for the SANE scanner interface

Introduction

In this tutorial we learn how to install xsane on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install xsane.

Install xsane on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install xsane

Install xsane on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 Rocky Linux 8

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

sudo dnf remove xsane

xsane Package Contents on Rocky Linux 8

/usr/bin/xsane
/usr/lib/.build-id
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/664993e16a34fa5bb05807112cc32e3767d220
/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 Rocky Linux 8 using yum and dnf.