[root@server-1 src]# yumsearch openssl
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile*base: mirror.bit.edu.cn*extras: mirror.bit.edu.cn*updates: mirror.bit.edu.cn========================================== N/S matched: openssl ===========================================apr-util-openssl.x86_64 : APR utility library OpenSSL crytpo support
openssl-devel.i686 : Files for development of applications whichwill use OpenSSL
openssl-devel.x86_64 : Files for development of applications whichwill use OpenSSL
openssl-perl.x86_64 : Perl scripts provided with OpenSSL
openssl-static.i686 : Libraries for static linking of applications whichwill use OpenSSL
openssl-static.x86_64 : Libraries for static linking of applications whichwill use OpenSSLperl-Crypt-OpenSSL-Bignum.x86_64 : Perl interface to OpenSSL forBignumperl-Crypt-OpenSSL-RSA.x86_64 : Perl interface to OpenSSL forRSAperl-Crypt-OpenSSL-Random.x86_64 : Perl interface to OpenSSL forRandom
pyOpenSSL.x86_64 : Python wrapper module around the OpenSSL library
pyOpenSSL-doc.noarch : Documentation forpyOpenSSL
xmlsec1-openssl.i686 : OpenSSL crypto plugin forXML Security Library
xmlsec1-openssl.x86_64 : OpenSSL crypto plugin forXML Security Library
xmlsec1-openssl-devel.i686 : OpenSSL crypto plugin forXML Security Library
xmlsec1-openssl-devel.x86_64 : OpenSSL crypto plugin forXML Security Library
m2crypto.x86_64 : Supportfor using OpenSSL inpython scripts
nss_compat_ossl.i686 : Source-level compatibility library forOpenSSL to NSS porting
nss_compat_ossl.x86_64 : Source-level compatibility library forOpenSSL to NSS porting
openssl.x86_64 : Utilities from the general purpose cryptography library with TLS implementation
openssl-libs.i686 : A general purpose cryptography library with TLS implementation
openssl-libs.x86_64 : A general purpose cryptography library with TLS implementation
openssl098e.i686 : A compatibility version of a general cryptography and TLS library
openssl098e.x86_64 : A compatibility version of a general cryptography and TLS libraryperl-Crypt-SSLeay.x86_64 : Crypt::SSLeay -OpenSSL glue that provides LWP https supportperl-Net-SSLeay.x86_64 : Perl extension forusing OpenSSL
qca-ossl.i686 : OpenSSL plugin forthe Qt Cryptographic Architecture v2
qca-ossl.x86_64 : OpenSSL plugin forthe Qt Cryptographic Architecture v2
名称和简介匹配 only,使用“search all”试试。
[root@server-1 src]# history|greprpm30 rpm -qa|grepmysql45 wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-community-server-5.7.26-1.el7.x86_64.rpm
46 yum installrpm61 wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-community-server-5.7.26-1.el7.x86_64.rpm
64 rm -rf mysql-community-server-5.7.26-1.el7.x86_64.rpm.1
65 rm -rf mysql-community-server-5.7.26-1.el7.x86_64.rpm.2
67 wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-community-client-5.7.26-1.el7.x86_64.rpm
70 rpm -e mariadb-libs-1:5.5.60-1.el7_5.x86_64 --nodeps71 rpm -ivh mysql-community-common-5.7.26-1.el7.x86_64.rpm72 rpm -ivh mysql-community-libs-5.7.26-1.el7.x86_64.rpm73 rpm -ivh mysql-community-client-5.7.26-1.el7.x86_64.rpm74 rpm -ivh mysql-community-server-5.7.26-1.el7.x86_64.rpm738 rpm -qa|grepopenssl739 rpm -e openssl-1.0.2k-16.el7_6.1.x86_64740 rpm -e openssl-1.0.2k-16.el7_6.1.x86_64 --nodeps741 rpm -e openssl-libs-1.0.2k-16.el7_6.1.x86_64 --nodeps742 rpm -e openssl-devel-1.0.2k-16.el7_6.1.x86_64 --nodeps743 rpm -qa|grepopenssl791 rpm -ivh openssl-libs-1.0.2k-12.el7.x86_64.rpm --force792 wget http://rpmfind.net/linux/centos/7.6.1810/updates/x86_64/Packages/openssl-libs-1.0.2k-16.el7_6.1.x86_64.rpm
795 rm p-ivh openssl-libs-1.0.2k-16.el7_6.1.x86_64.rpm796 rpm -ivh openssl-libs-1.0.2k-16.el7_6.1.x86_64.rpm799 history|greprpm
[root@server-1 src]# rpm -qa|grepopenssl
openssl-libs-1.0.2k-16.el7_6.1.x86_64
[root@server-1 src]# rpm -ivh openssl-libs-1.0.2k-16.el7_6.1.x86_64.rpm
准备中... ################################# [100%]
软件包 openssl-libs-1:1.0.2k-16.el7_6.1.x86_64 已经安装
[root@server-1 src]# yum installopenssl
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile*base: mirror.bit.edu.cn*extras: mirror.bit.edu.cn*updates: mirror.bit.edu.cn
正在解决依赖关系-->正在检查事务---> 软件包 openssl.x86_64.1.1.0.2k-16.el7_6.1将被 安装-->解决依赖关系完成
依赖关系解决===========================================================================================================Package 架构 版本 源 大小===========================================================================================================正在安装:
openssl x86_641:1.0.2k-16.el7_6.1 updates 493k
事务概要===========================================================================================================安装1软件包
总下载量:493k
安装大小:814k
Is this ok [y/d/N]