def packages(pkg_list, update=False):
    pkg_list = [pkg for pkg in pkg_list if not is_installed(pkg)]
    if pkg_list:
        install(pkg_list, update)
Require several SmartOS packages to be installed.
dataset/ETHPy150Open ronnix/fabtools/fabtools/require/pkg.py/packages