How to Install PostgreSQL on Ubuntu

# sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
# wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | sudo apt-key add -
# sudo apt-get -y install postgresql postgresql-contrib
# sudo systemctl start postgresql
# sudo systemctl enable postgresql
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install postgresql

Related Market Product

Related Documentation

Related Products

Related Course

Original Source

--

--

--

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

2. Rediscovering Common Lisp

7 Things to Look For in a Custom Software Development Company | Digital Maelstrom

FREE + PAID UCAT Resources

How To Negotiate a Project Budget for Quality?

High Level Synthesis

How to Write Go Code

Setting up GKE with Terraform Cloud

Use Kettle to Import Data to AnalyticDB for PostgreSQL

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com

More from Medium

Install Postgresql 13 on RHEL 8. Configure scram-sha-256 password authentication.

Docker deep level with architecture — part 1

How to Containerize a Flask Application using CircleCI

Introduction to Docker