How to implement package install suggestion on Debian?
I have noticed that while on Ubuntu, if I type the following:
I have noticed that while on Ubuntu, if I type the following:
I have a machine with Python 2.6 installed as the default Python. Then, I installed Python 2.7, and manually created /usr/bin/python as a symlink to the new installation.
So, when a command is not found, by what means is the “did you mean:” list populated?
What program finds these alternate commands?
What is the meaning of: “(main), (universe)…”?
Can I change which program finds these?
I didn’t see any hits about this on google, so I’m asking you:
In the default configuration of bash in ubuntu, when you type the
name of a software which is not installed, bash explains how to install it if
the executable if it exists, or how to install an executable with a really close name if it does not exist.
For example with emacs (which is not installed on my machine):
Often when I mistype a command such as ls (e.g. I hit ENTER before I type ‘s’) there is a long (~2s) delay after the terminal displays: