Centos7安装使用remi库
查看库
安装
以 epel-release-latest-7.noarch.rpm 为例
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh epel-release-latest-7.noarch.rpm
## 或者用这个
yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
验证安装:
yum repolist
## 结果有remi库就可以了
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: ftp.sjtu.edu.cn
* epel: mirror.sjtu.edu.cn
* extras: ftp.sjtu.edu.cn
* remi-safe: ftp.riken.jp
* updates: ftp.sjtu.edu.cn
repo id repo name status
base/7/x86_64 CentOS-7 - Base 10,072
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,756
extras/7/x86_64 CentOS-7 - Extras 512
remi-safe Safe Remi's RPM repository for Enterprise Linux 7 - x86_64 4,853
updates/7/x86_64 CentOS-7 - Updates 4,101
repolist: 33,294
使用:
其实就是yum 命令中带上—enablerepo=remi,例子:
yum list redis --enablerepo=remi
* updates: ftp.sjtu.edu.cn
* remi-safe: ftp.riken.jp
* remi: ftp.riken.jp
redis.x86_64 7.0.4-1.el7.remi remi
redis.x86_64 7.0.4-1.el7.remi @remi
redis.x86_64 7.0.3-1.el7.remi remi
redis.x86_64 6.2.7-1.el7.remi remi
redis.x86_64 6.2.6-1.el7.remi remi
redis.x86_64 6.0.16-1.el7.remi remi
redis.x86_64 6.0.15-1.el7.remi remi
redis.x86_64 5.0.14-1.el7.remi remi
redis.x86_64 5.0.13-1.el7.remi remi
redis.x86_64 3.2.12-2.el7 epel
yum install redis-6.2.7 --enablerepo=remi
yum search redis --enablerepo=remi
Centos7安装使用remi库
https://qiil.github.io/2022/08/12/Centos7安装使用remi库/