You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Krishna Kanhaiya a0e8b023b9
Merge pull request #1 from termux/add-license-1
1 year ago
db Nothing 1 year ago
LICENSE Create LICENSE 1 year ago
Makefile minor changes 1 year ago
README.md Update README.md 1 year ago
install.sh Change name to whatprovides 1 year ago
whatprovides Update and rename termux-provides to whatprovides 1 year ago

README.md

whatprovides.

It is a yum(whatprovides) for termux.

  • whatprovides can list files of any termux official packages, doesn't matter that package is installed or not, it uses own database to perform task.

  • It can be used as reverse search, means provide full path of any file it will give you output of that pkg.

Installation:

clone repository and execute install.sh

git clone https://github.com/kcubeterm/whatprovides
cd whatprovides
bash install.sh
echo "Copy this too."

Usage:

  • List files of any package. For eg. aapt
$ whatprovides -p aapt
aapt: /.
aapt: /data
aapt: /data/data
aapt: /data/data/com.termux
aapt: /data/data/com.termux/files
aapt: /data/data/com.termux/files/usr
aapt: /data/data/com.termux/files/usr/share
aapt: /data/data/com.termux/files/usr/share/aapt
aapt: /data/data/com.termux/files/usr/share/aapt/android.jar
aapt: /data/data/com.termux/files/usr/share/doc
aapt: /data/data/com.termux/files/usr/share/doc/aapt
aapt: /data/data/com.termux/files/usr/lib
aapt: /data/data/com.termux/files/usr/lib/libandroid-cutils.so
aapt: /data/data/com.termux/files/usr/lib/libandroid-ziparchive.so
aapt: /data/data/com.termux/files/usr/lib/libandroid-base.so
aapt: /data/data/com.termux/files/usr/lib/libandroid-fw.so
aapt: /data/data/com.termux/files/usr/lib/libandroid-utils.so
aapt: /data/data/com.termux/files/usr/bin
aapt: /data/data/com.termux/files/usr/bin/aapt
aapt: /data/data/com.termux/files/usr/bin/zipalign
aapt: /data/data/com.termux/files/usr/share/doc/aapt/LICENSE

asciicast Asciinema preview

  • search for files. Have you ever used dpkg -S filepath. Here you need to use only whatprovides filepath. You can search for any files which even not exist in your termux. it will show you Which package provide that file.
$ whatprovides $PREFIX/bin/aapt
aapt: data/data/com.termux/files/usr/bin/aapt