Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)