giovedì 16 luglio 2009

[Fedora] yum rapido e veloce

Ieri, dopo quasi un anno, sono tornato a Fedora provando la nuova versione: Leonidas! A primo impatto l'impressione è stata ottima. Il momento più bello è stato quando ho provato a giocare con yum e notare che con due semplici passaggi è possibile renderlo veramente veloce senza togliere nulla alle sue potenzialità.

Per farlo basta installare i seguenti pacchetti:
  • yum-presto: The presto plugin for yum adds support for downloading deltarpms and using them to generate new packages. If user enables this plugin, it will make a substantial dent in the amount of data having to be downloaded for updates.
  • yum-plugin-fastestmirror: Yum in Fedora uses a dynamic server side mirror management infrastructure that distributes the bandwidth consumptions on each of these mirrors by automatically directing the update to one of the geographically closest mirrors. This mirror is automatically checked against the master server for consistency.
L'installazione tramite yum è molto semplice. Ovviamente sono richiesti i privilegi di root.
yum install yum-plugin-fastestmirror yum-presto
Ed una volta finito il vostro yum sarà molto ma molto più veloce!

Prima di lasciarvi mi sembra giusto citare "Paul Mellors" visto che è stato in un suo post dal titolo "Fedora 11 New Install" che ho scoperto yum-presto.