Skip to content

Packages

Index

packages::dpkg_package_installed

Return true if the given dpkg package is installed and in an 'ok installed' state.

Arguments

  • $1 (package): name

packages::get_universal

Print the list of universal packages (appimage/flatpak/nixpkgs) that should be installed on this machine. Filters by package type and the column matching the current host, excluding disabled packages. --quiet = suppress messages about disabled packages --ignore [PACKAGE]... = omit the named packages from output Output: stdout — package names, one per line, sorted

Arguments

  • $1 (package): list type (appimage, flatpak, nixpkgs, or nixpkgs-unstable)

packages::get_distro

Print the list of distro packages that should be installed on this machine for the given OS release. Fetches the package CSV for the given distro id+codename and filters by current host type. --quiet = suppress messages about disabled packages --ignore [PACKAGE]... = omit the named packages from output Output: stdout — package names, one per line, sorted

Arguments

  • $1 (OS): id (e.g. "ubuntu")
  • $2 (OS): codename (e.g. "jammy")

packages::get_sdkman

Print the list of SDKMAN packages that should be installed on this machine. Fetches the sdkman.csv package list and filters by current host type. --quiet = suppress messages about disabled packages --ignore [PACKAGE]... = omit the named packages from output Output: stdout — package names, one per line, sorted

Function has no arguments.