From Fedora Project Wiki

< Tools‎ | yum

Revision as of 13:07, 5 February 2010 by Lewis41 (talk | contribs)

yum

yum è un gestore di pacchetti software. E' uno strumento usato per installare, aggiornare, e rimuovere pacchetti e loro dipendenze, su sistemi basati su RPM. Automaticamente individua le dipendenze e le operazioni da eseguire per installare i pacchetti. Inoltre semplifica la gestione di gruppi di macchine.

Le principali proprietà sono:

  • Supporto per repository multipli
  • Configurazione semplice
  • Individuazione delle dipendenze
  • Comportamento consistente con RPM
  • Supporto a gruppi di pacchetti, inclusi gruppi di repository multipli
  • Interfaccia semplice

yum usa un repository online per impostazione predefinita, ma è possibile anche impostare repository locali per i pacchetti. Per maggiori informazioni su yum, vedere Yum guides. Anche le pagine di man su un sistema Fedora in esecuzione offrono buone informazioni di base. In un terminale usare il comando

man yum

per avere alcune informazioni su yum.

Il progetto yum si trova sul sito yum.baseurl.org.

Per yum è disponibile una interfaccia grafica (GUI)?

Fedora usa l'interfaccia PackageKit per gestire i pacchetti in modalità grafica.

Fedora uses PackageKit gui frontends as graphical package managers and update tools. You can also use Yum Extender (yumex). It can be installed if required with the following command:

yum install yumex


How is the speed of yum compared to APT-RPM?

yum automatically checks the repository every time you perform a command, except when run in shell mode, while APT only checks it when you run 'apt-get update' manually. This causes it to appear slower than it is. If you want yum to run from cache instead of checking the repositories, run 'yum -C <command>'. See the man page for details.

yum now uses sqlite for its back-end database by default. This results in an edge in speed over older versions of yum. Beginning with Fedora Core 4, yum contains significant improvements that make it faster and more capable than older versions.

What about other advanced features like those in APT that aren't available in yum?

The yum-utils package has various additional utilities that might provide you with the additional features you want. Seth Vidal has a blog post explaining the various tools available in it.

yum install yum-utils

You will need to have root privileges to use these commands.

Additional tools are in the works.


Idea.png
NOTE
Information about APT is available from the Apt page.

Tips and Tricks

Yum halts if there is any dependency problem within the repository to be safe and doesnt perform partial updates.Use the Yum skip-broken plugin if you would like that. Refer to the draft guide for more details.

Kindly ensure that you report any dependency issues to the appropriate repository bug tracker or post to the relevant project list if it requires more discussions.