linux rpm安装openssl,[CentOS]离线安装OpenSSL

  • Post author:
  • Post category:linux

环境

安装OpenSSL

安装openssl时更建议将openssl、openssl-devel一块儿安装,否则可能出现openssl不可用。

OpenSSL 依赖包清单参考如下(镜像站下载)

keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm

krb5-devel-1.15.1-50.el7.x86_64.rpm

krb5-libs-1.15.1-50.el7.x86_64.rpm

libcom_err-1.42.9-19.el7.x86_64.rpm

libcom_err-devel-1.42.9-19.el7.x86_64.rpm

libkadm5-1.15.1-50.el7.x86_64.rpm

libselinux-2.5-15.el7.x86_64.rpm

libselinux-devel-2.5-15.el7.x86_64.rpm

libsepol-devel-2.5-10.el7.x86_64.rpm

libverto-devel-0.2.5-4.el7.x86_64.rpm

openssl-1.0.2k-19.el7.x86_64.rpm

openssl-devel-1.0.2k-19.el7.x86_64.rpm

openssl-libs-1.0.2k-19.el7.x86_64.rpm

openssl-perl-1.0.2k-19.el7.x86_64.rpm

openssl-static-1.0.2k-19.el7.x86_64.rpm

pkgconfig-0.27.1-4.el7.x86_64.rpm

zlib-devel-1.2.7-18.el7.x86_64.rpm

查看验证openssl版本

#版本查看

openssl version

6effcf15fe3a9f43dc7c04d0f277b8c3.png

一定要看

虽然已经列出了openssl的依赖包,但每个机器使用的镜像可能不相同,所需依赖的包也不尽相同,缺失什么依赖去镜像站下载即可。

gcc/g++安装

标签:x86,CentOS,离线,OpenSSL,openssl,64,devel,rpm,el7

来源: https://blog.csdn.net/master336/article/details/113999162