Results 1 to 2 of 2
If it was installed by RPM you can use this shell command (as root) to find out what version you have installed of any program on your box. Example for ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-31-2006 #1
- Join Date
- Jun 2006
HOWTO: Find a version of something
If it was installed by RPM you can use this shell command (as root) to find out what version you have installed of any program on your box.
Example for squirrelmail:
rpm --query -a | grep squirrelmail
And some others:
rpm --query -a | grep exim
rpm --query -a | grep sendmail
To see the entire list:
rpm --query -a
This isn't 100% because some programs are inside other packages. Like the "net-tools" package contains things like "ifconfig, netstat, route" and others.
For that you could use a command like this:
rpm --query -ai | grep -B 10 -A 10 netstat
- 11-05-2006 #2
- Join Date
- Oct 2004
Some distro use PKG-CONFIG for information about installed versions of applications.
The location of ".pc" files are in:
Or other locations.
You can read the ".pc" files using ordinary text editor, or "cat *.pc" to list the content of the files.
cat *.pc > application_list.txt