- Install
zfs-release
to attach ZFS repo for yum.
sudo yum install http://download.zfsonlinux.org/epel/zfs-release.el7_5.noarch.rpm
Be sure to match the version of Centos.
- Choose between kABI and DKMS installation styles. kABI is preferable since it doesn't require to recompile. Edit
/etc/yum.repos.d/zfs.repo
toenable
repositoryzfs-kmod
anddisable
others.