What is the official package for postgresql 11 on the ubuntu apt? The ones in the wiki don't work

I tried to install Postgresql from the basic apt dir with the commands listed on the ubuntu wiki which are sudo apt-get install postgresql postgresql-contrib

This returns an error, the only way that works for me if by installing it this way:

Can someone tip me about what is the correct way to install from the apt directory? Thank you!

1

1 Answer

Your 1st 3 stops should be Ubuntu packages, Launchpad and the official website.

Version 11 is only available in 19.04 and the package name and installation command is:

sudo apt install postgresql-11

Result:

$ sudo apt install postgresql-11
[sudo] password for rinzwind:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed: libllvm7 libpq5 postgresql-client-11 postgresql-client-common postgresql-common sysstat
Suggested packages: postgresql-doc-11 libjson-perl isag
The following NEW packages will be installed: libllvm7 libpq5 postgresql-11 postgresql-client-11 postgresql-client-common postgresql-common sysstat
0 upgraded, 7 newly installed, 0 to remove and 31 not upgraded.
Need to get 27,4 MB of archives.
After this operation, 104 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

if you want it in 18.04 you can also download it from the 4th link above but you will need to check all the dependencies.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like