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
:update
Download all the latest package indexes to the machine.
:upgrade
Upgrade any out of date packages to the latest versions.
:install
Install one or more packages.
:uninstall
Uninstall 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"])