# 0. Prerequistes
sudo yum install pcre-devel xz-devel zlib-devel -y
# 1. Get the code
cd /usr/local/src
sudo git clone https://github.com/ggreer/the_silver_searcher.git
# 2. Build and install it
cd the_silver_searcher && sudo ./build.sh && sudo make install