Skip to content

Instantly share code, notes, and snippets.

View vimfu's full-sized avatar
🧘

王旭林 vimfu

🧘
  • Beijing, China
View GitHub Profile
@vimfu
vimfu / install_ag_on_centos.md
Last active July 12, 2017 02:53 — forked from jsivakumaran/installSilverSearcherOnCentoOS
Installing ag on CentOS.md
# 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