From 6781337a6d3c7b27faacdd7549701dd4f343fc27 Mon Sep 17 00:00:00 2001 From: CN-JS-HuiBai Date: Fri, 22 Dec 2023 20:28:49 +0800 Subject: [PATCH] upload Extra-repos installer shell --- rhel-install-Extra-repos.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 rhel-install-Extra-repos.sh diff --git a/rhel-install-Extra-repos.sh b/rhel-install-Extra-repos.sh new file mode 100644 index 0000000..ac01b8f --- /dev/null +++ b/rhel-install-Extra-repos.sh @@ -0,0 +1,4 @@ +sudo dnf update +sudo subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms +sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm +sudo yum localinstall --nogpgcheck https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/free/el/rpmfusion-free-release-9.noarch.rpm https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/nonfree/el/rpmfusion-nonfree-release-9.noarch.rpm