Skip to content

Instantly share code, notes, and snippets.

@pokle
Created December 15, 2015 11:17
Show Gist options
  • Save pokle/8aa93a61c85a57e0662d to your computer and use it in GitHub Desktop.
Save pokle/8aa93a61c85a57e0662d to your computer and use it in GitHub Desktop.
Get the silver searcher on redhat / centos
#!/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
@RMGiroux
Copy link

Thanks, very useful!

@RMGiroux
Copy link

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