티스토리 뷰
아래 스크립트 전체 실행
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 --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install postgresql
postgresql-client-12, postgresql-12, libpq-dev, postgresql-server-dev-12 패키지를 기본으로 설치함
출처 : https://www.postgresql.org/download/linux/ubuntu/
PostgreSQL: Linux downloads (Ubuntu)
Linux downloads (Ubuntu) PostgreSQL is available in all Ubuntu versions by default. However, Ubuntu "snapshots" a specific version of PostgreSQL that is then supported throughout the lifetime of that Ubuntu version. Other versions of PostgreSQL are availab
www.postgresql.org
'Database > PostgreSQL' 카테고리의 다른 글
[PostgreSQL] The data directory contains an old postmaster.pid file (0) | 2023.01.30 |
---|---|
모든 Table Drop 하기 (0) | 2022.08.21 |
Create Database (0) | 2022.08.17 |
댓글