From: Kurt Wall <kwall@kurtwerks.com>
From: Keith Antoine <kantoine@bigpond.net.au>
From: "Jeffrey Hawkins" <rtswguru@home.com>
The output of "rpm -qa" gives you the versions of *everything*
installed on your system:
$ rpm -qa
CameleoLight-3.50-6
DEV-3.4-2
ImageMagick-5.1.0-1
ImageMagick-devel-5.1.0-1
ImageMagick-devel-static-5.1.0-1
LPRng-3.5.3-2
LPRng-doc-3.5.3-2
LPRng-doc-ps-3.5.3-2
LPRng-lpd-3.5.3-2
LSM-19990629-1
OpenLinux-2.4-7
OpenLinux-keys-2.4-1
PHI-0.3-1
PHI-devel-0.3-1
PluginSDK-3.0b5-1
SysVinit-2.76.3-2
...
The final digit is the build number of the RPM, which is
specific to Caldera.
I have collated a list of commands that give versions of
libaraies etc that I have needed over sometime. Just wondered
if they were of any use to anyone else.
Autofs automount --version
bash bash -version
binutils ld -v
dynamic linker (ld.so) ldd --version or ldd -v
e2fsprogs tune2fs --version
gnu C gcc --version
gnu make make --version
isdn4k-utils isdnctrl 2>&1|grep version
linux libc ls -l /lib/libc*
linux C++ lib ls -l /usr/lib/libg++.so.*
modutils insmod -V
net-tools hostname -v
nfs (client) showmount --version
ncpfs ncpmount -v
pcmcia-cs cardmgr -V
ppp pppd --version
procps ps --version
procinfo procinfo -v
psmisc pstree -V
sh-utils basename -v
util-linux kbdrate -v or chsh -v
X free X --showconfig
-----------------
Referencing the StepxStep for Program Versioning, you may want
to add the TIP of how to query the version for a particular
package:
rpm -qa | grep <package>
Replace <package> with a portion of the package name.
For example, to get the version #s for
the XFREE86 Packages:
rpm -qa | grep XFree
This will list out all the Package RPMs for XFRE86, and their
Versions.
Also of note, is that most Programs provide version
information via the usage of the "-v" (Version)
Command, or the "-h" (Help) Command, via their Command Line
Arguements.
One addition, to the command line switches I mentioned for the
Programs, also add "-V" (uppercase V) as a
Version Request Command Switch for individual Programs.
|
|
|