How To Install nitrokey-app on Ubuntu 18.04

In this tutorial we learn how to install nitrokey-app on Ubuntu 18.04. nitrokey-app is Application to manage the Nitrokey

Introduction

In this tutorial we learn how to install nitrokey-app on Ubuntu 18.04.

What is nitrokey-app

nitrokey-app is:

Nitrokey is an open source/open hardware USB key supporting secure encryption and signing. This package installs the official application to manage the features of the different USB keys.

There are three methods to install nitrokey-app 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 nitrokey-app Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install nitrokey-app

Install nitrokey-app Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nitrokey-app

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

sudo aptitude -y install nitrokey-app

How To Uninstall nitrokey-app on Ubuntu 18.04

To uninstall only the nitrokey-app package we can use the following command:

sudo apt-get remove nitrokey-app

Uninstall nitrokey-app And Its Dependencies

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

sudo apt-get -y autoremove nitrokey-app

Remove nitrokey-app Configurations and Data

To remove nitrokey-app configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge nitrokey-app

Remove nitrokey-app configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nitrokey-app

References

Summary

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