zoukankan      html  css  js  c++  java
  • RHEL5.8使用yum安装xclock

    使用xshell连接RHEL5.8服务器,敲入xclock命令想验证图形化安装条件,但是显示无此命令。

    [root@template ~]# xclock
    -bash: xclock: command not found

    原来这台服务器没有安装xclock,使用yum安装记录如下:

    [root@localhost ~]# yum install xorg-x11-apps
    Loaded plugins: katello, product-id, security, subscription-manager
    Updating certificate-based repositories.
    Unable to read consumer identity
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package xorg-x11-apps.x86_64 0:7.1-4.0.1.el5 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ===============================================================================================================================================================================================
     Package                                           Arch                                       Version                                           Repository                                Size
    ===============================================================================================================================================================================================
    Installing:
     xorg-x11-apps                                     x86_64                                     7.1-4.0.1.el5                                     base                                     265 k
    
    Transaction Summary
    ===============================================================================================================================================================================================
    Install       1 Package(s)
    Upgrade       0 Package(s)
    
    Total download size: 265 k
    Is this ok [y/N]: y
    Downloading Packages:
    xorg-x11-apps-7.1-4.0.1.el5.x86_64.rpm                                                                                                                                  | 265 kB     00:00     
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : xorg-x11-apps                                                                                                                                                           1/1 
    Installed products updated.
    
    Installed:
      xorg-x11-apps.x86_64 0:7.1-4.0.1.el5                                                                                                                                                         
    
    Complete!
    完成后再次在终端中敲入xclock命令弹出了可爱的钟表。
  • 相关阅读:
    win7上装红米4手机驱动提示空间不足
    HBuilder中改造console.info
    Thinkphp 出现 “_CACHE_WRITE_ERROR” 错误的可能解决办法
    Linux上跑两个版本的php,5.4.45和5.3.24
    JavaScript中对日期格式化的新想法.
    怪不得知乎急着招前端开发.
    菜鸟利用python处理大文本数据的血泪路
    Python:数字
    Python:列表,元组
    Python:映像、集合
  • 原文地址:https://www.cnblogs.com/xusweeter/p/6054700.html
Copyright © 2011-2022 走看看