Thursday, 17 March 2011

RedHat Package Manager

RedHat Package Manager:

To install a package
To delete a package
To overrite a package
To verify a package
#rpm option packagename
Example:
rpm -ivh kernel*

i- for install [install the prticular package]
v- for verbose[to process will dsiplay on the screen]
h- for hash[to display the symbol ###]

Overrite the package[already installed]:
#rpm -ivh --force package name
Example:
#rpm -ivh --force vsftpd

verify the package:
#rpm -qa

Remove the package:
# rpm -e package name
Example:
# rpm -e vsftpd

To avoid dependency:
# rpm-ivh -nodeps dhcp

delete but we don't package name:
# rpm -qa| grep vsftpd
-- to display all vsftpd files.

No comments:

Post a Comment