Install oracle-xe-client_10.2.0.1-1.0_i386 on Ubuntu

1. Download oracle-xe-client_10.2.0.1-1.0_i386.deb;

2. Click and wait installation completed;

3. cd /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/bin

4. sudo vi nls_lang.sh, and replace "#!/bin/sh" by "#!/bin/bash", wq;

it will report errors if this step not ran:

./nls_lang.sh: 112: [[: not found

./nls_lang.sh: 112: [[: not found

5. ./sqlplus UNAME/PASSWORD@HOST/SERVICE_NAME

6. or run "connect UNAME/PASSWORD@HOST/SERVICE_NAME" after click on sqlplus shortcut from "Application" menu;