Name | Link |
---|---|
For Intel | Click here |
For Apple Silicon | Click here |
Installing CX Oracle has been a "pain" for many of us (Including me), who even wants to waste their time on setting up CX Oracle from scratch right? I've gone ahead to make your life a little easier with this easy to use Docker File / Bash Script.
All you got to do, is to follow the steps below.
- Install Docker on your machine.
- You may need to also install Docker Compose. Some distro doesn't have Docker Compose pre-installed.
- Clone this repository.
- Open your terminal and navigate to the cloned repository (Tip:
cd
). - Change the file permission of
install.sh
to executable. (Tip:chmod +x install.sh
) - Run the
install.sh
file. (Tip:./install.sh
) - Wait for the installation to complete.
- Upon completion, please ensure the environment variables are globalised for your terminal. The environment key-value pair will be shown on your Terminal. (Tip:
source ~/.bashrc
) - Please re-link the
libclntsh.dylib
file to thelibclntsh.dylib.19.1
file.- Delete the contents in the
lib
folderrm -rf ~/oracle/lib/*
- Re-link the
libclntsh.dylib
file to thelibclntsh.dylib.19.1
fileln -s ~/oracle/libclntsh.dylib.19.1 ~/oracle/lib/libclntsh.dylib
- Delete the contents in the
- Woila! You can now run CX Oracle on any of your projects. Remember that the steps performed by you above is one-time only! If your installation is corrupted, please re-run the
install.sh
file.
- You may be asked for your password during the installation process. This is because the script needs to run some commands as
root
user, but it is totally safe! - I will ensure the environment variables are globalised in the future! (WIP)
If you have any suggestions, please feel free to open an issue or a pull request.