Updating an RPM installation v17

If you have an existing EDB Postgres Advanced Server RPM installation, you can use yum or dnf to upgrade your repository configuration file and update to a more recent product version.

To update the enterprisedb-enterprise.repo file, assume superuser privileges and enter:

dnf upgrade enterprisedb-enterprise

dnf updates the enterprisedb-enterprise.repo file to enable access to the current EDB repository. Then, you can use dnf to upgrade all packages whose names include the expression edb:

dnf upgrade edb*
Note

The dnf upgrade command performs an update only between minor releases. To update between major releases, use pg_upgrade.

For more information about using dnf commands and options, see the dnf documentation.