Offline PEAR install in DAB Makefile


Active Member
Feb 26, 2009
Chennai - India & Singapore
For a Wheezy DAB Template the following lines were used to install PEAR and the Horde-Pear Packages needed:
    # Start of PEAR Manual Install
    mkdir -p ${BASEDIR}/usr/src/pear
    unzip -o -d ${BASEDIR}/usr/src/pear
#    dab exec pear install /usr/src/pear/Archive_Tar-1.3.12.tgz /usr/src/pear/Console_Getopt-1.3.1.tgz /usr/src/pear/XML_Util-1.2.3.tgz
#    # Ignore Console_GetoptPlus_beta for now even though it does not break anything as yet
    dab exec pear upgrade --force /usr/src/pear/*.tgz
    rm -rf ${BASEDIR}/usr/src/pear
    install -m 0700 PEAR-1.9.5.tgz ${BASEDIR}/root/PEAR-1.9.5.tgz
    dab exec pear upgrade -f /root/PEAR-1.9.5.tgz
    rm -f ${BASEDIR}/root/PEAR-1.9.5.tgz
#    # wget -O horde-channel.xml
    install -m 0755 horde-channel.xml ${BASEDIR}/usr/src/horde-channel.xml
    dab exec pear channel-add /usr/src/horde-channel.xml
    rm -f ${BASEDIR}/usr/src/horde-channel.xml
    mkdir -p ${BASEDIR}/usr/src/horde
    unzip -o -d ${BASEDIR}/usr/src/horde
    dab exec pear install -f /usr/src/horde/*.tgz
    rm -rf ${BASEDIR}/usr/src/horde
    # End of PEAR Manual Install
    dab exec ln -s /usr/share/php /usr/share/pear


IPs: => => => =>
Last edited:


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!