How To Install yubikey-neo-manager on Debian 9

In this tutorial we learn how to install yubikey-neo-manager on Debian 9. yubikey-neo-manager is YubiKey NEO management graphical user interface

Introduction

In this tutorial we learn how to install yubikey-neo-manager on Debian 9.

What is yubikey-neo-manager

yubikey-neo-manager is:

The YubiKey NEO support One-Time Password (OTP), smartcard CCID/PCSC, and Universal 2nd Factor (U2F) protocols, and this application allows you to interface to various parts of the device, including mode-switching.

There are three methods to install yubikey-neo-manager 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 yubikey-neo-manager Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install yubikey-neo-manager

Install yubikey-neo-manager Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install yubikey-neo-manager using apt by running the following command:

sudo apt -y install yubikey-neo-manager

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

sudo aptitude -y install yubikey-neo-manager

How To Uninstall yubikey-neo-manager on Debian 9

To uninstall only the yubikey-neo-manager package we can use the following command:

sudo apt-get remove yubikey-neo-manager

Uninstall yubikey-neo-manager And Its Dependencies

To uninstall yubikey-neo-manager and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove yubikey-neo-manager

Remove yubikey-neo-manager Configurations and Data

To remove yubikey-neo-manager configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge yubikey-neo-manager

Remove yubikey-neo-manager configuration, data, and all of its dependencies

We can use the following command to remove yubikey-neo-manager configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge yubikey-neo-manager

Dependencies

yubikey-neo-manager have the following dependencies:

References

Summary

In this tutorial we learn how to install yubikey-neo-manager package on Debian 9 using different package management tools: apt, apt-get and aptitude.