How to Install and Uninstall postgresql-upgrade.x86_64 Package on Amazon Linux 2

Last updated: September 21,2024

1. Install "postgresql-upgrade.x86_64" package

Here is a brief guide to show you how to install postgresql-upgrade.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install postgresql-upgrade.x86_64

2. Uninstall "postgresql-upgrade.x86_64" package

In this section, we are going to explain the necessary steps to uninstall postgresql-upgrade.x86_64 on Amazon Linux 2:

$ sudo yum remove postgresql-upgrade.x86_64 $ sudo yum autoremove

3. Information about the postgresql-upgrade.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : postgresql-upgrade
Arch : x86_64
Version : 9.2.24
Release : 6.amzn2
Size : 2.2 M
Repo : amzn2-core/2/x86_64
Summary : Support for upgrading from the previous major release of
: PostgreSQL
URL : http://www.postgresql.org/
License : PostgreSQL
Description : The postgresql-upgrade package contains the pg_upgrade utility and
: supporting files needed for upgrading a PostgreSQL database from
: the previous major version of PostgreSQL.