How to install psql without Postgres?
I need the psql command line tools, but I don't need the actual Postgres RDBMS. This is to work with a package which supports a psql interface.
Is it possible to install just psql?
(Ubuntu 16.04)
2 Answers
Oh, yes:
$ sudo apt-get install -y postgresql-client
$ psql --version
psql (PostgreSQL) 9.5.12 3 If you don't want to install anything, just download the package
Then run unpack and run ./bin/psql No installation.
The package also contains postgres server which you can run at local without installation also. For more, ref