How To Install scanbd on Kali Linux
Introduction
In this tutorial we learn how to install scanbd on Kali Linux.
What is scanbd
scanbd is:
It polls the scanner buttons looking for buttons pressed or function knob changes or other scanner events as paper inserts / removals and at the same time allows also scan-applications to access the scanners. If buttons are pressed, etc., various actions can be submitted (scan, copy, email, …) via action scripts. The function knob values are passed to the action-scripts as well.
Scan actions are also signaled via D-Bus. This can be useful for foreign applications. Scans can also be triggered via D-Bus from foreign applications.
On platforms which support signaling of dynamic device insertion / removal (libudev, D-Bus, hal) scanbd supports this as well. scanbd can use all sane-backends or some special backends from the (old) scanbuttond project.
This package is a successor of scanbuttond.
There are three methods to install scanbd 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 scanbd Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install scanbd using apt-get by running the following command:
sudo apt-get -y install scanbdInstall scanbd Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install scanbd using apt by running the following command:
sudo apt -y install scanbdInstall scanbd 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 updateAfter updating apt database, We can install scanbd using aptitude by running the following command:
sudo aptitude -y install scanbdHow To Uninstall scanbd on Kali Linux
To uninstall only the scanbd package we can use the following command:
sudo apt-get remove scanbdUninstall scanbd And Its Dependencies
To uninstall scanbd and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove scanbdRemove scanbd Configurations and Data
To remove scanbd configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge scanbdRemove scanbd configuration, data, and all of its dependencies
We can use the following command to remove scanbd configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge scanbdDependencies
scanbd have the following dependencies:
- init-system-helpers
- lsb-base
- openbsd-inetd
- sane-utils
- update-inetd
- libc6
- libconfuse2
- libdbus-1-3
- libsane
- libudev1
References
Summary
In this tutorial we learn how to install scanbd package on Kali Linux using different package management tools: apt, apt-get and aptitude.