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.

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apt_search-0.1.3-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

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

Hashes for apt_search-0.1.3.tar.gz
Algorithm Hash digest
SHA256 52de491fd288c0bef5b8e6d8694ae8397fee6b500125bb403d7fddf1c7ca745b
MD5 5a93331e8fa6591ebd615ac38344d87b
BLAKE2b-256 0d953d49ea9da1131d75dd994a46a1b3d2f1296a5b9e6a446683e7421e7deda0

See more details on using hashes here.

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

Hashes for apt_search-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9e4a93cde5a152e083a5222653312ae474c7d2b05991a4b5f2a42a665828f0fd
MD5 d705cb30e1f5b1210c25511535ef5a41
BLAKE2b-256 661c9c6c4c59fba1906f7e87fdc35286dbc6904dc97908400f662d2ab30c4cdd

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page