How To Install scanbuttond on Ubuntu 18.04

In this tutorial we learn how to install scanbuttond on Ubuntu 18.04. scanbuttond is Dummy transitional package - scanbuttond to scanbd

Introduction

In this tutorial we learn how to install scanbuttond on Ubuntu 18.04.

What is scanbuttond

scanbuttond is:

This package is meant to ease migration from the old, dead scanbuttond package to the new scanbd. It pulls in scanbd and installs a wrapper script so that scanbd should be a drop-in replacement. Users should eventually migrate their customized scripts to scanbd and then this package can be safely removed.

There are three methods to install scanbuttond on Ubuntu 18.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 scanbuttond Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install scanbuttond

Install scanbuttond Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install scanbuttond

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

sudo aptitude -y install scanbuttond

How To Uninstall scanbuttond on Ubuntu 18.04

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

sudo apt-get remove scanbuttond

Uninstall scanbuttond And Its Dependencies

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

sudo apt-get -y autoremove scanbuttond

Remove scanbuttond Configurations and Data

To remove scanbuttond configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge scanbuttond

Remove scanbuttond configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge scanbuttond

References

Summary

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