Richard Laager edited this page Jan 5, 2017 · 17 revisions

Offical ZFS on Linux DKMS style packages are available from the Debian GNU/Linux repository for the following configurations. The packages previously hosted at will not be updated and are not recommended for new installations.

Debian Releases: Jessie and newer (testing, sid)
Architectures: amd64


For Debian Jessie, ZFS packages are provided by backports.

Add jessie-backports repository (ZFS packages are in contrib area):

# echo "deb jessie-backports main contrib" >> /etc/apt/sources.list.d/backports.list
# apt update

Install kernel headers:

# apt install linux-headers-$(uname -r)

Install zfs packages:

# apt-get install -t jessie-backports zfs-dkms

If you want to boot from ZFS, you'll need zfs-initramfs package too:

# apt-get install -t jessie-backports zfs-initramfs