How To Install libsane-common on Ubuntu 20.04

In this tutorial we learn how to install libsane-common on Ubuntu 20.04. libsane-common is API library for scanners – documentation and support files API library for scanners – documentation and support files API library for scanners – documentation and support files

Introduction

In this tutorial we learn how to install libsane-common on Ubuntu 20.04.

What is libsane-common

libsane-common 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 documentation for libsane, such as the man pages and list of supported scanners, and support files (i18n data). 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: libsane-common Architecture: all Version: 1.0.29-0ubuntu5.1 Multi-Arch: foreign Priority: optional Section: 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: 1232 Pre-Depends: dpkg (>= 1.15.7.2) Breaks: sane-utils (« 1.0.27-1~) Filename: pool/main/s/sane-backends/libsane-common_1.0.29-0ubuntu5.1_all.deb Size: 277168 MD5sum: bd906011dcf3c00b47cd121fc28ea2be SHA1: 39d58b8c3c8dda213fd07f9700590412862d2309 SHA256: a0c37c7cf2298f0295d3a377573223cc0cb93fd3d1aaee8172bd2d6ffe14e85e SHA512: fc036b19b0618b6bb93ba41081f778b9860601e7bfabab2d443ce1e14ee5a4a6262b41a7091732c6ae61d69913a86b2d327339c30ab1ff02742fc9f9e8b10a08 Homepage: http://www.sane-project.org Description-en: API library for scanners – documentation and support files 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 documentation for libsane, such as the man pages and list of supported scanners, and support files (i18n data). 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: libsane-common Architecture: all Version: 1.0.29-0ubuntu5 Multi-Arch: foreign Priority: optional Section: 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: 1232 Pre-Depends: dpkg (>= 1.15.7.2) Breaks: sane-utils (« 1.0.27-1~) Filename: pool/main/s/sane-backends/libsane-common_1.0.29-0ubuntu5_all.deb Size: 276836 MD5sum: 4a33a908d1760243b5e67e09369aa637 SHA1: f18c1f2ea89c48e003351d89f9ee9ce27b6f8e31 SHA256: 9e56bb1c4909ac6757b9fe2b1b37e5bfae4acf24615b2308cce8052a490d4ada Homepage: http://www.sane-project.org Description-en: API library for scanners – documentation and support files 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 documentation for libsane, such as the man pages and list of supported scanners, and support files (i18n data). 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 libsane-common 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 libsane-common Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libsane-common

Install libsane-common Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsane-common

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

sudo aptitude -y install libsane-common

How To Uninstall libsane-common on Ubuntu 20.04

To uninstall only the libsane-common package we can use the following command:

sudo apt-get remove libsane-common

Uninstall libsane-common And Its Dependencies

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

sudo apt-get -y autoremove libsane-common

Remove libsane-common Configurations and Data

To remove libsane-common configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libsane-common

Remove libsane-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libsane-common

References

Summary

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