How To Install cookietool on Debian 10

Learn how to install cookietool on Debian 10 with this tutorial. cookietool is suite of programs to help maintain a fortune database

Introduction

In this tutorial we learn how to install cookietool on Debian 10.

What is cookietool

cookietool is:

The ‘‘cookietool’’ itself eliminates duplicate entries, sorts cookies alphabetically or by size if you wish. The ‘‘cdbsplit’’ tool extracts parts of the database to a separate file, by keyword, by size, by number, or as groups of ‘similar’ cookies.

There are three methods to install cookietool on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install cookietool Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install cookietool

Install cookietool Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cookietool

Install cookietool 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install cookietool

How To Uninstall cookietool on Debian 10

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

sudo apt-get remove cookietool

Uninstall cookietool And Its Dependencies

To uninstall cookietool and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove cookietool

Remove cookietool Configurations and Data

To remove cookietool configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge cookietool

Remove cookietool configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cookietool

Dependencies

cookietool have the following dependencies:

References

Summary

In this tutorial we learn how to install cookietool package on Debian 10 using different package management tools: apt, apt-get and aptitude.