wget https://github.com/ggreer/the_silver_searcher/archive/master.zip
mv master ag.zip
unzip ag.zip
cd the_silver_searcher-master/
./build.sh
make install
错误
configure: error: Package requirements (liblzma) were not met:
No package ‘liblzma’ found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.Alternatively, you may set the environment variables LZMA_CFLAGS
and LZMA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
解决方案
yum -y install xz-devel