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