Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/the10thwiz/whatprovides
A simple whatprovides implementation in bash
https://github.com/the10thwiz/whatprovides
Last synced: about 2 months ago
JSON representation
A simple whatprovides implementation in bash
- Host: GitHub
- URL: https://github.com/the10thwiz/whatprovides
- Owner: the10thWiz
- Created: 2024-03-18T17:42:28.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-18T17:47:50.000Z (10 months ago)
- Last Synced: 2024-10-15T10:03:09.440Z (3 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What Provides this file?
A single bash script, which can identify what package (and package manager) provides a specific file.
## Usage
`./whatprovides [file | executable]`
If an executable is provided, `which` is used to look up the absolute path of the executable.
## Supported Package Managers
Right now, this script only supports a couple package managers, but I would like to add more.
The challenge for me, is I don't use any other package managers, so I cannot test any implementation.- XBPS (Void Linux package manager)
- Apt (Debian, Ubuntu, and Derivatives)
- Pip (Python packages)If you would like to contribute a new package manager, please post a PR.
## Planned
There are a couple of sources I plan to add.
- Git (files in a git repository)