#docslug#/ecob/ecob/V1.1.0/ta3avp
Environment requirements
Hardware: x86_64
OS: CentOS/Red Hat Linux Release 7.2
Compiler: GCC 4.8
Installation instructions
OceanBase Embedded SQL in C (ECOB) provides two software packages in RedHat Package Manager (RPM) format. Contact OceanBase technical support to get the software packages.
The ecob software package contains the ecob precompiler program of ECOB, the header file and dynamic library of the ecoblib runtime library, and a sample application. The ecob-with-obci software package contains all the preceding files. In addition, it contains the header file and dynamic library of the OceanBase Call Interface (OBCI) client. After you get the RPM packages, run the following command in the command line tool as the root user:
rpm -ivh ecob-<version>.x86_64.rpm
By default, the programs and files in the software packages are installed under the following paths:
The ecob precompiler program is installed under the
/usr/local/binpath.The header file is installed under the
/usr/local/includepath.The dynamic library file is installed under the
/usr/local/lib64path.The sample application is installed under the
/usr/local/src/ecob-examples/path.
If you install the ecob software package, execute the following statement to install the OBCI software package. For more information, see Install OBCI. If you install the ecob-with-obci software package, ignore the following statement:
rpm -ivh obci-<version>.x86_64.rpm