Installing Dependencies
Select the dependencies required for compiling and installing PostgreSQL based on your OS type.
- If you are using CentOS, install the following dependencies:
1yum -y install automake zlib zlib-devel bzip2 bzip2-devel bzip2-libs readline readline-devel gcc gcc-c++ bison ncurses ncurses-devel libaio-devel gmp gmp-devel mpfr mpfr-devel libmpc libmpc-devel
- If you are using openEuler, install the following dependencies:
1yum -y install zlib-devel bzip2-devel bzip2-libs readline-devel ncurses-devel libaio-devel gmp-devel mpfr-devel libmpc-devel
Parent topic: Configuring the Compilation Environment