# apt install spl-dkms Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libnvpair1linux libuutil1linux libzfs2linux libzpool2linux linux-image-4.12.0-kali1-amd64 zfsutils-linux Use 'apt autoremove' to remove them. The following NEW packages will be installed: spl-dkms 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 392 kB of archives. After this operation, 3101 kB of additional disk space will be used. Get:1 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 spl-dkms all 0.7.3-1 [392 kB] Fetched 392 kB in 1s (275 kB/s) Selecting previously unselected package spl-dkms. (Reading database ... 370318 files and directories currently installed.) Preparing to unpack .../spl-dkms_0.7.3-1_all.deb ... Unpacking spl-dkms (0.7.3-1) ... Setting up spl-dkms (0.7.3-1) ... Loading new spl-0.7.3 DKMS files... Building for 4.13.0-kali1-amd64 4.13.10-lean Building initial module for 4.13.0-kali1-amd64 Done. spl: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.13.0-kali1-amd64/extra/spl/spl/ splat.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.13.0-kali1-amd64/extra/splat/splat/ depmod... DKMS: install completed. Building initial module for 4.13.10-lean Done. spl: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.13.10-lean/extra/spl/spl/ splat.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.13.10-lean/extra/splat/splat/ depmod... DKMS: install completed. # apt install zfs-dkms Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: linux-image-4.12.0-kali1-amd64 Use 'apt autoremove' to remove it. The following additional packages will be installed: zfs-zed The following NEW packages will be installed: zfs-dkms zfs-zed 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 1125 kB of archives. After this operation, 8395 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/contrib amd64 zfs-dkms all 0.6.5.11-1 [1082 kB] Get:2 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/contrib amd64 zfs-zed amd64 0.6.5.11-1 [43.3 kB] Fetched 1125 kB in 1s (695 kB/s) Preconfiguring packages ... Selecting previously unselected package zfs-dkms. (Reading database ... 370613 files and directories currently installed.) Preparing to unpack .../zfs-dkms_0.6.5.11-1_all.deb ... Unpacking zfs-dkms (0.6.5.11-1) ... Selecting previously unselected package zfs-zed. Preparing to unpack .../zfs-zed_0.6.5.11-1_amd64.deb ... Unpacking zfs-zed (0.6.5.11-1) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up zfs-dkms (0.6.5.11-1) ... Loading new zfs-0.6.5.11 DKMS files... Building for 4.13.0-kali1-amd64 4.13.10-lean Building initial module for 4.13.0-kali1-amd64 configure: error: *** Please make sure the kmod spl devel package for your distribution *** is installed then try again. If that fails you can specify the *** location of the spl source with the '--with-spl=PATH' option. Error! Bad return status for module build on kernel: 4.13.0-kali1-amd64 (x86_64) Consult /var/lib/dkms/zfs/0.6.5.11/build/make.log for more information. Setting up zfs-zed (0.6.5.11-1) ...