Skip to content
a few helpers for working with XBPS
Shell Roff Makefile
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile Makefile: install manpage May 2, 2017
README xnew: append subpkgs Dec 15, 2019
_xtools _xtools: xrevbump: complete multiple pkg Oct 19, 2019
xbarf add xbarf Jul 23, 2015
xbuildbarf switch from to Jan 1, 2019
xbulk xbulk: remove every line that starts with </>/= May 15, 2019
xbump xbump: reword description Nov 7, 2019
xcheckmypkgs add xcheckmypkgs Jul 10, 2016
xcheckrestart xcheckrestart: ignore memfd and graphics maps Apr 17, 2019
xchroot xchroot: be a bit more verbose, and set PS1 Feb 8, 2018
xclash add xclash Nov 11, 2014
xdbg add xdbg Sep 23, 2015
xdiff xdiff: sort files by version May 28, 2018
xdistdir xdistdir: use xbps-src's exit code Jul 14, 2019
xdowngrade xdowngrade: make more robust Sep 12, 2016
xetcchanges xetcchanges: quote default argument. Jun 30, 2016
xgensum xgensum: respect the -H flag Aug 26, 2019
xgrep xgrep: fix for spaces in filenames and grep with only one argument. Feb 12, 2015
xhog add xhog Jan 13, 2015
xi xi: support doas Nov 30, 2019
xilog add xilog Dec 17, 2015
xlg xlg: ensure srcpkgs is found, show patch author Nov 17, 2017
xlint xlint: support autogenerated pycompile_module Jan 10, 2020
xlocate xlocate: add config file Sep 3, 2019
xlog xlog: ensure srcpkgs is found Nov 17, 2017
xls xls: adjust repositories to include non-branch binpkgs. Sep 23, 2015
xmandoc xmandoc: follow symlinks. Mar 15, 2018
xmksv add xmksv Sep 5, 2016
xmypkgs xmypkgs: fix pipe. May 24, 2016
xnew xnew: append subpkgs Dec 15, 2019
xnodev add xnodev Feb 10, 2015
xoptdiff xoptdiff: updated according to comment Dec 8, 2017
xpcdeps xpcdeps: More fixes. Mar 18, 2019
xpkg xpkg: add -r rootdir Apr 17, 2019
xpstree xpstree: chmod +x Mar 16, 2018
xq xq: adjust repositories to include non-branch binpkgs. Sep 23, 2015
xrecent switch from to Jan 1, 2019
xrevbump xrevbump: use xdistdir to find the template Sep 10, 2019
xrevshlib xrevshlib: keep .so, else we find libssl3 when we look for libssl Sep 26, 2016
xrs add xrs Sep 23, 2015
xsrc xsrc: use xdistdir Sep 15, 2014
xsubpkg xsubpkg: add flag to only show main package Mar 22, 2016
xtools.1 xnew: append subpkgs Dec 15, 2019
xuname xuname: add rootless hypervisor detection as fallback Sep 30, 2019
xvoidstrap xvoidstrap: tweak checklist Sep 25, 2019


XTOOLS(1)                   General Commands Manual                  XTOOLS(1)

     xtools – A collection of small utilities for use with XBPS

     xbarf – display build logs of last build

     xbuildbarf [arch] – spy on current buildbot output

     xbulk [-n] [-k] [xbps-src flags] pkgs ... – simple XBPS bulk builder
       -n  dry-run mode
       -k  keep going on errors

     xbump pkgname [git commit options] – git commit a new package or package

     xcheckmypkgs [email] – check your packages for updates

     xcheckrestart [-v] – list programs using outdated libraries
       -v  verbose mode, also print the library names

     xclash – detect file conflicts between XBPS packages

     xdbg pkgs ... – list debugging packages for pkgs and recursive

     xdiff [-u | -l] [basedir] – merge/diff/list XBPS .new-* files
       -l  list .new files
       -u  print unified diffs

     xdistdir – figure out XBPS_DISTDIR

     xdowngrade pkgfiles.xbps ... – install XBPS package directly from .xbps

     xetcchanges – show diff of /etc against binary packages

     xgensum [-f] [-c] [-i] template – update SHA256 sum in templates
       -f  force (re-)download of distfiles
       -c  use content checksum
       -i  replace checksum in-place

     xgrep pattern pkgs ... – search files limited to XBPS package contents

     xhog – list installed XBPS packages ordered by size

     xi pkgs ... – like xbps-install -S, but take cwd repo and sudo/su into

     xilog [pattern] – list installed packages by install-date

     xlg pkg – open short commit log for XBPS template

     xlint template – scan XBPS template for common mistakes

     xlocate [-g | -S | pattern] – locate files in all XBPS packages
       -g  Update a git based xlocate database
       -S  Sync with the official git based xlocate database

     xlog pkg – open commit log for XBPS template

     xls pkg ... – list files contained in pkg (including binpkgs)

     xmandoc manpage – read manpage of possibly not installed package

     xmksv [newsvdir] – create new runit service templates

     xmypkgs [email] – list all pkgs maintained by you

     xnew [-a] pkg [subpkgs ...] – create XBPS template
       -a  append subpkgs to existing pkg

     xnodev – list not installed -devel packages for installed packages

     xoptdiff [-q] [pkgs ...] – show template options which differ from binary
       -q  quiet mode, show package names only

     xpkg [-R repo] [-r rootdir] [-amOHDvV] – convenient package lister
       -R repo
           consider only packages from repo
       -r rootdir
           specifies a full path for the target root directory
       -a  list all packages (default: only installed)
       -m  list manual packages
       -O  list orphaned packages
       -H  list packages on hold
       -D  list installed packages not in repo
       -L  list installed packages not from remote repos
       -v  show version numbers
       -V  show version numbers and description

     xpstree – display tree view of xbps-src processes

     xq [-R] pkg ... – query information about XBPS package
       -R  query remote repos

     xrecent [repourl | arch] – list packages in repo ordered by build date

     xrevbump message templates ... – increase template revision and commit

     xrevshlib package – list packages shlib-dependent on package or its

     xrs pattern – like xbps-query -Rs, but take cwd repo into account

     xsrc pkg – list source files for XBPS template

     xsubpkg [-m] pkg – list all subpackages of a package
       -m  only print main package

     xpcdeps pcfile ... – finds package matching the Requires: section of pkg-
     config files

     xuname – display system info relevant for debugging Void

     xvoidstrap dir [packages] – bootstrap a new Void installation

     Tools working on the void-packages tree use xdistdir to find it, check
     that its output is reasonable first.

     xi, xls, xq and xrs prefer the hostdir / binpkgs repo if you run them
     from a void-packages checkout.

     xtools is in the public domain.

     To the extent possible under law, the creator of this work has waived all
     copyright and related or neighboring rights to this work.

     All bugs should be reported to

Void Linux                       June 25, 2019                      Void Linux
You can’t perform that action at this time.