How To Install libimage-sane-perl on Kali Linux

In this tutorial we learn how to install libimage-sane-perl on Kali Linux. libimage-sane-perl is Perl extension for the SANE (Scanner Access Now Easy) Project

Introduction

In this tutorial we learn how to install libimage-sane-perl on Kali Linux.

What is libimage-sane-perl

libimage-sane-perl is:

The Image::Sane Perl bindings for the SANE (Scanner Access Now Easy) Project allow you to access SANE-compatible scanners in a Perlish and object-oriented way, freeing you from the casting and memory management in C, yet remaining very close in spirit to original API.

There are three methods to install libimage-sane-perl on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libimage-sane-perl Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libimage-sane-perl

Install libimage-sane-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libimage-sane-perl using apt by running the following command:

sudo apt -y install libimage-sane-perl

Install libimage-sane-perl Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libimage-sane-perl using aptitude by running the following command:

sudo aptitude -y install libimage-sane-perl

How To Uninstall libimage-sane-perl on Kali Linux

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

sudo apt-get remove libimage-sane-perl

Uninstall libimage-sane-perl And Its Dependencies

To uninstall libimage-sane-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libimage-sane-perl

Remove libimage-sane-perl Configurations and Data

To remove libimage-sane-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libimage-sane-perl

Remove libimage-sane-perl configuration, data, and all of its dependencies

We can use the following command to remove libimage-sane-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libimage-sane-perl

Dependencies

libimage-sane-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libimage-sane-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.