How To Install donkey on Debian 9
Introduction
In this tutorial we learn how to install donkey
on Debian 9.
What is donkey
donkey is:
Donkey is an alternative for S/KEY’s “key” command. This means that donkey is also an alternative for “keyinit”. Since the entry is printed to stdout (not to /etc/skeykeys), you can easily send it to a remote operator by e-mail (with a PGP signature or something). So, it is possible to initiate S/KEY without logging onto the console of the host.
There are three methods to install donkey
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install donkey Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install donkey
using apt-get
by running the following command:
sudo apt-get -y install donkey
Install donkey Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install donkey
using apt
by running the following command:
sudo apt -y install donkey
Install donkey 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 donkey
using aptitude
by running the following command:
sudo aptitude -y install donkey
How To Uninstall donkey on Debian 9
To uninstall only the donkey
package we can use the following command:
sudo apt-get remove donkey
Uninstall donkey And Its Dependencies
To uninstall donkey
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove donkey
Remove donkey Configurations and Data
To remove donkey
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge donkey
Remove donkey configuration, data, and all of its dependencies
We can use the following command to remove donkey
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge donkey
Dependencies
donkey have the following dependencies:
References
Summary
In this tutorial we learn how to install donkey
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.