Skip to main content

Module package_mappings

Module package_mappings 

Source
Expand description

Per-distro package name mappings.

Maps generic (Debian-style) package names to the native names for each package manager (apt, pacman, dnf, yum, zypper). Covers the same packages as scripts/lib/package_mappings.sh.

§Validation Assertions

  • VAL-INFRA-004: Package name mapping correct

Functions§

get_known_packages
Get all known generic package names.
has_mapping
Check if a mapping exists for a given package name and package manager.
map_package_name
Lookup a mapped package name for a given package manager.
map_package_names
Map multiple package names at once.