Expand description
Installs and removals on Linux: one root script each (RootScript), run as root as the
Elevation says, through apt and the vendors’ apt repositories or dnf and the vendors’ rpm
repositories (scripts).
Modules§
- scripts
- The root scripts behind the installs on Linux: the vendors’ apt and rpm repositories, and the distributions’ own packages. Every repository’s signing key is checked against its fingerprint, pinned here, before apt or dnf trusts it; no vendor install script runs as root.
Structs§
- Root
- How root steps run here: elevated as
elevationsays, with the proxy variablesproxy(NAME=value,proxy_assignments).
Constants§
- PROXY_
VARS - The proxy variables a root step is handed: apt and curl need them behind a corporate proxy, and pkexec clears the environment.
Functions§
- install
- The install of
depon Linux on a CPUarch, as root, for the useruser(joined to the groups a tool’s devices need): apt and the vendors’ apt repositories, or dnf and the vendors’ rpm repositories. A tool its vendor ships no build of forarchis refused (Dependency::no_build), before the package manager is looked at. - proxy_
assignments - The proxy variables
varreads that are set, asNAME=value(what a root step is handed). - uninstall
- The removal on Linux, as root, of what
addedlists ofdep(Item, as an install’s record has it), and of nothing else: those of its packages (super::added::packages: a name on record that isn’t one of them is never removed) through the package manager that installed them (a tool installed through dnf removed withapt-get removefailed withapt-get: not found); the AWS CLI’s folder when the install added it. The package manager would take away with them every package that needs one of them, whoever installed it: the removal stops, removing nothing, when it would (removal_script).