سيثبّت هذا 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