Posted by: isaraffee | August 29, 2009

Revisit RPM in Mandrivia Spring 2009

Revisit RPM in Mandrivia Spring 2009

Let’s look at some of the most important options when using th erpm command. Let’s say you want to find out which package a command belongs to. For example to know which pacakge the iwconfig command belongs to, type:

[root@localhost ~]# rpm -qf /sbin/iwconfig

wireless-tools-29-3mnb2

And if you want to find out the wire-tools package contains what commands, type:

[root@localhost ~]# rpm -ql wireless-tools

/sbin/ifrename

/sbin/iwconfig

/sbin/iwevent

/sbin/iwgetid

/sbin/iwlist

/sbin/iwpriv

/sbin/iwspy

/usr/share/doc/wireless-tools

/usr/share/doc/wireless-tools/CHANGELOG.h

/usr/share/doc/wireless-tools/COPYING

/usr/share/doc/wireless-tools/DISTRIBUTIONS.txt

/usr/share/doc/wireless-tools/HOTPLUG.txt

/usr/share/doc/wireless-tools/INSTALL

/usr/share/doc/wireless-tools/PCMCIA.txt

/usr/share/doc/wireless-tools/README

<output is truncated for brevity>

Advertisements

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

Categories

%d bloggers like this: