diff -r c46e1545abdc -r 1559575ac211 debian-apt.rst --- a/debian-apt.rst Sun Oct 05 14:39:22 2014 +0300 +++ b/debian-apt.rst Sun Oct 05 17:19:37 2014 +0300 @@ -116,6 +116,24 @@ $ aptitude purge ~o +To remove packages that were automatically installed to satisfy dependencies and +are now no longer needed:: + + $ sudo apt-get autoremove + +Clean up packages cache. +======================== + +Remove everything from ``/var/cache/apt/archives/`` and +``/var/cache/apt/archives/partial/``:: + + $ sudo apt-get clean + +Removes package files that can no longer be downloaded, and are largely +useless:: + + $ sudo apt-get autoclean + Check package files for modification. ===================================== ::