software management yum and rpm

rpm => rpm is powerful package managers which can be used to build, install, query, verify, update and erase individual
packages.

yum => yellowdog updater modified. it is automatic updater and package installation and removal for rpm.

1> install
#rpm -ivh package [ full package name]
#yum install package

#rpm -ivh –force package [ install forcefully ]
#rpm -ivh –nodeps package [ not check dependency]

2> update
#rpm -u package
#yum update package

3> remove
#rpm -e package
#yum remove package

4> list install package
#rpm -qa | grep httpd
#yum list httpd

5> search available package
#yum search httpd

6> get package information
#yum info package
#rpm -qi package

7> check file with package
#rpm -ql package
#yum whatprovides ‘path of file’
#rpm -qf ‘path of file’

Posted in Fundamental

Leave a Reply