I would like to search for which package provides an uninstalled command.
apt-cache search keyword
is good, but the search keyword can be all or part of a package name or any words used in its description, not necessary the name of a program/command.
Is there a better way?
For example, I can't tell which package contains the program xlock
:
$ apt-cache search xlock
away - Terminal locking program
devrplay3 - rplay network audio system - basic library
librplay-perl - rplay network audio system - perl modules
librplay3 - rplay network audio system - shared libraries
librplay3-dev - rplay network audio system - development libraries
rplay-client - rplay network audio system - basic clients
rplay-contrib - rplay network audio system - contributed binaries
rplay-server - rplay network audio system - server
xautolock - Program launcher for idle X sessions
Thanks.