CentOS PostgreSQL 클라이언트 설치

1 개요[ | ]

리눅스 postgresql 클라이언트 설치
리눅스 psql 설치
CentOS postgresql 설치

2 확인[ | ]

[root@zetawiki ~]# psql -V
-bash: psql: command not found

3 설치[ | ]

[root@zetawiki ~]# yum install postgresql
... (생략)
=====================================================================================================
 Package                     Arch               Version                    Repository           Size
=====================================================================================================
Installing:
 postgresql                  x86_64             8.4.20-5.el6_7             updates             2.6 M
Updating for dependencies:
 postgresql-libs             x86_64             8.4.20-5.el6_7             updates             202 k

Transaction Summary
=====================================================================================================
Install       1 Package(s)
Upgrade       1 Package(s)

Total download size: 2.8 M
Is this ok [y/N]: y
... (생략)
Installed:
  postgresql.x86_64 0:8.4.20-5.el6_7                                                                 

Dependency Updated:
  postgresql-libs.x86_64 0:8.4.20-5.el6_7                                                            

Complete!

4 확인 2[ | ]

[root@zetawiki ~]# psql -V
psql (PostgreSQL) 8.4.20
contains support for command-line editing

5 같이 보기[ | ]

6 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}