Centos – Install PostgreSQL client (psql) only on CentOS

centospostgresqlrpmsoftware installation

Simple question, but no resources found about this. Is there any way to install only a PostgreSQL client, the terminal-based one, psql, on a CentOS7 system, without installing the complete PostgreSQL server? There is no dedicated postgresql-client or postgresql94-client or anything similar on the repositories.

Best Answer

I think the naming convention might simply be backwards from what you expect there: there's a package

postgresql-server The programs needed to create and run a PostgreSQL server

and a package

postgresql PostgreSQL client programs

(and postgresql does not have a dependency on postgresql-server, at least not in CentOS 6, though they both depend on a common postgresql-libs package).

Related Question