How To Install ykneomgr on Ubuntu 18.04
Introduction
In this tutorial we learn how to install ykneomgr on Ubuntu 18.04.
What is ykneomgr
ykneomgr is:
This is a C library to interact with the CCID-part of the YubiKey NEO. There is a command line tool “ykneomgr” for interactive use. It supports querying the YubiKey NEO for firmware version, operation mode (OTP/CCID) and serial number. You may also mode switch the device and manage applets (list, delete and install).
This package contains the command line tool.
There are three methods to install ykneomgr 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 ykneomgr Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install ykneomgr using apt-get by running the following command:
sudo apt-get -y install ykneomgr
Install ykneomgr Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install ykneomgr using apt by running the following command:
sudo apt -y install ykneomgr
Install ykneomgr 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 ykneomgr using aptitude by running the following command:
sudo aptitude -y install ykneomgr
How To Uninstall ykneomgr on Ubuntu 18.04
To uninstall only the ykneomgr package we can use the following command:
sudo apt-get remove ykneomgr
Uninstall ykneomgr And Its Dependencies
To uninstall ykneomgr and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove ykneomgr
Remove ykneomgr Configurations and Data
To remove ykneomgr configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge ykneomgr
Remove ykneomgr configuration, data, and all of its dependencies
We can use the following command to remove ykneomgr configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ykneomgr
References
Summary
In this tutorial we learn how to install ykneomgr package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.