How To Install libsane1 on Ubuntu 20.04

In this tutorial we learn how to install libsane1 on Ubuntu 20.04. libsane1 is API library for scanners [transitional package] API library for scanners [transitional package] API library for scanners [transitional package]

Introduction

In this tutorial we learn how to install libsane1 on Ubuntu 20.04.

What is libsane1

libsane1 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 is here to ensure smooth upgrades. It can be removed when you see fit.

Package: libsane1 Architecture: amd64 Version: 1.0.29-0ubuntu5.1 Multi-Arch: same Priority: optional Section: universe/libs 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: 91 Depends: libsane (>= 1.0.29-0ubuntu5.1) Filename: pool/universe/s/sane-backends/libsane1_1.0.29-0ubuntu5.1_amd64.deb Size: 14220 MD5sum: 181ef6086c0e7aeeabb8383a624c00a2 SHA1: a0348f34e0599b22a5ca885ac85ecce2bc638df0 SHA256: fe7e7af7eeac6f3701a2e6dc85079f66eadf94e0bb6d1f4c8f7181c8cb20790a SHA512: 17daef66236aedc5629081aeaf4c14b584c1b347e5953d5177d537d8ba1f9f853f1f6a4971ad0861bb4653c77eac203900da4d79748b85bf38280816e1e6ec3c Homepage: http://www.sane-project.org Description-en: API library for scanners [transitional package] 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 is here to ensure smooth upgrades. It can be removed when you see fit.

Package: libsane1 Architecture: amd64 Version: 1.0.29-0ubuntu5 Multi-Arch: same Priority: optional Section: universe/libs 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: 91 Depends: libsane (>= 1.0.29-0ubuntu5) Filename: pool/universe/s/sane-backends/libsane1_1.0.29-0ubuntu5_amd64.deb Size: 14220 MD5sum: ad0fc4a7b606cb32c451932bfa3b3cb7 SHA1: 21bcafa83056a056eab510a012e458f80dfaf1a5 SHA256: f977d3106358939a7da9a2ef919912f62465680274c752d7893d6f56c43da497 Homepage: http://www.sane-project.org Description-en: API library for scanners [transitional package] 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 is here to ensure smooth upgrades. It can be removed when you see fit.

There are three methods to install libsane1 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 libsane1 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libsane1 using apt-get by running the following command:

sudo apt-get -y install libsane1

Install libsane1 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libsane1 using apt by running the following command:

sudo apt -y install libsane1

Install libsane1 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 libsane1 using aptitude by running the following command:

sudo aptitude -y install libsane1

How To Uninstall libsane1 on Ubuntu 20.04

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

sudo apt-get remove libsane1

Uninstall libsane1 And Its Dependencies

To uninstall libsane1 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libsane1

Remove libsane1 Configurations and Data

To remove libsane1 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libsane1

Remove libsane1 configuration, data, and all of its dependencies

We can use the following command to remove libsane1 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libsane1

References

Summary

In this tutorial we learn how to install libsane1 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.