Rimovibili automaticamente sono pacchetti che possono essere rimossi automaticamente una volta che il software che dipende da essi non è più installato.
L'elenco completo è stampato con:
$ apt-mark showauto
Esempio
Installi il pacchetto scid
nella speranza che ti aiuti a migliorare le tue abilità di scacchi:
$ sudo apt-get install scid
...
The following extra packages will be installed:
fonts-lmodern libpotrace0 libptexenc1 libsnack-alsa libsynctex1 libtcl8.5 libtk-img libtk8.5 libzzip-0-13 lmodern scid-data tcl-snack tcl8.5 tcllib tdom tex-common texlive-base texlive-binaries texlive-games texlive-latex-base texlive-latex-base-doc tk8.5
Suggested packages:
libtk-img-doc toga2 phalanx glaurung crafty scid-spell-data scid-rating-data tcl-snack-doc tcl-tclreadline perl-tk
Recommended packages:
libsnack2
The following NEW packages will be installed:
fonts-lmodern libpotrace0 libptexenc1 libsnack-alsa libsynctex1 libtcl8.5 libtk-img libtk8.5 libzzip-0-13 lmodern scid scid-data tcl-snack tcl8.5 tcllib tdom tex-common texlive-base texlive-binaries texlive-games texlive-latex-base texlive-latex-base-doc tk8.5
0 upgraded, 23 newly installed, 0 to remove and 211 not upgraded.
Need to get 0 B/94.7 MB of archives.
After this operation, 227 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Più tardi troverai scid davvero scomodo da usare rispetto a pychess, quindi lo disinstalli:
$ sudo apt-get purge scid
...
The following packages will be REMOVED:
scid*
0 upgraded, 0 newly installed, 1 to remove and 211 not upgraded.
After this operation, 6,695 kB disk space will be freed.
Do you want to continue? [Y/n] y
Tuttavia, guarda quei calcoli: verranno utilizzati 227 MB di spazio aggiuntivo; Lo spazio su disco di 6.695 kB verrà liberato. Eh?
Potresti voler sbarazzarti di tutte quelle librerie di dipendenze su cui dipendeva lo scanner, ma ora non sono più necessarie:
$ sudo apt-get autoremove
...
The following packages will be REMOVED:
libsnack-alsa libtcl8.5 libtk-img libtk8.5 scid-data tcl-snack tcl8.5 tcllib tdom texlive-games tk8.5
0 upgraded, 0 newly installed, 11 to remove and 211 not upgraded.
After this operation, 40.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
Quindi cosa è successo con gli altri 180 MB? Non ne ho idea. Ma eccoli qui.
$ sudo apt-get purge fonts-lmodern libpotrace0 libptexenc1 libsynctex1 libtcl8.5 libtk8.5 libzzip-0-13 lmodern tcl8.5 tex-common texlive-base texlive-binaries texlive-games texlive-latex-base texlive-latex-base-doc tk8.5
...
The following packages will be REMOVED:
fonts-lmodern* libpotrace0* libptexenc1* libsynctex1* libtcl8.5* libtk8.5* libzzip-0-13* lmodern* tcl8.5* tex-common* texlive-base* texlive-binaries* texlive-games* texlive-latex-base*
texlive-latex-base-doc* tk8.5*
0 upgraded, 0 newly installed, 16 to remove and 211 not upgraded.
After this operation, 180 MB disk space will be freed.
Do you want to continue? [Y/n]
Per avere i apt
pacchetti suggeriti come richiesto, aggiungere
APT::Install-Suggests "true";
in uno dei file in /etc/apt/apt.conf.d/ .