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
apt_search-0.1.3.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for apt_search-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e4a93cde5a152e083a5222653312ae474c7d2b05991a4b5f2a42a665828f0fd |
|
MD5 | d705cb30e1f5b1210c25511535ef5a41 |
|
BLAKE2b-256 | 661c9c6c4c59fba1906f7e87fdc35286dbc6904dc97908400f662d2ab30c4cdd |