Hello,
While trying to install DBD-oracle on my linux, I found these instructions in the readme file:

I simply installed SQL*Net ($ORACLE_HOME/network/admin/*) and the OCI libraries which are in $ORACLE_HOME/lib. You'll also need the header files from $ORACLE_HOME/sqllib/public/*.h and $ORACLE_HOME/rdbms/demo/*.h (you won't need them all, but you can get rid of them after DBD::Oracle compiles).

[You'll probably need at least ocommon in addition to network. But if you use the Oracle installer (as you always should) it'll probably install ocommon for you.]

So just put that stuff on your client box and install DBI and DBD::Oracle there. Once DBD::Oracle is installed you can remove the OCI libraries and headers (make sure to keep SQL*Net!) The main thing is to have a good tnsnames.ora file in $ORACLE_HOME/network/admin

I don't understand all the things that contain "$ORACLE_HOME" Is this some sort of file or directory that is already currently on the computer or is it some type of command. I don't have ORACLE on Linux, but I need to access an Oracle database. Any help would be appreciated. Thank you

20040930 Janitored by Corion - Added formatting


In reply to ORACLE HOME ENVIRONMENT by nguye103

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.