RPM MANAGEMENT
rpm -i <abc.rpm> -> install rpm
rpm -ivh <abc.rpm> -> install rpm verbosely and show hashes
i ->install
v ->verbose
h ->hash (show the progress in hash "#")
rpm -i --nodeps <rpm> -> install rpm without checking for dependencies
rpm -e <.rpm> -> This command is used to erase or uninstall a package or rpm
rpm -e --nodeps <rpm> -> uninstall rpm without checking for dependencies
rpm -evv <rpm> -> This command is used to see the uninstallation process
-vv -> very verbose
rpm -e -vv <rpm> --test -> This command is used to test a package before uninstalling
rpm -Uvh <rpm> -> This command is used to upgrade (uninstall and install) rpm verbosely and show hashes
rpm -Fvh <rpm> -> This command is used to freshen a package.
Which means it install only if an older version exist .
rpm -qa -> This command is used to see the list of all the packa ges installed in the system (installation packages and also the third party packages)
rpm -q <rpm> -> displays the rpm if it is installed but rpm name
should be accurate
rpm -qa | grep ^<rpm> -> This command will query everything realated to a
particular package
-
No comments:
Post a Comment