参考:How To: Setup DBD::Oracle in Ubuntu « ZenHat
# apt-get install cpanminus
cat <<EOF >> ~/.bashrc
export PERL_CPANM_OPT="-l $HOME/.perl"
EOF
# apt-get install libaio-dev
# apt-get install alien
# apt-get install build-essential
on http://www.oracle.com/technetwork/topics/linuxsoft-082809.html
2012/8/15, version 11.2.0.3-1
# oracle-instantclient11.2-{basic,sqlplus,devel}-11.2.0.3.0-1.i386.rpm oracle-instantclient11.2-basic_11.2.0.3.0-2_i386.deb generated oracle-instantclient11.2-sqlplus_11.2.0.3.0-2_i386.deb generated oracle-instantclient11.2-devel_11.2.0.3.0-2_i386.deb generated
# dpkg -i oracle-instantclient11.2-{basic,sqlplus,devel}_11.2.0.3.0-2_i386.deb
cat <<EOF >> ~/.bashrc
export ORACLE_HOME=/usr/lib/oracle/11.2/client
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
EOF
$ cpanm RPC::EPC::Service DBI DBD::Oracle
need to add "alien" in :
make deb file
alien oracle-instantclient11.2-{basic,sqlplus,devel}-11.2.0.3.0-1.i386.rpm