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

What command can I use to find the name of the package manager used by my OS?

share|improve this question
What do you mean? It is not clear to me. There are many package managers available, all based on dpkg/apt at the core, it depends on your choice. – enzotib Jan 14 '12 at 8:48
Is this a general question that spans multiple operating systems including OSes that are not Ubuntu-based? Or are you asking how to find out what package management utilities are available on your particular "flavor" of Ubuntu? – Eliah Kagan Aug 16 '12 at 11:01
up vote 2 down vote accepted

As far as I remember, there is no way to determine what package manager is used by the system through a command. Usually, the package manager used are system specific and there is no way to use an alternative of that unless they are a front-end or back-end of the package manager.

For example, Ubuntu uses dpkg. Software-center is a graphical front-end of Advanced Packaging Tool (APT), which in turn is a command line front-end of dpkg.

You can take a look at the available features of various package managers at DistroWatch.

Also, to know what package managers are used by various operating system, you can check out the list of software package management systems on Wikipedia.

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.