(CentOS 7 64 位)请执行以下步骤:http://freevps.us/thread-2789.html我收到错误,有人可以帮助我吗?
第2步,运行此命令
yum install libICE.so.6 libImlib.so.1 libORBit-2.so.0 libSM.so.6 libX11.so.6 libXext.so.6 libXft.so.2 libXinerama.so.1 libXrandr.so.2 libXrender.so.1 libart_lgpl_2.so.2 libatk-1.0.so.0 libbonobo-2.so.0 libbonobo-activation.so.4 libbonoboui-2.so.0 libcairo.so.2 libfontconfig.so.1 libfreetype.so.6 libgconf-2.so.4 libgdk-x11-2.0.so.0 libgdk_pixbuf-2.0.so.0 libgnome-2.so.0 libgnome-desktop-2.so.2 libgnome-keyring.so.0 libgnomecanvas-2.so.0 libgnomeui-2.so.0 libgnomevfs-2.so.0 libgtk-x11-2.0.so.0 libpango-1.0.so.0 libpangocairo-1.0.so.0 libpangoft2-1.0.so.0 libstartup-notification-1.so.0 libungif.so.4 gtk+ libgdk-1.2.so.0 libglib-1.2.so.0 libgmodule-1.2.so.0 libgtk-1.2.so.0 libSDL-1.2.so.0 libX11.so.6 libasound.so.2 libbluetooth.so.2 libesd.so.0 vnc-server xterm
我明白了:
No package libImlib.so.1 available.
No package libgnome-desktop-2.so.2 available.
No package gtk+ available.
No package libgdk-1.2.so.0 available.
No package libglib-1.2.so.0 available.
No package libgmodule-1.2.so.0 available.
No package libgtk-1.2.so.0 available.
No package libbluetooth.so.2 available.
No package libesd.so.0 available.
所有日志:
[root@srv39122 ~]# yum install libICE.so.6 libImlib.so.1 libORBit-2.so.0 libSM.so.6 libX11.so.6 libXext.so.6 libXft.so.2 libXinerama.so.1 libXrandr.so.2 libXrender.so.1 libart_lgpl_2.so.2 libatk-1.0.so.0 libbonobo-2.so.0 libbonobo-activation.so.4 libbonoboui-2.so.0 libcairo.so.2 libfontconfig.so.1 libfreetype.so.6 libgconf-2.so.4 libgdk-x11-2.0.so.0 libgdk_pixbuf-2.0.so.0 libgnome-2.so.0 libgnome-desktop-2.so.2 libgnome-keyring.so.0 libgnomecanvas-2.so.0 libgnomeui-2.so.0 libgnomevfs-2.so.0 libgtk-x11-2.0.so.0 libpango-1.0.so.0 libpangocairo-1.0.so.0 libpangoft2-1.0.so.0 libstartup-notification-1.so.0 libungif.so.4 gtk+ libgdk-1.2.so.0 libglib-1.2.so.0 libgmodule-1.2.so.0 libgtk-1.2.so.0 libSDL-1.2.so.0 libX11.so.6 libasound.so.2 libbluetooth.so.2 libesd.so.0 vnc-server xterm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.plusline.de
* extras: ftp.plusline.de
* updates: ftp.plusline.de
Package libICE-1.0.8-7.el7.i686 already installed and latest version
No package libImlib.so.1 available.
Package ORBit2-2.14.19-13.el7.i686 already installed and latest version
Package libSM-1.2.1-7.el7.i686 already installed and latest version
Package libX11-1.6.0-2.1.el7.i686 already installed and latest version
Package libXext-1.3.2-2.1.el7.i686 already installed and latest version
Package libXft-2.3.1-5.1.el7.i686 already installed and latest version
Package libXinerama-1.1.3-2.1.el7.i686 already installed and latest version
Package libXrandr-1.4.1-2.1.el7.i686 already installed and latest version
Package libXrender-0.9.8-2.1.el7.i686 already installed and latest version
Package libart_lgpl-2.3.21-9.el7.i686 already installed and latest version
Package atk-2.8.0-4.el7.i686 already installed and latest version
Package libbonobo-2.32.1-7.el7.i686 already installed and latest version
Package libbonobo-2.32.1-7.el7.i686 already installed and latest version
Package libbonoboui-2.24.5-7.el7.i686 already installed and latest version
Package cairo-1.12.14-6.el7.i686 already installed and latest version
Package fontconfig-2.10.95-7.el7.i686 already installed and latest version
Package freetype-2.4.11-9.el7.i686 already installed and latest version
Package GConf2-3.2.6-8.el7.i686 already installed and latest version
Package gtk2-2.24.22-5.el7_0.1.i686 already installed and latest version
Package gdk-pixbuf2-2.28.2-4.el7.i686 already installed and latest version
Package libgnome-2.32.1-9.el7.i686 already installed and latest version
No package libgnome-desktop-2.so.2 available.
Package libgnome-keyring-3.8.0-3.el7.i686 already installed and latest version
Package libgnomecanvas-2.30.3-8.el7.i686 already installed and latest version
Package libgnomeui-2.24.5-8.el7.i686 already installed and latest version
Package gnome-vfs2-2.24.4-14.el7.i686 already installed and latest version
Package gtk2-2.24.22-5.el7_0.1.i686 already installed and latest version
Package pango-1.34.1-5.el7.i686 already installed and latest version
Package pango-1.34.1-5.el7.i686 already installed and latest version
Package pango-1.34.1-5.el7.i686 already installed and latest version
Package startup-notification-0.12-8.el7.i686 already installed and latest version
Package giflib-4.1.6-9.el7.i686 already installed and latest version
No package gtk+ available.
No package libgdk-1.2.so.0 available.
No package libglib-1.2.so.0 available.
No package libgmodule-1.2.so.0 available.
No package libgtk-1.2.so.0 available.
Package SDL-1.2.15-11.el7.i686 already installed and latest version
Package libX11-1.6.0-2.1.el7.i686 already installed and latest version
Package alsa-lib-1.0.27.2-3.el7.i686 already installed and latest version
No package libbluetooth.so.2 available.
No package libesd.so.0 available.
Package tigervnc-server-module-1.2.80-0.30.20130314svn5065.el7.x86_64 already installed and latest version
Package xterm-295-3.el7.x86_64 already installed and latest version
Nothing to do
答案1
所以,我查看了你的软件包列表,只有两个,vnc-server
而且xterm
实际上是 yum 软件包(例如 RPM)。其余的是库,并且(不幸的是)您无法通过像这样列出它们来安装文件和库(不过,这会很好)。
但是,您必须在每个文件/库上运行一个简单的 yum 命令,并且您可能会发现许多文件/库包含在相同的包中。以第一个文件为例:
yum provides */libICE.so.6
这将列出哪些包包含该文件。
然而,根据您的链接,您似乎想要 Icewm。安装它的一种方法是这样的:
yum install icewm icewm-xdgmenu icewm-clearlooks
但是,更深入地了解,您似乎正在尝试使用 Linux PC/服务器连接到 Windows PC/服务器?这带来了很多可能性(比如在 Linux 机器中虚拟化 Windows 环境),我在这里绝对不会介绍这些可能性。
然而,为了完成手头的任务,还有更棒的 yum 命令。例如,我可能会从安装整个 gnome 桌面开始,在这种情况下您可以运行:
yum groupinstall "Desktop Platform"
这将为您提供一个工作的 X GUI 桌面环境,甚至可能比icewm 更好。然后,您可以根据需要跟进特定组件,例如 vnc(客户端)或 RDP 客户端,以在 Windows PC/服务器上获取会话。