1
0
Fork 0

openzfs_install.sh: finalize packages for OpenZFS installation on Rocky/CentOS

This commit is contained in:
Pratham Patel 2022-10-16 19:30:32 +05:30
parent 60f49b1357
commit df26739909
1 changed files with 1 additions and 2 deletions

View File

@ -3,8 +3,7 @@
source /etc/os-release
if [[ "$ID" == "centos" || "$ID" == "rocky" ]]; then
sudo dnf install epel-release gcc make autoconf automake libtool rpm-build libtirpc-devel libblkid-devel libuuid-devel libudev-devel openssl-devel zlib-devel libaio-devel libattr-devel elfutils-libelf-devel kernel-devel-$(uname -r) python3 python3-devel python3-setuptools python3-cffi libffi-devel git ncompress libcurl-devel -y
sudo dnf install --enablerepo=epel --enablerepo=powertools python3-packaging dkms -y
sudo dnf install gcc make autoconf automake libtool rpm-build libtirpc-devel libblkid-devel libuuid-devel libudev-devel openssl-devel zlib-devel libaio-devel libattr-devel elfutils-libelf-devel kernel-devel-$(uname -r) python3 python3-devel python3-setuptools python3-cffi libffi-devel git libcurl-devel python3-packaging dkms bind-utils -y
elif [[ "$ID" == "fedora" ]]; then
sudo dnf install autoconf automake dkms elfutils-libelf-devel gcc git kernel-devel-$(uname -r) kernel-rpm-macros libaio-devel libattr-devel libblkid-devel libcurl-devel libffi-devel libtirpc-devel libtool libudev-devel libuuid-devel make ncompress openssl-devel python3 python3-cffi python3-devel python3-packaging python3-setuptools rpm-build zlib-devel -y
fi