Skip to main content

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.

Metadata

Release files for apt-search 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for apt-search 0.1.3
File Size Uploaded
apt_search-0.1.3.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for apt-search 0.1.3
File Interpreter ABI Platform
apt_search-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.8 kB

Release files / apt_search-0.1.3.tar.gz

Download URL apt_search-0.1.3.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
52de491fd288c0bef5b8e6d8694ae8397fee6b500125bb403d7fddf1c7ca745b
BLAKE2b-256 checksum
How to use checksums
0d953d49ea9da1131d75dd994a46a1b3d2f1296a5b9e6a446683e7421e7deda0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.6 Linux/6.0.12-76060006-generic

Release files / apt_search-0.1.3-py3-none-any.whl

Download URL apt_search-0.1.3-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e4a93cde5a152e083a5222653312ae474c7d2b05991a4b5f2a42a665828f0fd
BLAKE2b-256 checksum
How to use checksums
661c9c6c4c59fba1906f7e87fdc35286dbc6904dc97908400f662d2ab30c4cdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.6 Linux/6.0.12-76060006-generic

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page