Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm a little confused with RPM package naming.

When I do:

vickey@tb:/usr/include$ rpm -qf event.h 
libevent-devel-2.0.10-2.fc15.i686

And:

vickey@tb:/usr/include$ repoquery --list  libevent-devel.i686
/usr/bin/event_rpcgen.py
/usr/include/evdns.h
/usr/include/event.h
....
....

Here in the second code box /usr/include/event.h is provided by libevent-devel.i686 but a query in the first code box shows that it belongs to the package libevent-devel-2.0.10-2.fc15.i686.

Does package manager use these aliases?

share|improve this question

migrated from stackoverflow.com Aug 8 '12 at 13:30

This question came from our site for professional and enthusiast programmers.

1 Answer 1

Forgive me if I'm simplifying things too much.

In your first example, you're are querying the local RPM database. Usually, only one version of a RPM is installed.

A repo can contain many versions of the same package. Therefore, it will display the RPM name and architecture only.

share|improve this answer
    
You might find the output of repoquery -f /usr/include/event.h interesting as well. –  jsbillings Aug 8 '12 at 15:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.