Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I am wondering if there is an easy way to make sure to get a list of all installed software on an Ubuntu server (both from source and from apt-get). This should hopefully include important data directories and cronjobs. The reason for this is that there needs to be an extra server holding the exact same software as the current machine (same cronjobs, website files, software, databases etc) but there is no documentation or list of what is installed and what is not. (This is a live-production server with always users being online, making a clone is not a feasible option due to the shear size (We are talking 1TB+ of data) and we need to get it documented somehow anyway what is installed and what is important)

share|improve this question

marked as duplicate by karel, Eric Carvalho, Luis Alvarado Jul 24 '14 at 20:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

My specific issue is that there are a lot of custom scripts and programs on it, some of which are not a package but manually compiled from source and put to run in /etc/init.d. – user271837 Apr 21 '14 at 13:19

You can use the following command to find the installed software or packages:

$dpkg --get-selections

If you want to specific installed package or software then you can use following command:

$dpkg --get-selections | grep <package/software name>
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.