gorbeia-(e)k argitaratua | Azaroa 14, 2012

Installing TOra with Oracle Support on Ubuntu 12.10 (Quantal Quetzal)

Get instant client packages from Oracle download page.

  • oracle-instantclient11.2-basic-
  • oracle-instantclient11.2-devel-
  • oracle-instantclient11.2-sqlplus-

If you do not have alien installed install it:

sudo apt-get install alien

Install the Oracle packages using alien:

sudo alien -i oracle-instantclient11.2-basic-
sudo alien -i oracle-instantclient11.2-sqlplus-
sudo alien -i oracle-instantclient11.2-devel-

Download the sources and the dependencies to compile the ubuntu package:

apt-get source tora
sudo apt-get build-dep tora

Prepare the environment:

export ORACLE_HOME="/usr/lib/oracle/11.2/client64"
export ORACLE_PATH_INCLUDES=/usr/include/oracle/11.2/client64/

Modify the FindOracle.cmake file:

vi tora-2.1.3/cmake/modules/FindOracle.cmake

to add the following line:


Now you can build and install the package:

cd tora-2.1.3/
fakeroot debian/rules binary
sudo dpkg -i ../tora_2.1.3-2_amd64.deb

Installing TOra with Oracle Support on Ubuntu 10.04 (Lucid Lynx)

About these ads

Utzi erantzun bat

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s



Get every new post delivered to your Inbox.

%d bloggers like this: