# 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
# 3. Check it
which ag
# => /usr/local/bin/ag
Forked from jsivakumaran/installSilverSearcherOnCentoOS
Last active
July 12, 2017 02:53
-
-
Save vimfu/90992dea111e35b044708158497bb0c1 to your computer and use it in GitHub Desktop.
Installing ag on CentOS.md
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment