Created
December 15, 2015 11:17
-
-
Save pokle/8aa93a61c85a57e0662d to your computer and use it in GitHub Desktop.
Get the silver searcher on redhat / centos
This file contains hidden or 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
#!/usr/bin/env bash | |
set -e | |
set -x | |
sudo yum -y groupinstall "Development Tools" | |
sudo yum -y install pcre-devel xz-devel | |
git clone https://github.com/ggreer/the_silver_searcher | |
cd the_silver_searcher/ | |
./build.sh | |
sudo make install |
Please add
zlib-devel
to the list of packages to yum-install, for any silver searcher after 2.0.0.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, very useful!