DEV Community

Muhammad Farooq
Muhammad Farooq

Posted on

2

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 http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'

# Import the repository signing key:
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -

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

I hope this will help you.

Reference

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

see more about Apache Age:

official website: https://age.apache.org/

Github: https://github.com/apache/age

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs