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?

2
  • 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, 2019 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, 2019 at 5:54

1 Answer 1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .