Basic RPM commands (Part 2)HARDWARE NETWORKING LINUX SOFTWAREIt Tech Technology

It Tech Technology

COMPUTER HARDWARE NETWORKING

Breaking

Home Top Ad

Post Top Ad

Friday, January 15, 2016

Basic RPM commands (Part 2)




The basic RPM commands are as follows:

-U: Lets you update or install the selected package.  This can be done via httpor ftpin addition to using local files.

-i: Allows you to install the selected package for multiple versions.

-e: allows you to remove the packages you specify.

-v: Lets printourt more information than usual. V stands for verbose.

-F: Works only if an erlier version of the package is already installed.  F stands for fresthen.

-h: Lets you improve the appearance of the RPM package when you install it and provides a progress bar. H stands for hash.

-qa: allows youto qury for every package ;installed on the system.

You can limi the search by giving it a value like rpm –qa php*

-ql: Lers you display the lists of files associated with a package.

-gg: Lets you lists all installed packages in a specific group. For example, System Environment/Shells.

-ql: Lets lists the spec file heder for the given package.  This is one of the things that make rpm useful for automation.

-force:  Lets you quit the installation.  DO NOT EVER DO THIS.  This is a last resort command ahd should only be used b functionally impaired administrators.

You can use these options for the basic package management as they help to install, remove, and update packages on your system.
Let’s learn about these in detail one by one.

NEXT-PART

Post Bottom Ad