Eikonal Blog

2011.05.02

RPM (Red Hat Package Manager)

Filed under: unix — Tags: , , — sandokan65 @ 15:38

Misc

  • Interogating packages:
    • rpm -qa = lists installed packages
    • rpm -redhatrequires cron
    • rpm -redhatprovides cron
    • rpm -qpR cron *
  • Installing packages: -i = –install
    • rpm -i package1 package2 … = rpm –install package1 package2 …
    • rpm -i -nodeps package1 package2 … = install packages without their dependencies
    • rpm -U package1 package2 … = installs the latest versions of packages = updates the packages
  • Remove packages: -e
    • rpm -e package1 package2 …
    • rpm -e –force package1 … = forces uninstallation without regards for remaining dependency constraints
    • rpm -e –nodeps package1 …

Sites

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: