mostly supersedes apt-get/apt-cache/etc tools,
Except for in scripts. Debian guarantee that the output format of apt-get
will never change and thus it's safe to use in scripts that parse the output, whereas they don't have the same guarantee for apt
, which can change between releases.
I'd recommend avoiding aliases that conflict with regular commands, and there's a standard Linux command called
install
. https://man7.org/linux/man-pages/man1/install.1.htmlIf you're going to always pass the -y flag then I'd add --no-install-recommends too.