Search Ubuntu packages.
Project description
apt-search
Search Ubuntu packages.
Motivation
I needed a way to find the right package for missing header files.
I tried apt-file, but for some reason it was constantly complaining with
E: The cache is empty. You need to run "apt-file update" first.
The alternative was to search the Ubuntu packages in the browser, but I wanted a tool for the CLI. So I had the idea to parse the HTML search result and give a nice terminal output.
Installation
Use pip or pipx for installation:
pip install --user apt-search
# or
pipx install apt-search
Usage
Just execute the apt-search command with the filename you are looking for:
apt-search --help
# Usage: main.py [OPTIONS] FILENAME
#
# Arguments:
# FILENAME [required]
#
# Options:
# --suite TEXT [default: jammy]
# --arch TEXT [default: any]
# --help Show this message and exit.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apt_search-0.1.3.tar.gz.
File metadata
- Download URL: apt_search-0.1.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/6.0.12-76060006-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52de491fd288c0bef5b8e6d8694ae8397fee6b500125bb403d7fddf1c7ca745b
|
|
| MD5 |
5a93331e8fa6591ebd615ac38344d87b
|
|
| BLAKE2b-256 |
0d953d49ea9da1131d75dd994a46a1b3d2f1296a5b9e6a446683e7421e7deda0
|
File details
Details for the file apt_search-0.1.3-py3-none-any.whl.
File metadata
- Download URL: apt_search-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/6.0.12-76060006-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e4a93cde5a152e083a5222653312ae474c7d2b05991a4b5f2a42a665828f0fd
|
|
| MD5 |
d705cb30e1f5b1210c25511535ef5a41
|
|
| BLAKE2b-256 |
661c9c6c4c59fba1906f7e87fdc35286dbc6904dc97908400f662d2ab30c4cdd
|