Skip to content

Instantly share code, notes, and snippets.

@nicr9
Last active June 22, 2016 20:46
Show Gist options
  • 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