Skip to content

Commit 80f95f0

Browse files
committed
xbps: mention xpkg, speed up non-xpkg version
xbps 0.60 supports multiple names for getpkgname now closes: #640
1 parent 2b1f2ed commit 80f95f0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/xbps/index.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,16 @@ This requires `xbps-query` to download parts of every package to find the file.
116116
`xlocate`, however, queries a locally cached index of all files, so no network
117117
access is required.
118118

119-
To get a list of all installed packages, without their version:
119+
To get a list of all installed packages, without their versions:
120120

121121
```
122-
$ xbps-query -l | awk '{ print $2 }' | xargs -n1 xbps-uhelper getpkgname
122+
$ xbps-query -l | awk '{ print $2 }' | xargs xbps-uhelper getpkgname
123+
```
124+
125+
or, if `xtools` is installed:
126+
127+
```
128+
$ xpkg
123129
```
124130

125131
## Building Packages

0 commit comments

Comments
 (0)