Manage packages through the apt package system
This module manages the apt package system.
It can update the available package list.
It can upgrade the entire package set
It can install and uninstall packages
(apt command options)command
The overall command to execute. Should be one of :update, :upgrade, :install and :uninstall
:updateDownload all the latest package indexes to the machine.
:upgradeUpgrade any out of date packages to the latest versions.
:installInstall one or more packages.
:uninstallUninstall one or more packages.
options
In :install and :uninstall this can be a single package name (specified as a string), or many package names (a sequence or vector of many strings). In :update and :upgrade commands this is ignored.
| Option | Description |
|---|
(apt :update)(apt :upgrade)(apt :install "traceroute")(apt :install ["traceroute" "netperf" "iptraf" "nmap"])(apt :remove ["traceroute" "netperf" "iptraf" "nmap"])