mirror of
https://github.com/opsschool/curriculum.git
synced 2026-01-15 12:15:03 +00:00
Add note on upgrading all packages with yum
This commit is contained in:
@@ -78,13 +78,19 @@ RPM and yum both make it easy to upgrade existing packages, too.
|
||||
Over time, new packages may be added to the yum repositories that are configured
|
||||
on your system, or you may have a newer RPM for an already installed package.
|
||||
|
||||
To upgrade using yum, when a newer package is available, simply ask yum to
|
||||
install it again:
|
||||
To upgrade a package using yum, when a newer package is available, simply ask yum
|
||||
to install it again:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
bash-4.0$ yum install dstat
|
||||
|
||||
To upgrade all packages that have newer versions avaliable, run:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
bash-4.0$ yum upgrade
|
||||
|
||||
To upgrade a package with an RPM file, run:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
Reference in New Issue
Block a user