Oracle 11gR2 on Debian Tips
sudo apt-get install unzip build-essential x11-utils rpm ksh lsb-rpm libaio1
As of Ubuntu 9.10, libstdc++ 5 has been replaced by version 6.
Below is how to fix the problem:
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_amd64.deb
dpkg-deb -x libstdc++5_3.3.6-17ubuntu1_amd64.deb ia64-libs
cp ia64-libs/usr/lib/libstdc++.so.5.0.7 /usr/lib64/
cd /usr/lib64/
ln -s libstdc++.so.5.0.7 libstdc++.so.5
wget http://security.ubuntu.com/ubuntu/pool/universe/i/ia32-libs/ia32-libs_2.7ubuntu6.1_amd64.deb
dpkg-deb -x ia32-libs_2.7ubuntu6.1_amd64.deb ia32-libs
sudo cp ia32-libs/usr/lib32/libstdc++.so.5.0.7 /usr/lib32/
cd /usr/lib32
ln -s libstdc++.so.5.0.7 libstdc++.so.5
Note:
The package names in Ubunto differ from RHEL and the OUI system check will report several missing. You can ignore them, but you will probably need to install some or all of the following packages first:
sudo su -
apt-get install build-essential
apt-get install libaio1
apt-get install libaio-dev
apt-get install libmotif3
apt-get install libtool
apt-get install expat
apt-get install alien
apt-get install ksh
apt-get install pdksh
apt-get install unixODBC
apt-get install unixODBC-dev
apt-get install sysstat
apt-get install elfutils
apt-get install libelf-dev
apt-get install binutils
apt-get install lesstif2
apt-get install lsb-cxx
apt-get install lsb-rpm
Btw, to make the arrow-keys work properly in 'vi':
apt-get install vim-runtime
apt-get install vim
To make ssh work:
apt-get install ssh
passwd oracle
In case someone else runs into the same issues......
cp ia-libs/usr/lib/libstdc++.so.5.0.7 /usr/lib
cd /usr/lib
ln -sf libstdc++.so.5.0.7 libstdc++.so.5
# ln -s /usr/bin/awk /bin/awk
# ln -s /usr/bin/rpm /bin/rpm
# ln -s /usr/bin/basename /bin/basename
# mkdir /etc/rc.d
# for i in 0 1 2 3 4 5 6 S ; do ln -s /etc/rc$i.d /etc/rc.d/rc$i.d ; done
# mkdir -p /u01/app/oracle
# chown -R oracle:dba /u01