Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Debian 11 - Install ZFS

Related Posts

Steps

Run the chained commands below to install ZFS on Debian 11, but before doing this, make sure you are on the latest kernel to prevent the possibility of the linux headers part failing.

sudo apt update && sudo apt install -y software-properties-common \
  && sudo apt-add-repository contrib \
  && sudo apt update \
  && sudo apt install -y linux-headers-$(uname -r) linux-image-amd64 spl kmod \
  && sudo apt install -y zfsutils-linux zfs-dkms zfs-zed

References

Last updated: 22nd October 2023
First published: 19th October 2023