Skip to content

Instantly share code, notes, and snippets.

@cyberplanner
Forked from rainly/gist:1990246
Created December 24, 2016 12:12
Show Gist options
  • Save cyberplanner/8253b9d841a9659655fa6e9a961b7596 to your computer and use it in GitHub Desktop.
Save cyberplanner/8253b9d841a9659655fa6e9a961b7596 to your computer and use it in GitHub Desktop.
Installing pgAdmin3 from source on linux(mint)
准备:
libxml2 2.6.18 or above from http://www.xmlsoft.org/
libxslt 1.1.x or above from http://www.xmlsoft.org/
先查看当前系统中是否有安装libxml2,libxslt这两个库,如果没有请到下面的网站中去下载安装
# sudo apt-get install libxml2-dev
# sudo apt-get install libxslt1-dev
由于安装pgAdmin3需要wxGTK,所以也要下载wxGTK
wxGTK 2.8.x from http://www.wxwidgets.org/
pgAdmin3的源码:
http://ftp.postgresql.org/pub/pgadmin3/release/v1.14.2/src/pgadmin3-1.14.2.tar.gz
# cd /usr/src
# sudo wget -c http://cdnetworks-kr-1.dl.sourceforge.net/project/wxwindows/2.8.12/wxGTK-2.8.12.tar.gz
# sudo tar -zxvf wxGTK-2.8.12.tar.gz
# sudo wget -c http://ftp.postgresql.org/pub/pgadmin3/release/v1.14.2/src/pgadmin3-1.14.2.tar.gz
# sudo tar -zxvf pgadmin3-1.14.2.tar.gz
# cd /usr/src/pgadmin3-1.14.2/xtra/wx-build
# sudo ./build-wxgtk /usr/src/wxGTK-2.8.12
# /usr/local/pgadmin3/bin/pgadmin3
参考:http://git.postgresql.org/gitweb/?p=pgadmin3.git;a=blob;f=INSTALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment