[root@VM-235-40-centos yum.repos.d]# yum search tmux 已加载插件:fastestmirror, langpacks Repository epel is listed more than once in the configuration Loading mirror speeds from cached hostfile =================================================== N/S matched: tmux ================================================================ tmux-top.x86_64 : Monitoring information for your tmux status line. tmux-top-devel.x86_64 : Monitoring information for your tmux status line. tmux.x86_64 : A terminal multiplexer xpanes.noarch : Awesome tmux-based terminal divider
名称和简介匹配 only,使用“search all”试试。 [root@VM-235-40-centos yum.repos.d]# yum info tmux.x86_64 已加载插件:fastestmirror, langpacks Repository epel is listed more than once in the configuration Loading mirror speeds from cached hostfile 可安装的软件包 名称 :tmux 架构 :x86_64 版本 :1.8 发布 :4.el7 大小 :243 k 源 :os/7/x86_64 简介 : A terminal multiplexer 网址 :http://sourceforge.net/projects/tmux 协议 : ISC and BSD 描述 : tmux is a "terminal multiplexer." It enables a number of terminals (or : windows) to be accessed and controlled from a single terminal. tmux is : intended to be a simple, modern, BSD-licensed alternative to programs such : as GNU Screen.
[root@VM-235-40-centos yum.repos.d]# yum search tmux 已加载插件:fastestmirror, langpacks Repository epel is listed more than once in the configuration Loading mirror speeds from cached hostfile ius | 1.3 kB 00:00:00 ius/x86_64/primary | 104 kB 00:00:01 ius 460/460 ============================================================= N/S matched: tmux ================================================================= tmux-top.x86_64 : Monitoring information for your tmux status line. tmux-top-devel.x86_64 : Monitoring information for your tmux status line. tmux.x86_64 : A terminal multiplexer tmux2.x86_64 : A terminal multiplexer xpanes.noarch : Awesome tmux-based terminal divider
名称和简介匹配 only,使用“search all”试试。 [root@VM-235-40-centos yum.repos.d]# yum info tmux2.x86_64 已加载插件:fastestmirror, langpacks Repository epel is listed more than once in the configuration Loading mirror speeds from cached hostfile 可安装的软件包 名称 :tmux2 架构 :x86_64 版本 :2.9a 发布 :2.el7.ius 大小 :329 k 源 :ius/x86_64 简介 : A terminal multiplexer 网址 :https://tmux.github.io/ 协议 : ISC and BSD 描述 : tmux is a "terminal multiplexer." It enables a number of terminals (or : windows) to be accessed and controlled from a single terminal. tmux is : intended to be a simple, modern, BSD-licensed alternative to programs such : as GNU Screen.
可以看到这里有ius发布的tmux2.9的版本,还是相对比较新的一个版本
将ius改为腾讯镜像
上面安装ius软件仓库后,可以看到yum.repos.d目录下已经有几个仓库了
1 2 3 4 5 6 7 8 9 10 11
[root@VM-235-40-centos yum.repos.d]# yum repolist 已加载插件:fastestmirror, langpacks Repository epel is listed more than once in the configuration Loading mirror speeds from cached hostfile 源标识 源名称 状态 epel/7/x86_64 EPEL for redhat/centos 7 - x86_64 13,519 extras/7/x86_64 Qcloud centos extras - x86_64 451 ius/x86_64 IUS for Enterprise Linux 7 - x86_64 460 os/7/x86_64 Qcloud centos os - x86_64 10,072 updates/7/x86_64 Qcloud centos updates - x86_64 1,640 repolist: 26,142
[docker-ce-stable-source] name=Docker CE Stable - Sources baseurl=http://mirrors.tencentyun.com/docker-ce/linux/centos/$releasever/source/stable enabled=0 gpgcheck=1 gpgkey=https://download.docker.com/linux/centos/gpg
[docker-ce-test] name=Docker CE Test - $basearch baseurl=http://mirrors.tencentyun.com/docker-ce/linux/centos/$releasever/$basearch/test enabled=0 gpgcheck=1 gpgkey=https://download.docker.com/linux/centos/gpg
[docker-ce-test-debuginfo] name=Docker CE Test - Debuginfo $basearch baseurl=http://mirrors.tencentyun.com/docker-ce/linux/centos/$releasever/debug-$basearch/test enabled=0 gpgcheck=1 gpgkey=https://download.docker.com/linux/centos/gpg
[docker-ce-test-source] name=Docker CE Test - Sources baseurl=http://mirrors.tencentyun.com/docker-ce/linux/centos/$releasever/source/test enabled=0 gpgcheck=1 gpgkey=https://download.docker.com/linux/centos/gpg
[docker-ce-nightly] name=Docker CE Nightly - $basearch baseurl=http://mirrors.tencentyun.com/docker-ce/linux/centos/$releasever/$basearch/nightly enabled=0 gpgcheck=1 gpgkey=https://download.docker.com/linux/centos/gpg