Questo contenuto non è disponibile nella lingua selezionata.

1.5.3. Installing Signed Packages


Installation for most packages can be done safely (except kernel packages) by issuing the following command as root:
rpm -Uvh <package>…
Copy to Clipboard Toggle word wrap
For example, to install all packages in a new directory, called updates/, under the /tmp directory, run:
~]# rpm -Uvh /tmp/updates/*.rpm
Preparing...                ########################################### [100%]
   1:alsa-lib               ########################################### [ 33%]
   2:alsa-utils             ########################################### [ 67%]
   3:aspell                 ########################################### [100%]
Copy to Clipboard Toggle word wrap
For kernel packages, as root use the command in the following form:
rpm -ivh <kernel-package>
Copy to Clipboard Toggle word wrap
For example, to install kernel-2.6.32-220.el6.x86_64.rpm, type the following at a shell prompt:
~]# rpm -ivh /tmp/updates/kernel-2.6.32-220.el6.x86_64.rpm
Preparing...                ########################################### [100%]
   1:kernel                 ########################################### [100%]
Copy to Clipboard Toggle word wrap
Once the machine has been safely rebooted using the new kernel, the old kernel may be removed using the following command:
rpm -e <old-kernel-package>
Copy to Clipboard Toggle word wrap
For instance, to remove kernel-2.6.32-206.el6.x86_64, type:
~]# rpm -e kernel-2.6.32-206.el6.x86_64
Copy to Clipboard Toggle word wrap
Alternatively, to install packages with Yum, run, as root, the following command:
~]# yum install kernel-2.6.32-220.el6.x86_64.rpm
Copy to Clipboard Toggle word wrap
To install local packages with Yum, run, as root, the following command:
~]# yum localinstall /root/updates/emacs-23.1-21.el6_2.3.x86_64.rpm
Copy to Clipboard Toggle word wrap

Note

It is not a requirement that the old kernel be removed. The default boot loader, GRUB, allows for multiple kernels to be installed, then chosen from a menu at boot time.

Important

Before installing any security errata, be sure to read any special instructions contained in the errata report and execute them accordingly. Refer to Section 1.5.4, “Applying the Changes” for general instructions about applying the changes made by an errata update.
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat