Recently one of my bash scripts failed because
unzip were not installed on a system.
What would be a convenient way to check for installed packages in
I would like to check
$PATH directly for
cmake and the like since my script is running on Debian, Ubuntu, Arch, and so on. Thus, I would prefer to not use a package manager, because I would have to implement it several times using
pacman, ... based on the distribution the script is currently executed on.