搜索yum包
[root@hadron ~]# yum search tiger
已加载插件:fastestmirror, langpacksLoading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
========================================================== N/S matched: tiger ====================================================
tigervnc.x86_64 : A TigerVNC remote display system
tigervnc-icons.noarch : Icons for TigerVNC viewer
tigervnc-license.noarch : License of TigerVNC suite
tigervnc-server.x86_64 : A TigerVNC server
tigervnc-server-applet.noarch : Java TigerVNC viewer applet for TigerVNC server
tigervnc-server-minimal.x86_64 : A minimal installation of TigerVNC server
tigervnc-server-module.x86_64 : TigerVNC module to Xorg
名称和简介匹配 only,使用“search all”试试。
安装 tigervnc服务端
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 tigervnc-server.x86_64.0.1.3.1-9.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
==================================================================================================================
Package 架构 版本 源 大小
=======================================================================================================
正在安装:
tigervnc-server x86_64 1.3.1-9.el7 base 203 k
事务概要
===================================================================================================================================
安装 1 软件包
总下载量:203 k
安装大小:493 k
Downloading packages:
tigervnc-server-1.3.1-9.el7.x86_64.rpm | 203 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : tigervnc-server-1.3.1-9.el7.x86_64 1/1
验证中 : tigervnc-server-1.3.1-9.el7.x86_64 1/1
已安装:
tigervnc-server.x86_64 0:1.3.1-9.el7
完毕!
启动服务
[root@node3 ~]# vncserver :1
New 'node3:1 (root)' desktop is node3:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/node3:1.log
[root@hadron ~]# yum install -y tigervnc
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 tigervnc.x86_64.0.1.3.1-9.el7 将被 安装
--> 正在处理依赖关系 tigervnc-icons,它被软件包 tigervnc-1.3.1-9.el7.x86_64 需要
--> 正在处理依赖关系 libfltk_images.so.1.3()(64bit),它被软件包 tigervnc-1.3.1-9.el7.x86_64 需要
--> 正在处理依赖关系 libfltk.so.1.3()(64bit),它被软件包 tigervnc-1.3.1-9.el7.x86_64 需要
--> 正在检查事务
---> 软件包 fltk.x86_64.0.1.3.0-13.el7 将被 安装
---> 软件包 tigervnc-icons.noarch.0.1.3.1-9.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
====================================================================================================================================
Package 架构 版本 源 大小
===================================================================================================================
正在安装:
tigervnc x86_64 1.3.1-9.el7 base 211 k
为依赖而安装:
fltk x86_64 1.3.0-13.el7 base 654 k
tigervnc-icons noarch 1.3.1-9.el7 base 36 k
事务概要
===================================================================================================================================
安装 1 软件包 (+2 依赖软件包)
总下载量:900 k
安装大小:2.1 M
Downloading packages:
(1/3): tigervnc-1.3.1-9.el7.x86_64.rpm | 211 kB 00:00:00
(2/3): tigervnc-icons-1.3.1-9.el7.noarch.rpm | 36 kB 00:00:00
(3/3): fltk-1.3.0-13.el7.x86_64.rpm | 654 kB 00:00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
总计 1.3 MB/s | 900 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : tigervnc-icons-1.3.1-9.el7.noarch 1/3
正在安装 : fltk-1.3.0-13.el7.x86_64 2/3
正在安装 : tigervnc-1.3.1-9.el7.x86_64 3/3
验证中 : fltk-1.3.0-13.el7.x86_64 1/3
验证中 : tigervnc-1.3.1-9.el7.x86_64 2/3
验证中 : tigervnc-icons-1.3.1-9.el7.noarch 3/3
已安装:
tigervnc.x86_64 0:1.3.1-9.el7
作为依赖被安装:
fltk.x86_64 0:1.3.0-13.el7 tigervnc-icons.noarch 0:1.3.1-9.el7
完毕!