How To Install sane-backends on CentOS 8

sane-backends is Scanner access software

Introduction

In this tutorial we learn how to install sane-backends on CentOS 8.

What is sane-backends

Scanner Access Now Easy (SANE) is a universal scanner interface. The SANE application programming interface (API) provides standardized access to any raster image scanner hardware (flatbed scanner, hand-held scanner, video and still cameras, frame-grabbers, etc.).

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

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

sudo dnf -y install sane-backends

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

sudo yum -y install sane-backends

How To Uninstall sane-backends on CentOS 8

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

sudo dnf remove sane-backends

sane-backends Package Contents on CentOS 8

/etc/sane.d
/etc/sane.d/abaton.conf
/etc/sane.d/agfafocus.conf
/etc/sane.d/apple.conf
/etc/sane.d/artec.conf
/etc/sane.d/artec_eplus48u.conf
/etc/sane.d/avision.conf
/etc/sane.d/bh.conf
/etc/sane.d/canon.conf
/etc/sane.d/canon630u.conf
/etc/sane.d/canon_dr.conf
/etc/sane.d/canon_pp.conf
/etc/sane.d/cardscan.conf
/etc/sane.d/coolscan.conf
/etc/sane.d/coolscan2.conf
/etc/sane.d/coolscan3.conf
/etc/sane.d/dc210.conf
/etc/sane.d/dc240.conf
/etc/sane.d/dc25.conf
/etc/sane.d/dell1600n_net.conf
/etc/sane.d/dll.conf
/etc/sane.d/dll.d
/etc/sane.d/dmc.conf
/etc/sane.d/epjitsu.conf
/etc/sane.d/epson.conf
/etc/sane.d/epson2.conf
/etc/sane.d/epsonds.conf
/etc/sane.d/fujitsu.conf
/etc/sane.d/genesys.conf
/etc/sane.d/gphoto2.conf
/etc/sane.d/gt68xx.conf
/etc/sane.d/hp.conf
/etc/sane.d/hp3900.conf
/etc/sane.d/hp4200.conf
/etc/sane.d/hp5400.conf
/etc/sane.d/hpsj5s.conf
/etc/sane.d/hs2p.conf
/etc/sane.d/ibm.conf
/etc/sane.d/kodak.conf
/etc/sane.d/kodakaio.conf
/etc/sane.d/kvs1025.conf
/etc/sane.d/leo.conf
/etc/sane.d/lexmark.conf
/etc/sane.d/ma1509.conf
/etc/sane.d/magicolor.conf
/etc/sane.d/matsushita.conf
/etc/sane.d/microtek.conf
/etc/sane.d/microtek2.conf
/etc/sane.d/mustek.conf
/etc/sane.d/mustek_pp.conf
/etc/sane.d/mustek_usb.conf
/etc/sane.d/nec.conf
/etc/sane.d/net.conf
/etc/sane.d/p5.conf
/etc/sane.d/pie.conf
/etc/sane.d/pieusb.conf
/etc/sane.d/pixma.conf
/etc/sane.d/plustek.conf
/etc/sane.d/plustek_pp.conf
/etc/sane.d/qcam.conf
/etc/sane.d/ricoh.conf
/etc/sane.d/rts8891.conf
/etc/sane.d/s9036.conf
/etc/sane.d/saned.conf
/etc/sane.d/sceptre.conf
/etc/sane.d/sharp.conf
/etc/sane.d/sm3840.conf
/etc/sane.d/snapscan.conf
/etc/sane.d/sp15c.conf
/etc/sane.d/st400.conf
/etc/sane.d/stv680.conf
/etc/sane.d/tamarack.conf
/etc/sane.d/teco1.conf
/etc/sane.d/teco2.conf
/etc/sane.d/teco3.conf
/etc/sane.d/test.conf
/etc/sane.d/u12.conf
/etc/sane.d/umax.conf
/etc/sane.d/umax1220u.conf
/etc/sane.d/umax_pp.conf
/etc/sane.d/v4l.conf
/etc/sane.d/xerox_mfp.conf
/usr/bin/sane-find-scanner
/usr/bin/scanimage
/usr/bin/umax_pp
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/60deeb9760c9b1d402439e2d46431cfc8022be
/usr/lib/.build-id/60
/usr/lib/.build-id/60/de5e0800aebebddcf24ab2f559eca34e99cc14
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/c0b92fd7c0ca9dc179e33e042d989d24b85d30
/usr/lib/udev/hwdb.d/20-sane-backends.hwdb
/usr/lib/udev/rules.d/65-sane-backends.rules
/usr/lib64/sane
/usr/share/doc/sane-backends
/usr/share/doc/sane-backends/AUTHORS
/usr/share/doc/sane-backends/COPYING
/usr/share/doc/sane-backends/ChangeLog
/usr/share/doc/sane-backends/LICENSE
/usr/share/doc/sane-backends/NEWS
/usr/share/doc/sane-backends/PROBLEMS
/usr/share/doc/sane-backends/README
/usr/share/doc/sane-backends/README.Fedora
/usr/share/doc/sane-backends/README.linux
/usr/share/locale/bg/LC_MESSAGES/sane-backends.mo
/usr/share/locale/cs/LC_MESSAGES/sane-backends.mo
/usr/share/locale/da/LC_MESSAGES/sane-backends.mo
/usr/share/locale/de/LC_MESSAGES/sane-backends.mo
/usr/share/locale/en@boldquot/LC_MESSAGES/sane-backends.mo
/usr/share/locale/en@quot/LC_MESSAGES/sane-backends.mo
/usr/share/locale/en_GB/LC_MESSAGES/sane-backends.mo
/usr/share/locale/eo/LC_MESSAGES/sane-backends.mo
/usr/share/locale/es/LC_MESSAGES/sane-backends.mo
/usr/share/locale/fi/LC_MESSAGES/sane-backends.mo
/usr/share/locale/fr/LC_MESSAGES/sane-backends.mo
/usr/share/locale/gl/LC_MESSAGES/sane-backends.mo
/usr/share/locale/hu/LC_MESSAGES/sane-backends.mo
/usr/share/locale/it/LC_MESSAGES/sane-backends.mo
/usr/share/locale/ja/LC_MESSAGES/sane-backends.mo
/usr/share/locale/nb/LC_MESSAGES/sane-backends.mo
/usr/share/locale/nl/LC_MESSAGES/sane-backends.mo
/usr/share/locale/pl/LC_MESSAGES/sane-backends.mo
/usr/share/locale/pt/LC_MESSAGES/sane-backends.mo
/usr/share/locale/ru/LC_MESSAGES/sane-backends.mo
/usr/share/locale/sv/LC_MESSAGES/sane-backends.mo
/usr/share/locale/uk/LC_MESSAGES/sane-backends.mo
/usr/share/man/man1/sane-find-scanner.1.gz
/usr/share/man/man1/scanimage.1.gz
/usr/share/man/man5/sane-abaton.5.gz
/usr/share/man/man5/sane-agfafocus.5.gz
/usr/share/man/man5/sane-apple.5.gz
/usr/share/man/man5/sane-artec.5.gz
/usr/share/man/man5/sane-artec_eplus48u.5.gz
/usr/share/man/man5/sane-as6e.5.gz
/usr/share/man/man5/sane-avision.5.gz
/usr/share/man/man5/sane-bh.5.gz
/usr/share/man/man5/sane-canon.5.gz
/usr/share/man/man5/sane-canon630u.5.gz
/usr/share/man/man5/sane-canon_dr.5.gz
/usr/share/man/man5/sane-canon_pp.5.gz
/usr/share/man/man5/sane-cardscan.5.gz
/usr/share/man/man5/sane-coolscan.5.gz
/usr/share/man/man5/sane-coolscan2.5.gz
/usr/share/man/man5/sane-coolscan3.5.gz
/usr/share/man/man5/sane-dc210.5.gz
/usr/share/man/man5/sane-dc240.5.gz
/usr/share/man/man5/sane-dc25.5.gz
/usr/share/man/man5/sane-dll.5.gz
/usr/share/man/man5/sane-dmc.5.gz
/usr/share/man/man5/sane-epjitsu.5.gz
/usr/share/man/man5/sane-epson.5.gz
/usr/share/man/man5/sane-epson2.5.gz
/usr/share/man/man5/sane-epsonds.5.gz
/usr/share/man/man5/sane-fujitsu.5.gz
/usr/share/man/man5/sane-genesys.5.gz
/usr/share/man/man5/sane-gphoto2.5.gz
/usr/share/man/man5/sane-gt68xx.5.gz
/usr/share/man/man5/sane-hp.5.gz
/usr/share/man/man5/sane-hp3500.5.gz
/usr/share/man/man5/sane-hp3900.5.gz
/usr/share/man/man5/sane-hp4200.5.gz
/usr/share/man/man5/sane-hp5400.5.gz
/usr/share/man/man5/sane-hp5590.5.gz
/usr/share/man/man5/sane-hpljm1005.5.gz
/usr/share/man/man5/sane-hpsj5s.5.gz
/usr/share/man/man5/sane-hs2p.5.gz
/usr/share/man/man5/sane-ibm.5.gz
/usr/share/man/man5/sane-kodak.5.gz
/usr/share/man/man5/sane-kodakaio.5.gz
/usr/share/man/man5/sane-kvs1025.5.gz
/usr/share/man/man5/sane-kvs20xx.5.gz
/usr/share/man/man5/sane-kvs40xx.5.gz
/usr/share/man/man5/sane-leo.5.gz
/usr/share/man/man5/sane-lexmark.5.gz
/usr/share/man/man5/sane-ma1509.5.gz
/usr/share/man/man5/sane-magicolor.5.gz
/usr/share/man/man5/sane-matsushita.5.gz
/usr/share/man/man5/sane-microtek.5.gz
/usr/share/man/man5/sane-microtek2.5.gz
/usr/share/man/man5/sane-mustek.5.gz
/usr/share/man/man5/sane-mustek_pp.5.gz
/usr/share/man/man5/sane-mustek_usb.5.gz
/usr/share/man/man5/sane-mustek_usb2.5.gz
/usr/share/man/man5/sane-nec.5.gz
/usr/share/man/man5/sane-net.5.gz
/usr/share/man/man5/sane-niash.5.gz
/usr/share/man/man5/sane-p5.5.gz
/usr/share/man/man5/sane-pie.5.gz
/usr/share/man/man5/sane-pieusb.5.gz
/usr/share/man/man5/sane-pixma.5.gz
/usr/share/man/man5/sane-plustek.5.gz
/usr/share/man/man5/sane-plustek_pp.5.gz
/usr/share/man/man5/sane-qcam.5.gz
/usr/share/man/man5/sane-ricoh.5.gz
/usr/share/man/man5/sane-rts8891.5.gz
/usr/share/man/man5/sane-s9036.5.gz
/usr/share/man/man5/sane-sceptre.5.gz
/usr/share/man/man5/sane-scsi.5.gz
/usr/share/man/man5/sane-sharp.5.gz
/usr/share/man/man5/sane-sm3600.5.gz
/usr/share/man/man5/sane-sm3840.5.gz
/usr/share/man/man5/sane-snapscan.5.gz
/usr/share/man/man5/sane-sp15c.5.gz
/usr/share/man/man5/sane-st400.5.gz
/usr/share/man/man5/sane-stv680.5.gz
/usr/share/man/man5/sane-tamarack.5.gz
/usr/share/man/man5/sane-teco1.5.gz
/usr/share/man/man5/sane-teco2.5.gz
/usr/share/man/man5/sane-teco3.5.gz
/usr/share/man/man5/sane-test.5.gz
/usr/share/man/man5/sane-u12.5.gz
/usr/share/man/man5/sane-umax.5.gz
/usr/share/man/man5/sane-umax1220u.5.gz
/usr/share/man/man5/sane-umax_pp.5.gz
/usr/share/man/man5/sane-usb.5.gz
/usr/share/man/man5/sane-v4l.5.gz
/usr/share/man/man5/sane-xerox_mfp.5.gz
/usr/share/man/man7/sane.7.gz
/usr/share/pixmaps/sane.png
/usr/share/sane

References

Summary

In this tutorial we learn how to install sane-backends on CentOS 8 using yum and dnf.