How To Install xsane on CentOS 8
Introduction
In this tutorial we learn how to install xsane
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install xsane.
Install xsane on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the xsane
package we can use the following command:
sudo dnf remove xsane
xsane Package Contents on CentOS 8
/usr/bin/xsane
/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/e6a7a14dedebfbadb378bbaefea16b629f8c20
/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 CentOS 8 using yum and dnf.