2

and I update/upgrade by

apt update

then

apt upgrade

what has replaced:

apt-get autoremove ?

As near as I can tell there is no

apt autoremove

command?

2

You can use either of these commands.

apt gives a bit more information, like a progress bar.

apt becomes default in Ubuntu 16.04. But still apt-get is usable.

There is no much difference how both work.

And there is apt autoremove in newer versions of apt.

apt autoremove has been added since version 1.1~exp9.

In Ubuntu 16.04 version 1.2.7 is installed at the moment.

| improve this answer | |
  • Maybe i wasn;'t clear. Im asking what the apt equivalent of autoremove is. – user218314 Mar 18 '16 at 14:03
  • The equivalent is apt autoremove but it is not implemented in a version of apt that is installed in 14.04. But it is implemented in 16.04. – Pilot6 Mar 18 '16 at 14:04
  • in 15.10 I get: chris@FILESERVER:~$ sudo apt autoremove [sudo] password for chris: E: Invalid operation autoremove – user218314 Mar 18 '16 at 14:04
  • In 16.04 it works OK. – Pilot6 Mar 18 '16 at 14:05
  • do you mean 15.10? Because It doesn't work in 15.10 – user218314 Mar 18 '16 at 14:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.