Skip to content

Instantly share code, notes, and snippets.

@nicr9
Last active June 22, 2016 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicr9/a8ed60b1d76a899303189b4bf2c094d9 to your computer and use it in GitHub Desktop.
Save nicr9/a8ed60b1d76a899303189b4bf2c094d9 to your computer and use it in GitHub Desktop.
Setting up yubikey personalization CLI
mkdir -p ~/src/github.com/Yubico
cd !$
# dependancies
sudo apt-get install -y libusb-1.0-0-dev libusb-dev autoconf libtool asciidoc
# Build libyubikey-dev from source
git clone https://github.com/Yubico/yubico-c.git
cd yubico-c
autoreconf --install
./configure
make check
sudo make install
sudo ln -s /usr/local/lib/libyubikey.so.0 /usr/lib/libyubikey.so.0
# Build yubikey-personalization tools from source
cd ..
git clone https://github.com/Yubico/yubikey-personalization.git
cd yubikey-personalization
autoreconf --install
./configure
make check
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment