Это установит ag, он же the silver searcher, в ваш домашний каталог ($HOME/usr), без необходимости в sudo.
build_ag.sh
git clone -b 2.2.0 https://github.com/ggreer/the_silver_searcher.git
cd the_silver_searcher
./autogen.sh
./build.sh --prefix=$HOME/usr
make installЕсли у вас $HOME/usr/bin в $PATH, вы теперь можете использовать ag как обычно.
Check out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow