ABC Of AIX

Welcome to the World of AIX learning!!!

RPM

with one comment

RPM stands for Red Hat Packet Manager.

Various commands used to install RPM’s in LINUX are:

# rpm –ivh <package name>

This command is used to install a package.

Where flags

i is used for install

V stands for verbose, and,

H stands for print hash marks.

# rpm –e <package name>

This command is used to erase the package from the system.

# rpm –qa

Command is used to query all rpm’s installed.

# rpm –q <package name>

Command is used to query a particular software or package.

# rpm –qi <package name>

Command is used to query software information.

# rpm –ql <package name>

Command is used to check installed location.

# rpm –qd <package name>

Command is used to query the documentation.

To query with filename,

# which <command name>

For eg:

# which mkdir

Output : /usr/bin/mkdir

# rpm –qf /usr/bin/mkdir

This command will give the complete software information.

About these ads

Written by RA

May 31, 2012 at 8:32 pm

One Response

Subscribe to comments with RSS.

  1. I’ve also found that once you’ve installed an rpm in AIX you should run the updtvpkg command too.

    Glenn Robinson

    May 31, 2012 at 9:01 pm


Views

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 )

Connecting to %s

%d bloggers like this: