How To Install sane-utils on Ubuntu 20.04
Introduction
In this tutorial we learn how to install sane-utils
on Ubuntu 20.04.
What is sane-utils
sane-utils is:
SANE stands for “Scanner Access Now Easy” and is an application programming interface (API) that provides standardized access to any raster image scanner hardware (flatbed scanner, hand-held scanner, video- and still-cameras, frame-grabbers, etc.). The SANE standard is free and its discussion and development are open to everybody. The current source code is written to support several operating systems, including GNU/Linux, OS/2, Win32 and various Unices and is available under the GNU General Public License (commercial applications and backends are welcome, too, however).
This package includes the command line frontend scanimage, the saned server and the sane-find-scanner utility, along with their documentation. Task: print-server, ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Package: sane-utils Architecture: amd64 Version: 1.0.29-0ubuntu5.1 Multi-Arch: foreign Priority: optional Section: graphics Source: sane-backends Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Jörg Frings-Fürst [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 632 Depends: adduser, lsb-base (>= 3.0-6), update-inetd, debconf (>= 0.5) | debconf-2.0, libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libc6 (>= 2.29), libieee1284-3, libjpeg8 (>= 8c), libpng16-16 (>= 1.6.2-1), libsane (>= 1.0.27), libsystemd0, libusb-1.0-0 (>= 2:1.0.22), libxml2 (>= 2.7.4) Suggests: avahi-daemon, unpaper Breaks: libsane-common (« 1.0.27-1~) Replaces: libsane-common (« 1.0.27-1~) Filename: pool/main/s/sane-backends/sane-utils_1.0.29-0ubuntu5.1_amd64.deb Size: 200940 MD5sum: 1c2d732a8d1b50dbb32e8700c94e8e5a SHA1: 02567145e795af5da2ebdd74f2463a29d6968a2b SHA256: 40d21541bab0fcdae11ca1d331150f978962bf4a21a19fd8027b94462e520c6b SHA512: e59b64fa1a5555e26f37c2c41117be026389c47df03323fde5ef2c020d298f0377fd8caf2bb9a709de468dca76c951100d03a8f4b9d593e6a45d6e55a3f5f18a Homepage: http://www.sane-project.org Description-en: API library for scanners – utilities SANE stands for “Scanner Access Now Easy” and is an application programming interface (API) that provides standardized access to any raster image scanner hardware (flatbed scanner, hand-held scanner, video- and still-cameras, frame-grabbers, etc.). The SANE standard is free and its discussion and development are open to everybody. The current source code is written to support several operating systems, including GNU/Linux, OS/2, Win32 and various Unices and is available under the GNU General Public License (commercial applications and backends are welcome, too, however).
This package includes the command line frontend scanimage, the saned server and the sane-find-scanner utility, along with their documentation. Task: print-server, ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Package: sane-utils Architecture: amd64 Version: 1.0.29-0ubuntu5 Multi-Arch: foreign Priority: optional Section: graphics Source: sane-backends Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Jörg Frings-Fürst [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 632 Depends: adduser, lsb-base (>= 3.0-6), update-inetd, debconf (>= 0.5) | debconf-2.0, libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libc6 (>= 2.29), libieee1284-3, libjpeg8 (>= 8c), libpng16-16 (>= 1.6.2-1), libsane (>= 1.0.27), libsystemd0, libusb-1.0-0 (>= 2:1.0.22), libxml2 (>= 2.7.4) Suggests: avahi-daemon, unpaper Breaks: libsane-common (« 1.0.27-1~) Replaces: libsane-common (« 1.0.27-1~) Filename: pool/main/s/sane-backends/sane-utils_1.0.29-0ubuntu5_amd64.deb Size: 201108 MD5sum: 91be75916b083fab029c0d27c64c539f SHA1: 3f8324c5318c8ac9e30af241528452bba609f842 SHA256: 656149554502553ddd4766de5c0c77e9eb90c78d532f47d1dc1968c0a17eb552 Homepage: http://www.sane-project.org Description-en: API library for scanners – utilities SANE stands for “Scanner Access Now Easy” and is an application programming interface (API) that provides standardized access to any raster image scanner hardware (flatbed scanner, hand-held scanner, video- and still-cameras, frame-grabbers, etc.). The SANE standard is free and its discussion and development are open to everybody. The current source code is written to support several operating systems, including GNU/Linux, OS/2, Win32 and various Unices and is available under the GNU General Public License (commercial applications and backends are welcome, too, however).
This package includes the command line frontend scanimage, the saned server and the sane-find-scanner utility, along with their documentation. Task: print-server, ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
There are three methods to install sane-utils
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install sane-utils Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install sane-utils
using apt-get
by running the following command:
sudo apt-get -y install sane-utils
Install sane-utils Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install sane-utils
using apt
by running the following command:
sudo apt -y install sane-utils
Install sane-utils Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install sane-utils
using aptitude
by running the following command:
sudo aptitude -y install sane-utils
How To Uninstall sane-utils on Ubuntu 20.04
To uninstall only the sane-utils
package we can use the following command:
sudo apt-get remove sane-utils
Uninstall sane-utils And Its Dependencies
To uninstall sane-utils
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove sane-utils
Remove sane-utils Configurations and Data
To remove sane-utils
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge sane-utils
Remove sane-utils configuration, data, and all of its dependencies
We can use the following command to remove sane-utils
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sane-utils
References
Summary
In this tutorial we learn how to install sane-utils
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.