måndag 8 september 2008

Ränsa upp bland filerna

För att lista och ta bort onödiga filer
sudo apt-get check

sudo apt-get autoclean

sudo apt-get autoremove

Citat från man sidorna för apt-get
"check
check is a diagnostic tool; it updates the package cache and checks
for broken dependencies.

autoclean
Like clean, autoclean clears out the local repository of retrieved
package files. The difference is that it only removes package files
that can no longer be downloaded, and are largely useless. This
allows a cache to be maintained over a long period without it
growing out of control. The configuration option
APT::Clean-Installed will prevent installed packages from being
erased if it is set to off.

autoremove
autoremove is used to remove packages that were automatically
installed to satisfy dependencies for some package and that are no
more needed."


Deborphan visar en lista på beroenden som inte längre behövs för att programmet är av installerat (försäkerhetskull kolla om de VERKLIGEN är onödiga, lita inte blint på listan som visas)
Installera programet genom att skriva:
sudo aptitude install deborphan

Skriv sedan:
sudo deborphan

För att köra programmet.

Inga kommentarer: