`apt clean` vs. `apt-get clean`

`apt clean` vs. `apt-get clean`

Sind diese aptBefehle identisch mit ihren apt-getGegenstücken/Namensvettern?


  • apt clean
    apt-get clean

  • apt autoclean
    apt-get autoclean

  • apt autoremove
    apt-get autoremove


Das scheint so zu sein. Ich wollte das nur bestätigen.

Antwort1

Aus man apt:

UNTERSCHIEDE ZU APT-GET(8) Der apt-Befehl ist für Endbenutzer angenehm zu bedienen und muss nicht wie apt-get(8) abwärtskompatibel sein. Daher sind einige Optionen anders:

   ·   The option DPkgPM::Progress-Fancy is enabled.

   ·   The option APT::Color is enabled.

   ·   A new list command is available similar to dpkg --list.

   ·   The option upgrade has --with-new-pkgs enabled by default.

verwandte Informationen