2013年4月11日 星期四

yum package management

yum is used to install, update, delete packages for centos. It will do dependencies analysis and auto installed required packages.

1.update all packages installed in the system
#yum update

2.install single package
#yum install nano
#yum install vim

3.remove single package
#yum remove nano

4.upgrade single package
#yum upgrade nano

5.query information single package
#yum info nano

6.query program in which package
#yum provides */nano

It will first download, etract and install fileslist.db and return the result of query

7. list a collection of  packages  like web server, mysql database server
#yum grouplist

8.install group software like MySQL Database Server
#yum groupinstall "MySQL Database Server" "MySQL Database client"

沒有留言:

張貼留言