RPM command is used for installing, uninstalling, upgrading, querying, listing, and checking RPM packages on your Linux system.
RPM stands for Red Hat Package Manager
Syntax:-
#rpm -<option> <Package Name>
Option:-
-i = Install the Package
-v = Verbose of the process
-e = Remove the packages
-q = Query of packages
-a = queries all installed packages
-h = Shows process by histograms
-i = View information about an rpm
-U = Update a Package
Examples:-
#rpm -ivh nfs* Install nfs package
#rpm –e nfs* Remove nfs package
#rpm -q nfs* Query nfs package
#rpm -u nfs* Update nfs package
No comments:
Post a Comment