Finding the package for a missing command
96 words, 1
minute
Often I’ll be working on systems which are unfamiliar. Perhaps a server using a distro I rarely touch, an SBC with some strange vendor-rolled (Linux) OS, or just an Alpine based Docker image and the only thing I remember is that it’s apk
not apt
.
Rather than googling for the package name I need to track down and install to get at whatever cli, I came across this very useful site:
https://command-not-found.com/
Search for any cli command, and it’ll tell me which package to install on every distro, and a quick reminder of the usage. Neat!