site  contact  subhomenews

xbpsget CLI utility to install .xbps packages

March 03, 2024 — BarryK

Continuing the woofV project, this is the previous post:

https://bkhome.org/news/202403/pkgget-working-in-easyvoid-version-240229.html

I also posted about an updated help page for PKGget (PPM):

https://bkhome.org/news/202403/pkgget-help-page-updated.html

The PPM, right from the early Puppy days, also has a CLI utility, 'petget', that you can run in a terminal; for example:

# petget abiword-1.2.3-amd64.pet

Or, it can be run by right-button click on a package in ROX-Filer and choose "petget" in the menu.

Not, just PETs, petget will install many kinds of packages, such as .deb and .rpm.

'petget' is still in EasyOS; however, for .xbps packages I have created a new utility, 'xbpsget'. Same thing, it is a CLI utility, that can be invoked from a terminal or via right-click menu. Here it is:

https://github.com/bkauler/woofq/blob/main/easyos/easy-code/rootfs-skeleton/usr/local/petget/xbpsget

Normally, you would run PKGget and install .xbps packages from the Void respository. However, there may be a situation sometimes were you have a local .xbps package that you want to install.

'xbpsget' can also uninstall, by appending a "-", for example:

# xbpsget -abiword-1.2.3_1.x86_64.xbps

Note that unlike 'petget', 'xbpsget' will install any missing dependencies, and if uninstall will also uninstall any dependencies that are no longer needed. Note also, have written it but not yet tested.   

Tags: easy