Environment requirements
Hardware: x86_64、aarch64
Operating system: CentOS/Red Hat Linux Release 7.2
Compiler: GCC 4.8
Installation instructions
OceanBase Embedded SQL in C (ECOB) provides a software package in the RedHat Package Manager (RPM) format. You can contact OceanBase Technical Support to obtain the package.
The package contains the ecob precompiler of ECOB, the header file and dynamic library of the ecoblib runtime library, and a sample application. After you obtain the RPM package, 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 package are installed in the following paths:
The ecob precompiler is installed in the
/usr/local/binpath.The header file is installed in the
/usr/local/includepath.The dynamic library file is installed in the
/usr/local/lib64path.The sample application is installed in the
/usr/local/src/ecob-examples/path.
After you install ECOB, run the following command to install the OBCI software package. For more information, see Install OBCI.
rpm -ivh obci-<version>.x86_64.rpm