DEV Community

Muhammad Farooq
Muhammad Farooq

Posted on

How to install postgresql-server-dev-11 on ubuntu

to install postgresql-server-dev-11 on ubuntu

you need to run this command:

sudo apt install postgresql-server-dev-11

but it may give the following Error:

Unable to locate package postgresql-server-dev-11

This is probably happening because your version of Ubuntu does not have this package available. You could add the PostgreSQL package repository on your system, add the GPG key of it, and then update the package list. Just use these commands:

# Create the file repository configuration:
sudo sh -c 'echo "deb $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'

# Import the repository signing key:
wget --quiet -O - | sudo apt-key add -

# Update the package lists:
sudo apt-get update
Enter fullscreen mode Exit fullscreen mode

I hope this will help you.


postgresql-server-dev-11 is recommended for the installation of apache Age and Age viewer

see more about Apache Age:

official website:


Top comments (0)