进入龙晰镜像源地址下载
http://mirrors.openanolis.cn/anolis/8/BaseOS/x86_64/os/Packages/
(base) [root@AI lib64]# yum install openssl-devel
Last metadata expiration check: 14:03:32 ago on Fri 21 Jun 2024 07:26:56 AM CST.
Dependencies resolved.
==========================================================================================================================================================
Package Architecture Version Repository Size
==========================================================================================================================================================
Installing:
openssl-devel x86_64 1:1.1.1k-12.0.1.an8 BaseOS 2.3 M
Installing dependencies:
keyutils-libs-devel x86_64 1.5.10-9.an8 BaseOS 47 k
krb5-devel x86_64 1.18.2-26.0.1.an8 BaseOS 561 k
libcom_err-devel x86_64 1.46.0-1.0.1.an8 BaseOS 38 k
libkadm5 x86_64 1.18.2-26.0.1.an8 BaseOS 187 k
libpkgconf x86_64 1.4.2-1.el8 BaseOS 34 k
libselinux-devel x86_64 2.9-8.an8 BaseOS 199 k
libsepol-devel x86_64 2.9-3.0.1.an8 BaseOS 86 k
libverto-devel x86_64 0.3.2-2.an8 BaseOS 17 k
pcre2-devel x86_64 10.32-3.0.1.an8_6 BaseOS 604 k
pcre2-utf16 x86_64 10.32-3.0.1.an8_6 BaseOS 228 k
pcre2-utf32 x86_64 10.32-3.0.1.an8_6 BaseOS 219 k
pkgconf x86_64 1.4.2-1.el8 BaseOS 37 k
pkgconf-m4 noarch 1.4.2-1.el8 BaseOS 16 k
pkgconf-pkg-config x86_64 1.4.2-1.el8 BaseOS 14 k
zlib-devel x86_64 1.2.11-25.0.1.an8 BaseOS 58 k
Transaction Summary
==========================================================================================================================================================
Install 16 Packages
总共需要安装16个包
上传到/opt/tools/openssl 目录下
cd /opt/tools/
mkdir openssl
rpm -Uvh *.rpm --nodeps --force