Rocky Linux 8에 PostgreSQL client 설치 및 삭제 방법
2025. 2. 26. 17:43ㆍ기타/PostgreSQL
728x90
SMALL
- 개요
Rocky Linux 8에 PostgreSQL client 설치 방법
- 설치 및 삭제 방법
## PostreSQL Repository 추가
# sudo dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
## 설치하려는 버전의 PostreSQL Module 활성화
# sudo dnf module enable postgresql:12
## 설치
# sudo dnf install -y postgresql
## 삭제
# sudo dnf remove postgresql
# sudo dnf module reset postgresql
## 다른 버전 Module 활성화
# sudo dnf module enable postgresql:13
# sudo dnf install -y postgresql
# psql --version
728x90
LIST
'기타 > PostgreSQL' 카테고리의 다른 글
PostgreSQL dump & restore (0) | 2025.02.26 |
---|---|
postgresql 접속 방법 및 간단한 쿼리 (0) | 2022.09.22 |