catalog

Find packages that provide a command

Reverse lookup: which package(s) provide the given command name.

Required Query Parameters:

  • system: The system architecture to search for (e.g., x86_64-linux)
  • name: The command name to look up (e.g., readelf, rg, gcc-13)

Optional Query Parameters:

  • page: Page number for pagination (default: 0)
  • pageSize: Page size for pagination (default: 10)

Returns:

  • ByCommandResult: Providers of the command and total count
get/api/v1/catalog/by-command

Query parameters

system'aarch64-darwin' | 'aarch64-linux' | 'x86_64-darwin' | 'x86_64-linux' | 'invalid' required
namestring required
pageinteger
pageSizeinteger

Response

Packages that provide the given command

command_namestring required
total_countinteger required
listing_knownboolean required

Example response

{
  "command_name": "readelf",
  "listing_known": true,
  "providers": [
    {
      "attr_path": "binutils",
      "exact_name_match": false,
      "pname": "binutils",
      "system": "x86_64-linux"
    }
  ],
  "total_count": 1
}

Changes

Changed in 2 of the 53 revisions of this API.3

    • added the new optional query request parameter page

      new-optional-request-parameter

    • added the new optional query request parameter pageSize

      new-optional-request-parameter

    • endpoint added

      endpoint-added