Portal Home > Knowledgebase > Articles Database > Listing installed software on a server


Listing installed software on a server




Posted by Ulysses, 08-23-2007, 11:18 PM
Hi, What is the best way to get a list of all the software installed on a Linux server? Are there specific shell commands for this? Thanks

Posted by jon-f, 08-23-2007, 11:27 PM
not really for all the software, for hosting if you wanna show what software you got there is a few sysinfo scripts and for php related phpinfo. if you are on redhat based distro you can list all rpms installed. But that isnt all software most of the time if you have things compiled in or installed some other way rpm -qa

Posted by derek.bodner, 08-24-2007, 06:44 AM
What distribution? rpm -qa on a redhat/centos server is a good start (although won't help you with compiled software).

Posted by whmcsguru, 08-24-2007, 07:31 AM
Impossible. Yes, RPM can help, as can any "packaging utility", but most likely that's not going to give you what you're looking for specifically. You can START with RPM, but you're going to need to narrow that down quite a bit, because RPM usually (usually) won't cover things such as perl modules, outsourced stuff, web applications (billing client, etc) and other stuff.

Posted by david510, 08-24-2007, 07:32 AM
Ulysses, What softwares you wish to see? User specific or system specific?

Posted by Ulysses, 08-24-2007, 07:45 AM
Good point. Actually it's a CentOS 4. I should have mentioned that.

Posted by Ulysses, 08-24-2007, 07:52 AM
System specific, so we can have the client's new dedicated server setup just like the server we built the script. The idea is to ensure that the whole site can be migrated with as little trouble as possible. Thanks

Posted by david510, 08-24-2007, 08:06 AM
If you have the OS installed on the new server with the same release and version all softwares should be there. Now, there may be addon like firewall installs, other security installs such as mod_sec etc. To find out those, you must go through the main configurations files on the old server. There is no single step procedure to find out these kind of installs.

Posted by Woooo, 08-24-2007, 01:17 PM
I can recommend you to install webmin for managing the box. It have an option which shows all modules available on a machine.

Posted by alrhost, 08-24-2007, 01:24 PM
I think it's impossible to list all software installed on server but if you installed a fresh copy of OS then why don't you read about that OS

Posted by kgs_namboothiri, 08-24-2007, 02:27 PM
Hi, You can use rpm -qa for this.If you want redirect this to a file then you can use as... # rpm -qa >filename

Posted by Ulysses, 08-24-2007, 05:26 PM
Thanks for all the suggestions. I think we have managed to get enough information to set up the new server as closely as posible to the current one, so hopefully, the site/scripts will migrate without too much fuss. Thanks again. PS. Wouldn't it be nice of someone coded a script just for such a thing and added it to (say) WHM etc.

Posted by david510, 08-24-2007, 11:41 PM
Well, it is really difficult. Different OS has different kind of softwares and installs. Also the addons on a live server varies with the performance tuning on the server. Some requires addons for apache, some need addons for mysql etc. So a generalized situation cannot be achieved.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
mysql 4.1 max per hour (Views: 593)
Expose: data php. (Views: 556)
crunchhost.com down? (Views: 640)