How to install yubikey-manager on Debian

Note: This post is 6 years old. Some information may no longer be correct or even relevant. Please, keep this in mind while reading.

yubikey-manager is a Python application requiring some dependencies for it to be installed from the Python repositories, because it is not yet in the official Debian package repository. Here is how:

apt-get install swig libpcsclite-dev
pip3 install yubikey-manager --user

Here is the main commandline utility:

~/.local/bin/ykman