Answer the question
In order to leave comments, you need to log in
Postgresql 9.5 ubuntu how to install?
Hello, I'm trying to install Postgresql 9.5 on ubuntu
I'm doing everything step by step from this tutorial https://www.youtube.com/watch?v=dSqosCc_KLA
I
stopped at the step where I need to enter the psql command (4:54 minute video)
I get an error
psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Answer the question
In order to leave comments, you need to log in
Yesterday I rolled Postgres 9.5 without problems on off. manual .
1. Follow the link .
2. We look at the version of our Ubuntu distribution with the command:
3. In the drop-down list (see screenshot), select our version to form a link to the repository.
After selecting in the drop-down list, the link will be generated in the field below automatically.
4. Add the repositories with this link to the /etc/apt/sources.list.d/pgdg.list file with the command:
insert a line into the file
deb apt.postgresql.org/pub/repos/apt trusty-pgdg main
sudo apt-get update
sudo apt-get install postgresql-9.5
There is an option without connecting repositories.
Download, make the file executable, run.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question