Created
June 17, 2016 03:16
-
-
Save jsivakumaran/0519f1e43f21f711c51ab11f5b98a8ad to your computer and use it in GitHub Desktop.
Installing ag on CentOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing ag on CentOS | |
Prerequistes | |
$ sudo yum install -y pcre-devel | |
$ sudo yum install xz-devel | |
$ cd /usr/local/src | |
$ sudo git clone https://github.com/ggreer/the_silver_searcher.git | |
$ cd the_silver_searcher | |
$ sudo ./build.sh | |
$ sudo make install | |
$ which ag | |
/usr/local/bin/ag |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zlib-devel
is necessary sometimesThanks for your gist. :-) 👍 😄