Update The system
sudo yum -y update
Install the Platform Development Tools
sudo yum -y groupinstall "Development Tools"
Install Wget
sudo yum install -y wget
Upgrade autoconf/automake/bison
- upgrade autoconf
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
tar xvf autoconf-2.69.tar.gz
cd autoconf-2.69
./configure --prefix=/usr
make
sudo make install
cd ..
- upgrade automake
wget http://ftp.gnu.org/gnu/automake/automake-1.14.tar.gz
tar xvf automake-1.14.tar.gz
cd automake-1.14
./configure --prefix=/usr
make
sudo make install
cd ..
- upgrad bison
wget http://ftp.gnu.org/gnu/bison/bison-2.5.1.tar.gz
tar xvf bison-2.5.1.tar.gz
cd bison-2.5.1
./configure --prefix=/usr
make
sudo make install
cd ..
Build and Install the Apache Thrift IDL Compiler
git clone https://git-wip-us.apache.org/repos/asf/thrift.git
cd thrift
./bootstrap.sh
./configure --with-lua=no
make
sudo make install
#OR YOU CAN USE DOCKER
https://github.com/apache/thrift/tree/master/build/docker
Reference : https://thrift.apache.org/docs/install/centos
what if you do not have sudo permission?