免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 878 | 回复: 0
打印 上一主题 下一主题

Managing Software with yum [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-09-02 09:48 |只看该作者 |倒序浏览
本文选自:http://www.centos.org/docs/5/html/yum/index.html
                 
1、本文都是以tsclient为例,tsclient(Terminal Sever Client) 是一个远程登录xp的软件详见另篇
2、包名字组成:tsclient-0.132-4.i386.rpm
    *  Package name: tsclient
    *  Package name with version and release numbers: tsclient-0.132-4
    *  Package name with hardware architecture: tsclient.i386
3、安装、更新、删除:
   1)、Installing New Software with yum
       su -c 'yum install tsclient'
    2)、To install the package group MySQL Database
      su -c 'yum groupinstall "MySQL Database"'
    3)、To update the tsclient package to the latest version
        su -c 'yum update tsclient'
    4)、To update all of the packages in the package group MySQL Database,
        su -c 'yum groupupdate "MySQL Database"'
    5)、To remove the tsclient package from your system
        su -c 'yum remove tsclient'
    6)、To remove all of the packages in the package group MySQL Database,
        su -c 'yum groupremove "MySQL Database"'
    7)、Manually Installing Software(安装已下载到本地的包)
        su -c 'yum localinstall tsclient-0.132-4.i386.rpm'
4、Searching for Packages with yum(查找所需包)
    To search for a specific package by name,
        su -c 'yum list tsclient'    su -c 'yum list tsclient-0.132'
    search for all packages that relate to PalmPilots
        su -c 'yum search PalmPilot'
    To search for all packages that include files called libneon
        su -c 'yum provides libneon'
    To list all packages with names that begin with tsc, type:
        su -c 'yum list tsc\*'
5、Updating Your System with yum(更新系统)
    To perform a full system update
        su -c 'yum update'
    To activate automatic daily updates(设置自动更新)
        su -c '/sbin/chkconfig --level 345 yum on; /sbin/service yum start'
最后说明本人安装的系统为CentOS 5.0


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/39174/showart_372719.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP