Xbps

Manage XBPS packages and repositories. Note that XBPS package names are case-sensitive.

xbps.packages

Install/remove/update XBPS packages.

xbps.packages(packages=None, present=True, update=False, upgrade=False)
  • packages: list of packages to ensure

  • present: whether the packages should be installed

Example:

xbps.packages(
    name='Install Vim and Vim Pager',
    packages=['vimpager', 'vim'],
)

xbps.update

Update XBPS repositories.

xbps.update()

xbps.upgrade

Upgrades all XBPS packages.

xbps.upgrade()