Skip to content

Instantly share code, notes, and snippets.

@mharsch
Created September 28, 2012 16:34
Show Gist options
  • Save mharsch/3800817 to your computer and use it in GitHub Desktop.
Save mharsch/3800817 to your computer and use it in GitHub Desktop.
install libnvpair on Ubuntu
libnvpair is available as a nice independent bundle from the ZFS on Linux project.
To install libnvpair (and it's dependencies) on Ubuntu:
sudo add-apt-repository ppa:zfs-native/stable
sudo apt-get update
sudo apt-get install libnvpair1
@mharsch
Copy link
Author

mharsch commented Sep 30, 2012

actually, you need to install the 'libzfs-dev' package, as it includes the necessary headers needed to use libnvpair. The libzfs-dev package will pull in all the needed dependencies (including libnvpair).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment