When the package command-not-found
is installed, a package is suggested if a command is invoked which is not installed, for instance
$ convert
The program 'convert' is currently not installed. To run 'convert' please ask your administrator to install the package 'imagemagick'
convert: command not found
If command-not-found
is not installed, is there an apt
command I can invoke to find which package provides a specific binary? In this case the apt-cache search
command is too unspecific.
apt-file
(e.g.apt-file search 'bin/gedit'
) - but that's likely not installed by default either. Isapt-cache search --names-only gedit
specific enough? – steeldriver Jun 21 '17 at 17:23apt-file search /usr/bin/convert | grep -w '/usr/bin/convert'
– GAD3R Jun 21 '17 at 17:54