|
1414.
|
|
|
Often software in Ubuntu depends on other packages being installed on your system in order to run correctly. If you attempt to install a new package and these \emph{dependencies} are not already installed, Ubuntu will automatically download and install them for you at the same time (provided the correct packages can be found in your repositories). When you remove a package in Ubuntu, however, any dependencies that were installed alongside the original package are not also automatically removed. These packages sit in your system and can build up over time, taking up disk space. A simple way to clean up your system is to use the \commandlineapp{apt-get} \code{autoremove} command. This will select and remove any packages that were automatically installed but no longer required.
|
|
|
Programmer i Ubuntu kræver ofte, at du installerer andre pakker på dit system for at de kan køre rigtigt. Hvis du forsøger at installere en ny pakke, mens disse \emph{afhængigheder} ikke er installeret, vil Ubuntu automatisk hente og installere dem for dig på samme tid (såfremt de rigtige pakker forefindes i programarkiverne). Når du fjerner en pakke i Ubuntu, vil eventuelle afhængigheder, som blev installeret med den oprindelige pakke, dog ikke blive fjernet automatisk. Disse pakker bliver siddende i dit system og kan hobe sig op med tiden, mens de optager diskplads. En nem måde at rydde op i dit system på er ved at bruge kommandoen \commandlineapp{apt-get} \code{autoremove}. Denne vil vælge og fjerne enhver pakke, der automatisk blev installeret, men som ikke længere er nødvendig.
|