Some useful rpm options

Here are some options that may help you managing your rpm-based distro :

–>To which rpm package does this file belong to ?

rpm -qf /path/to/the/file

–> Full description of a rpm package

rpm -qi package_name
–>Display the changelog of a rpm package

rpm -q package_name –changelog
–>Display the content of a rpm package

rpm -pql package_name

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