2020-11-18 10:55:17 +00:00
|
|
|
# whatprovides.
|
|
|
|
It is a yum(whatprovides) for termux.
|
2020-11-18 10:00:56 +00:00
|
|
|
|
2020-11-18 10:55:17 +00:00
|
|
|
* 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.
|
2020-11-18 10:00:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
### Installation:
|
|
|
|
clone repository and execute install.sh
|
|
|
|
```
|
2020-11-18 10:55:17 +00:00
|
|
|
git clone https://github.com/kcubeterm/whatprovides
|
|
|
|
cd whatprovides
|
2020-11-18 10:00:56 +00:00
|
|
|
bash install.sh
|
|
|
|
echo "Copy this too."
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
### Usage:
|
|
|
|
|
|
|
|
* List files of any package. For eg. aapt
|
|
|
|
|
|
|
|
```sh
|
2020-11-18 10:55:17 +00:00
|
|
|
$ whatprovides -p aapt
|
2020-11-18 10:00:56 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
```
|
2020-11-18 11:19:33 +00:00
|
|
|
[![asciicast](https://asciinema.org/a/373670.png)](https://asciinema.org/a/373670)
|
2020-11-18 10:00:56 +00:00
|
|
|
|
|
|
|
* search for files. Have you ever used `dpkg -S filepath`.
|
2020-11-18 10:55:17 +00:00
|
|
|
Here you need to use only `whatprovides filepath`.
|
|
|
|
You can search for any files which even not exist in your termux.
|
2020-11-18 10:00:56 +00:00
|
|
|
it will show you Which package provide that file.
|