Oracle Client installation for Linux (Debian)
Add sources.list lines to include the repository
Add the following lines on /etc/apt/sources.list file:
###Paquets Oracle
deb http://oss.oracle.com/debian unstable main non-free
Launching Oracle Client installation
sudo apt-get update
apt-get install oracle-xe-client
The Oracle client will be installed on /usr/lib/oracle/xe/app/oracle/product/10.2.0/client directory.
Environnement variables
# Setup ORACLE variavles
ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/client
export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
export PATH=$PATH:$ORACLE_HOME/bin
Launching Oracle client
Oracle client can be launched via sqlplus command (like on Unix).
Go Back