进入龙晰镜像源地址下载
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 kkrb5-devel                                 x86_64                        1.18.2-26.0.1.an8                           BaseOS                        561 klibcom_err-devel                           x86_64                        1.46.0-1.0.1.an8                            BaseOS                         38 klibkadm5                                   x86_64                        1.18.2-26.0.1.an8                           BaseOS                        187 klibpkgconf                                 x86_64                        1.4.2-1.el8                                 BaseOS                         34 klibselinux-devel                           x86_64                        2.9-8.an8                                   BaseOS                        199 klibsepol-devel                             x86_64                        2.9-3.0.1.an8                               BaseOS                         86 klibverto-devel                             x86_64                        0.3.2-2.an8                                 BaseOS                         17 kpcre2-devel                                x86_64                        10.32-3.0.1.an8_6                           BaseOS                        604 kpcre2-utf16                                x86_64                        10.32-3.0.1.an8_6                           BaseOS                        228 kpcre2-utf32                                x86_64                        10.32-3.0.1.an8_6                           BaseOS                        219 kpkgconf                                    x86_64                        1.4.2-1.el8                                 BaseOS                         37 kpkgconf-m4                                 noarch                        1.4.2-1.el8                                 BaseOS                         16 kpkgconf-pkg-config                         x86_64                        1.4.2-1.el8                                 BaseOS                         14 kzlib-devel                                 x86_64                        1.2.11-25.0.1.an8                           BaseOS                         58 kTransaction Summary
==========================================================================================================================================================
Install  16 Packages总共需要安装16个包

上传到/opt/tools/openssl 目录下
cd /opt/tools/
mkdir openssl
rpm -Uvh *.rpm --nodeps --force