-
Reference
- Oracle Instant Client RPMs Now Available on Oracle Linux Yum Server (yum.oracle.com)
- https://blogs.oracle.com/linux/oracle-instant-client-rpms-now-available-on-oracle-linux-yum-server-yumoraclecom
-
Update yum repository
# cd /etc/yum.repos.d
# wget http://yum.oracle.com/public-yum-ol7.repo
- CentOS Only : import GPG key
wget http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7
rpm --import RPM-GPG-KEY-oracle-ol7
-
CentOS Only : disable all OracleLinux 7.x package
enabled=1
->enabled=0
-
Enable oracle instantclient repository
# yum install -y yum-utils
# yum-config-manager --enable ol7_oracle_instantclient
- yum
# yum install oracle-instantclient18.3-basic
# yum install oracle-instantclient18.3-devel
# yum install oracle-instantclient18.3-jdbc
# yum install oracle-instantclient18.3-sqlplus
yum list oracle-instantclient*
Loaded plugins: langpacks, ulninfo
Installed Packages
oracle-instantclient18.3-basic.x86_64 18.3.0.0.0-2 @ol7_oracle_instantclient
oracle-instantclient18.3-devel.x86_64 18.3.0.0.0-2 @ol7_oracle_instantclient
oracle-instantclient18.3-jdbc.x86_64 18.3.0.0.0-2 @ol7_oracle_instantclient
oracle-instantclient18.3-sqlplus.x86_64 18.3.0.0.0-2 @ol7_oracle_instantclient
Available Packages
oracle-instantclient18.3-basiclite.x86_64 18.3.0.0.0-2 ol7_oracle_instantclient
oracle-instantclient18.3-odbc.x86_64 18.3.0.0.0-2 ol7_oracle_instantclient
oracle-instantclient18.3-tools.x86_64 18.3.0.0.0-2 ol7_oracle_instantclient
Done