fabtools.arch
¶
Arch Linux packages¶
This module provides tools to manage Arch Linux packages and repositories.
See also
-
fabtools.arch.
install
(packages, update=False, options=None)[source]¶ Install one or more Arch Linux packages.
If update is
True
, the package definitions will be updated first, usingupdate_index()
.Extra options may be passed to
pacman
if necessary.Example:
import fabtools # Update index, then install a single package fabtools.arch.install('mongodb', update=True) # Install multiple packages fabtools.arch.install([ 'mongodb', 'python-pymongo', ])