Ubuntu – What does ‘apt-get install update’ do

aptbashcommand line

I saw this snippet in some installation instructions:

$ apt-get install update

I know what apt-get install XXXX does and I know what apt-get update does, but I can't find any info on what this combined statement does. What does it do?

Best Answer

There is no command like this:

$ apt-get install update
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package update

Any arguments given after install will be taken by apt-get as a package name. But since there is no package update, it will fail.

Related Question