因为这个内核版本太新了,没法通过正常的安装命令进行安装,因此考虑使用编译源码的方式来部署一下
$sudo apt remove zfsutils-linux $sudo apt remove zfs-dkms $sudo apt install git 下面开始安装一些包 $sudo apt install g++ gcc cmake $ sudo apt install build-essential autoconf automake libtool gawk fakeroot dkms $sudo apt install libblkid-dev uuid-dev libudev-dev libssl-dev zlib1g-dev $sudo apt install libaio-dev libattr1-dev libelf-dev $sudo apt install python3 python3-dev python3-setuptools python3-cffi libffi-dev python3-packaging $sudo apt install libcurl4-openssl-dev debhelper-compat dh-python po-debconf $sudo apt install python3-all-dev python3-sphinx $sudo apt install python3-full $sudo apt install console-setup $sudo apt install zlib1g-dev uuid-dev libattr1-dev libblkid-dev libselinux-dev libudev-dev libdevmapper-dev $sudo apt-get install dh-dkms $sudo apt-get install aptitude libcurl4-openssl-dev libpam0g-dev lsb-release build-essential autoconf automake libtool libblkid-dev uuid-dev libudev-dev libssl-dev zlib1g-dev libaio-dev libattr1-dev libelf-dev python3 python3-dev python3-setuptools python3-cffi libffi-dev python3-packaging git libcurl4-openssl-dev debhelper-compat dh-python po-debconf python3-all-dev python3-sphinx
这里的包有一些可能重复的,但是不要紧,不少就可以的
//社区编译下载alien包
deepinv23 alien包下载
//下载源码, 开始编译 $ git clone https://github.com/openzfs/zfs.git $cd zfs //切换版本 $ git checkout -b zfs-2.2.5 origin/zfs-2.2.5-staging #sh autogen.sh #./configure #make -s -j$(nproc) #make native-deb #make native-deb-utils native-deb-dkms //失败有异常 #make clean //然后重新sh autogen.sh开始执行编译
Popular Ranking
Popular Events
因为这个内核版本太新了,没法通过正常的安装命令进行安装,因此考虑使用编译源码的方式来部署一下
这里的包有一些可能重复的,但是不要紧,不少就可以的
deepinv23 alien包下载