Only one of them requires readwrite system administrator privileges (eg sudo). apt-cache can be run by any user as it doesn't expose any secret data and can't be used to make changes. apt-get can install and uninstall software as well as download packages and thus needs root privileges in the classic UNIX model.
CydeWeys|10 years ago
pherq|10 years ago
unknown|10 years ago
[deleted]
krylon|10 years ago
I think it's similar with the pkg command on FreeBSD.
konfou|10 years ago