Software Audit

Hi,

I am new to Linux, but have been given the task of performing a software audit on 10 Linux servers. Can anyone point me in the direction of a tool or method to determine all of the applications that are installed on a PC together with their versions. The servers are running a mixture of Suse 9.3 and 9.4. I am thinking of a tool ideally something like the Belarc Advisor app for Windows PCs, but anything that gives me the information is good enough.

Thanks

in opensuse running as admin or root rpm -qa will give you a list of all installed components and the version you have. Not sure how it works on different flavours of linux(never tried), it might not be exactly what you want but it’s a start(for more info do a man rpm).

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

‘supportconfig’ is a tool Novell created/maintains that is used by Support
specifically along with many others to get information to help fix a
machine’s issues. It runs on SLES 9 so that should help but essentially
you can get a list of all the installed RPMs from the RPM command:

rpm -qa

Get the stuff installed most-recently (last) as the first stuff in your
list with:

rpm -qa --last

Good luck.

ChrisFlockhart wrote:
> Hi,
>
> I am new to Linux, but have been given the task of performing a
> software audit on 10 Linux servers. Can anyone point me in the direction
> of a tool or method to determine all of the applications that are
> installed on a PC together with their versions. The servers are running
> a mixture of Suse 9.3 and 9.4. I am thinking of a tool ideally something
> like the Belarc Advisor app for Windows PCs, but anything that gives me
> the information is good enough.
>
> Thanks
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJKLpFGAAoJEF+XTK08PnB55kcQAJYmWJC8tU8NpdMeE1E3DeoR
Ud73agF/JBfb7JQeSFM6W1PXzE0zLM9GCsDavOsSDPjVQcgBqC8LJCN7Ev/dshaZ
4C//wG4Zsm/vEfsNa+TUqR2IASTD3C4J7j23vtG3PhLRBsA/a0n2RQ2vYRn7lYjL
v293tkFPN8s4pLKckVWw9spyZmSOaPTpO2jHDus9Jik+hYO3fl4L2etln9kblgG2
oHkQRBuvfVR7emEEHfgmpIKbKYC1nN4yshkGHq12bPv4SO3AgSWsILvjuzgxl9rc
Et+qVJINL9Ms1Yz4conbBHuFSrlhgmxTEzHKHxR51RS8Iv5+0yF2VnfbB6FdCVCf
pzIoMdMsupk4OXJD37brhE6ekdMKUKzWE5DAhFao3+znpUq8XAn/4Elt95VP28cl
L7h/szskEgCcwr/EbQi49I5/L816xtKyEbhH6a78hHjBw06ll/30CFz57G8MGM/Q
8zyfFttBzRpkz2HlewWUWJQNmea9V9W1ZNmNR+Ci2RUN8x7NSuoXQHpH5jZyc2E7
aR8chulEBJFk4G4Bkdo+/EjB1vCxIBKKOi7GIWmSV+30pBCFKciZRWE3Lo5eOlWV
ARAxfUWSREgiB42qrnA/MOseJgRWsxOg3+0SQEhXm92DnTUyOnsUcbTaydtvS2n7
vbkx/T8rz0KVWhcoI63f
=OHAn
-----END PGP SIGNATURE-----

ChrisFlockhart wrote:

> I am new to Linux, but have been given the task of performing a
> software audit on 10 Linux servers. Can anyone point me in the direction
> of a tool or method to determine all of the applications that are
> installed on a PC together with their versions. The servers are running
> a mixture of Suse 9.3 and 9.4. I am thinking of a tool ideally something
> like the Belarc Advisor app for Windows PCs, but anything that gives me
> the information is good enough.

Go to YaST / Software / Software management and then File / export and save
the *.xml file.

Now you can the process that xml file with some formatting (i.e., using css
or xslt transformations).

Greetings,


Camaleón

Am I right in thinking that this will fail with any apps that you have installed without using rpm? this may or may not be a consideration for you.

Not sure how it works on different flavours of linux(never tried), it might not be exactly what you want but it’s a start(for more info do a man rpm).

Well, if you have any boxes that don’t use rpms (eg, debian, slackware) it won’t work on those.