see: https://github.com/ggreer/the_silver_searcher version: 2.2.0 Install development dependencies (tce-load -i automake pkg-config pcre-dev liblzma-dev Runtime dependencies: ag.tcz.dep pcre.tcz liblzma.tcz aclocal autoconf autoheader automake --add-missing chmod +x ./configure mkdir build cd build ../configure --prefix=/usr/local --localstatedir=/var find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; sudo make -j4 install-strip submitqc --color --libs --fix --strip ./ag.tcz # get the extension files dates the same as tcz for file in ag.tcz.*; do touch --no-create --reference=ag.tcz $file; done #tar all necessary and optional files, example: tar cvzf ./ag.tar.gz ./ag/