LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Checking the version of a package (http://www.linuxquestions.org/questions/linux-newbie-8/checking-the-version-of-a-package-142321/)

_maco_ 02-04-2004 03:29 PM

Checking the version of a package
 
Hi:

I was wondering how I can check the version of a specific package, ie, gtk+, glibc. Thanks!

Marco.

david_ross 02-04-2004 03:33 PM

On what system? rpm?

rpm -qa | grep glibc

stickman 02-04-2004 03:36 PM

Or if you're on a Debian based system:
dpkg --list package
dpkg --list | grep package

_maco_ 02-04-2004 03:47 PM

Thank you.

ANother question: After the version number ie, 2.4.17, there sometimes is a -72, ie 2.4.17-72. Is that part of the version or does it have a different meaning? Thanks

Marco.

frogman 02-04-2004 05:37 PM

the -72 is usually the revision number for bug-fixes and similar.

i.e: if I have foobar-2.4.17-2 installed and someone discovers a bug in it, the package fixing that bug will be called foobar-2.4.17-3.


All times are GMT -5. The time now is 05:11 PM.