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

I would like to know what is the name of the Ubuntu package that finds out for us on the terminal what package to install.

As an example, imagine that I don't have gparted installed. I just open the terminal and type gparted on it, and a message like this appears:

"gparted" was not found.
The program 'gparted' is currently not installed.  You can install it by typing:
sudo apt-get install gparted

So my question is: What is the name of the package that allows this message to appear ?

share|improve this question
up vote 1 down vote accepted

From this reference, it is auto-apt. It will, upon a failure to find an executable file, check the database of files installable by apt-get and give the correct package(s) to use. command-not-found also appears to perform this functionality.

share|improve this answer

I guess it should be provided by command-not-found package. This package also provides the feature that suggests similar command names when your command is not found:

$ gdit
No command 'gdit' found, did you mean:
  Command 'edit' from package 'mime-support' (main)
  Command 'gedit' from package 'gedit' (main)
  Command 'gdis' from package 'gdis' (universe)
  Command 'git' from package 'git' (main)

Source: CrunchBang Linux Forums

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.