How to install Oracle Instant Client on a Mac?

后端 未结 4 1489
清酒与你
清酒与你 2020-12-13 07:14

How to install Oracle Instant Client Version 12.1.0.2 (64-bit) on a Mac (OS X 10.11.5)

I have downloaded version 12.1.0.2 (64-bit) version and unzipped the file.

4条回答
  •  囚心锁ツ
    2020-12-13 08:17

    HomeBrew saved me. I do not figure out the environment path.

    1. Download the two files below from http://www.oracle.com/technetwork/topics/intel-macsoft-096467.html.

    This is necessary because of Oracle licenses.

    instantclient-basic-macos.x64–11.2.0.4.0.zip and instantclient-sqlplus-macos.x64–11.2.0.4.0.zip

    Put the files in ~/Library/Caches/Homebrew


    PS:

    in the latest versions of HomeBrew replace the above location ~/Library/Caches/HomeBrew with ~/Library/Caches/HomeBrew/downloads.

    And also rename the downloaded files with the names suggested by HomeBrew.

    Thanks to @manuka_m


    2. Next run the following commands

    $ brew tap InstantClientTap/instantclient

    $ brew install instantclient-basic

    $ brew install instantclient-sqlplus

    Originated from Joost van Wollingen's doc

提交回复
热议问题