How To Install postgresql-jdbc.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install postgresql-jdbc.noarch
on Amazon Linux 2.
What is postgresql-jdbc.noarch
PostgreSQL is an advanced Object-Relational database management system. The postgresql-jdbc package includes the .jar files needed for Java programs to access a PostgreSQL database.
We can use yum
to install postgresql-jdbc.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install postgresql-jdbc.noarch.
Install postgresql-jdbc.noarch on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install postgresql-jdbc.noarch
using yum
by running the following command:
sudo yum -y install postgresql-jdbc.noarch
How To Uninstall postgresql-jdbc.noarch on Amazon Linux 2
To uninstall only the postgresql-jdbc.noarch
package we can use the following command:
sudo yum remove postgresql-jdbc.noarch
postgresql-jdbc.noarch Package Contents on Amazon Linux 2
/usr/share/doc/postgresql-jdbc-9.2.1002
/usr/share/doc/postgresql-jdbc-9.2.1002/LICENSE
/usr/share/doc/postgresql-jdbc-9.2.1002/README
/usr/share/doc/postgresql-jdbc-9.2.1002/pgjdbc.xml
/usr/share/java/postgresql-jdbc.jar
/usr/share/java/postgresql-jdbc2.jar
/usr/share/java/postgresql-jdbc2ee.jar
/usr/share/java/postgresql-jdbc3.jar
/usr/share/maven-fragments/postgresql-jdbc
/usr/share/maven-poms/JPP-postgresql-jdbc.pom
References
Summary
In this tutorial we learn how to install postgresql-jdbc.noarch
on Amazon Linux 2 using yum.