Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to know what causes Ubuntu and/or Synaptic to recognize a program as being installed. Is there an equivalent of the Windows registry that an application has to have a entry in? Does a program have to be installed from a .*deb package to be classified as installed and show up in Synaptic? And where are files for an installed program usually kept? I know that configuration files are kept in /home/x/ but not much else.

share|improve this question

1 Answer 1

up vote 6 down vote accepted

dpkg, through apt or aptitude keeps a database of the installed software in /var/lib/dpkg/status.

You can learn more about this here and here.

My response is based on a response given in this forum discussion.

As @psusi pointed out, because apt and aptitude are merely front-ends to dpkg, it is actually dpkg that keeps track of packaging.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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