Listing a Yum package content

First, let’s check if glib2 is installed:

[laurent@new-host]/usr/lib> yum list installed | grep glib2
glib2.i686 2.22.5-6.el6 @base/$releasever

OK, now what is the exact RPM package name for glib2 ?

[laurent@new-host]/usr/lib> rpm -qa | grep glib2
glib2-2.22.5-6.el6.i686

Great, let’s now see what is inside this RPM package:

[laurent@new-host]/usr/lib> rpm -ql glib2-2.22.5-6.el6.i686
/etc/profile.d/glib2.csh
/etc/profile.d/glib2.sh
/lib/libgio-2.0.so.0
/lib/libgio-2.0.so.0.2200.5
/lib/libglib-2.0.so.0
/lib/libglib-2.0.so.0.2200.5
/lib/libgmodule-2.0.so.0
/lib/libgmodule-2.0.so.0.2200.5
/lib/libgobject-2.0.so.0
/lib/libgobject-2.0.so.0.2200.5
/lib/libgthread-2.0.so.0
/lib/libgthread-2.0.so.0.2200.5
...

Laurent KUBASKI

Advertisements

About lkubaski
www.kubaski.com

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

%d bloggers like this: