command-not-found package in Ubuntu
2007 March 16
The package command-not-found is now part of the default Ubuntu Desktop installation. What does the command-not-found package do ? Let’s take an example:
lionel@ouessant:~$ mutt
The program 'mutt' is currently not installed. You can install it by typing:
sudo apt-get install mutt
bash: mutt: command not found
When a command is not found in your computer, it search in a database in which package this command is and give you the command to install it.
Great isn’t it ?
6 Responses
Post a comment
Oh yes. Trop bien. J’aurais plus besoin de faire appel à tes services maintenant.
Oh yes. too good. I won’t need your help anymore now.
PS : English is better.
Titom, what a pity that you were forced by your team mates to use zsh: it does not work with zsh
So I will still need your help. Great.
nicolasl@bumbo ~ $ sudo apt-get install command-not-found
Lecture des listes de paquets… Fait
[.....]
Paramétrage de command-not-found (0.1.0) …
nicolasl@bumbo ~ $ mutt
zsh: command not found: mutt
arg ! :p
You need to source
/etc/zsh_command_not_found for this feature to work with zsh