How to Install and Uninstall python-psycopg2.x86_64 Package on Amazon Linux 2

Last updated: June 02,2024

1. Install "python-psycopg2.x86_64" package

In this section, we are going to explain the necessary steps to install python-psycopg2.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install python-psycopg2.x86_64

2. Uninstall "python-psycopg2.x86_64" package

Please follow the steps below to uninstall python-psycopg2.x86_64 on Amazon Linux 2:

$ sudo yum remove python-psycopg2.x86_64 $ sudo yum autoremove

3. Information about the python-psycopg2.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : python-psycopg2
Arch : x86_64
Version : 2.5.1
Release : 3.amzn2.0.2
Size : 131 k
Repo : amzn2-core/2/x86_64
Summary : A PostgreSQL database adapter for Python
URL : http://www.psycopg.org/psycopg/
License : LGPLv3+ with exceptions
Description : Psycopg is the most popular PostgreSQL adapter for the Python
: programming language. At its core it fully implements the Python
: DB API 2.0 specifications. Several extensions allow access to many
: of the features offered by PostgreSQL.