Native ZFS on Ubuntu

Add the required PPA to Ubuntu:

apt-add-repository ppa:zfs-native/stable

Update apt packages and use latest kernel available:

apt-get update
apt-get upgrade

Install ZFS:

apt-get install ubuntu-zfs

(this will take a while as it needs several dependent packages and then needs to build the SPL and DKMS for the current kernel - that’s why we ensure latest kernel is installed above)