Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save phartenfeller/9613871db81f1dcac3ecf6115a8b6215 to your computer and use it in GitHub Desktop.

Select an option

Save phartenfeller/9613871db81f1dcac3ecf6115a8b6215 to your computer and use it in GitHub Desktop.
Install an oracle instant client on a Debian or Ubuntu linux
apt-get install -y libaio1 alien
# Change version based on https://www.oracle.com/de/database/technologies/instant-client/linux-x86-64-downloads.html
# Example alternative: http://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient19.5-basiclite-19.5.0.0.0-1.x86_64.rpm
wget http://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient19.6-basic-19.6.0.0.0-1.x86_64.rpm
sudo alien -i --scripts oracle-instantclient*.rpm
rm -f oracle-instantclient*.rpm
# Optionally install SQLPlus
wget http://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient19.6-sqlplus-19.6.0.0.0-1.x86_64.rpm
sudo alien -i --scripts oracle-instantclient*.rpm
rm -f oracle-instantclient*.rpm
@nguyenvinhlinh

Copy link
Copy Markdown

Thank!

@carlos-teles

Copy link
Copy Markdown

Thanks!

@xdie

xdie commented Oct 13, 2023

Copy link
Copy Markdown

thanks!

@Savvyr

Savvyr commented Dec 20, 2023

Copy link
Copy Markdown

very helpful, thank you

@ricardodinix

Copy link
Copy Markdown

Thanks

@marinagr17

Copy link
Copy Markdown

How do I install client/server on the same PC?

@nicolasvasconi

Copy link
Copy Markdown

Gracias hermano

@jetsaredim

jetsaredim commented Apr 21, 2024 •

Copy link
Copy Markdown

@journeytosilius

journeytosilius commented Aug 28, 2024 •

Copy link
Copy Markdown

@jetsaredim

Copy link
Copy Markdown

of course right after I posted this, a new version 21.14 got published. There's also an instantclient23 version in a parallel OL8 repo. the repo for which can be found here: https://yum.oracle.com/repo/OracleLinux/OL8/oracle/instantclient23/x86_64/

@coredumperror

Copy link
Copy Markdown

Thanks! This was an absolute life-saver!

@joshkant

joshkant commented Nov 6, 2025

Copy link
Copy Markdown

thanks! all worked well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment