[Installing Oracle DataBase Server 11.2.0.3 on Oracle Linux 6.3]: Installing Mandatory Packages

The Oracle database requires that certain components are installed on the system. Packages can be downloaded from the public repository (from the internet) or taken from the disk that contains the operating system distribution.


Option 1: Installing packages from the Oracle Linux DVD (Not recommended):

# mkdir /mnt/cdrom
# mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom


# vi /etc/yum.repos.d/oracleLinuxRepoDVD.repo


[OEL63_DVD]
name=Oracle Enterprise Linux DVD
baseurl=file:///mnt/cdrom/Server/
gpgcheck=0
enabled=1


Option 2: Installing packages from the Oracle Linux repository on the internet:

# vi /etc/yum.repos.d/oracleLinuxRepoINTERNET.repo


[OEL_INTERNET]
name=Oracle Enterprise Linux $releasever - $basearch
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1


# yum repolist
# yum update -y



Offtopic: (Recommended to skip! Just for information)

You can run the following command and skip most of the steps for installing required packages and properly configuring the environment for Oracle installation.

# yum install -y oracle-validated

By running this command, Oracle will install all necessary packages, create the required users, and make changes to configuration files. There is only one drawback: it might not do everything exactly as you want. That is, the environment will be prepared with "default" settings.



The following packages must be installed:

binutils-2.20.51.0.2-5.11.el6 (x86_64)
compat-libcap1-1.10-1 (x86_64)
compat-libstdc++-33-3.2.3-69.el6 (x86_64)
compat-libstdc++-33-3.2.3-69.el6.i686
gcc-4.4.4-13.el6 (x86_64)
gcc-c++-4.4.4-13.el6 (x86_64)
glibc-2.12-1.7.el6 (i686)
glibc-2.12-1.7.el6 (x86_64)
glibc-devel-2.12-1.7.el6 (x86_64)
glibc-devel-2.12-1.7.el6.i686
ksh
libgcc-4.4.4-13.el6 (i686)
libgcc-4.4.4-13.el6 (x86_64)
libstdc++-4.4.4-13.el6 (x86_64)
libstdc++-4.4.4-13.el6.i686
libstdc++-devel-4.4.4-13.el6 (x86_64)
libstdc++-devel-4.4.4-13.el6.i686
libaio-0.3.107-10.el6 (x86_64)
libaio-0.3.107-10.el6.i686
libaio-devel-0.3.107-10.el6 (x86_64)
libaio-devel-0.3.107-10.el6.i686
make-3.81-19.el6
sysstat-9.0.4-11.el6 (x86_64)



# yum install -y \
binutils.x86_64 \
compat-libcap1.x86_64 \
compat-libstdc++-33.i686 \
compat-libstdc++-33.x86_64 \
gcc.x86_64 \
gcc-c++.x86_64 \
glibc.i686 \
glibc.x86_64 \
glibc-devel.i686 \
glibc-devel.x86_64 \
ksh.x86_64 \
libgcc.i686 \
libgcc.x86_64 \
libstdc++.i686 \
libstdc++.x86_64 \
libstdc++-devel.i686 \
libstdc++-devel.x86_64 \
libaio.i686 \
libaio.x86_64 \
libaio-devel.i686 \
libaio-devel.x86_64 \
make.x86_64 \
sysstat.x86_64


The following package is needed to start the graphical console

# yum install -y xdpyinfo


Additional packages:

# yum install -y \
	mc \
	nano \
	vim \
	emacs \
	wget \
	xinetd \
	screen \
	ntp \
	unzip

rlwrap - a package that allows storing command history in SQL*PLUS and RMAN on Linux (it must be added as a separate line in the bash profile). By installing this package, you can use the up and down arrow keys to browse command history, proper backspace operation, etc.

# yum install -y \
readline-devel.x86_64


# cd /tmp
# wget http://utopia.knoware.nl/~hlub/uck/rlwrap/rlwrap-0.37.tar.gz


If the above site does not work, the source code can be taken from here:

https://github.com/hanslub42/rlwrap


# tar zxvf rlwrap-0.37.tar.gz
# cd rlwrap-0.37
# ./configure
# make
# make check
# make instal





I recommend going directly to the latest version of the document, which uses newer software versions

Link to the Oracle installation document.