Mar
20

Install PgAdmin 1.8.x on Debian

To install PgAdmin 1.8.2 on Debian testing / sid take the following steps:

  1. Prepare dir:
    cd /tmp
    mkdir my_pgadmin
    cd my_pgadmin
  2. Get sources
    wget http://www.enrici.com/debian/pgadmin/debian/1.8.2/pgadmin3_1.8.2-1%7Epgao1.diff.gz
    wget http://www.enrici.com/debian/pgadmin/debian/1.8.2/pgadmin3_1.8.2-1%7Epgao1.dsc
    wget http://www.enrici.com/debian/pgadmin/debian/1.8.2/pgadmin3_1.8.2-1%7Epgao1_i386.changes
    wget http://www.enrici.com/debian/pgadmin/debian/1.8.2/pgadmin3_1.8.2.orig.tar.gz
  3. Update sources.list
    sudo su
    echo "deb http://ftp.de.debian.org/debian/ experimental main non-free contrib" \
     >> /etc/apt/sources.list
    aptitiude update
    aptitude install libxslt1-dev
    aptitude install -t experimental libwxgtk2.8-dev
    exit
  4. Compile:
    dpkg-source -x *.dsc
    cd pgadmin3-1.8.2
    dpkg-buildpackage -rfakeroot
  5. Install:
    cd ..
    sudo su
    dpkg -i pgadmin3-data_1.8.2-1*_all.deb
    dpkg -i pgadmin3_1.8.2-1*_i386.deb

Tutorial based on http://www.nabble.com/Compiling-PgAdmin-1.8.x-(…).html

Leave a comment