1

How can I do this (agrep) in the Android Terminal?

This program allows elastic text searching, which means that searchqwery would match searchquery, and searching Android would also match Anfroid or Androis.

How can I install it so that it can be run from the Android Terminal?

  • you need to compile a static binary for your architecture from source. this can be done with Linux Deploy packages.ubuntu.com/source/xenial/agrep – alecxs Jul 22 at 21:07
  • 1
    Not sure if it has that, but worth a try: the Termux app is an Android terminal that a.o. comes with apt and a lot of packages to be installed that way. It might have the agrp package in its repository. – Izzy Jul 23 at 5:54
0

As commented by @Izzy, Termux has a wide repository of Linux packages, but agrep isn't among them so far. So you have to go for compiling the binary from source, or you may give this one a try. It's a static binary for aarch64 architecture.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.