10
1
I remember that on one Debian system, I used apt install package
to install a package. It asked for a password afterwards and was more convenient than sudo apt-get install
.
Now I am not sure how I managed to use the first command. Can you help?
1The question mentions Debian which does not use
sudo
by default. In Debian, you have to create alias which use root privilege in /root/.bashrc. – ppr – 2015-12-12T23:50:21.023apt
appears to be it's own command now (Ubuntu 16.10). For example instead ofapt-get update
you can just toapt update
now or instead ofapt-cache search
you can just doapt search
. So making an aliasapt
toapt-get
might be a bade idea now. – Z boson – 2017-01-24T14:43:28.290The
– Z boson – 2017-01-24T14:53:33.010apt
command appeared with Debian Jessie http://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html#s-apt-getyou are right, and since i'am using zsh autocompletion still works, that's great thanks. – Jeremia – 2012-08-22T11:14:48.320