slapt-get¶
slapt-get (https://software.jaos.org/) is an apt-get-style front-end to Slackware’s pkgtools.
Parsing notes, verified against the slapt-get 0.11.12 C source (src/main.c, src/transaction.c) and its man page:
Listing lines print a fused “name-version-arch-build [inst=yes|no]: description” record, where slapt-get’s own log pattern treats the three trailing dash-fields as version-arch-build. The regexes capture the bare upstream version and drop the arch and build tags.
--searchis a POSIX regex over names, matching available then installed-only packages.No
outdated:--upgrade --simulateprints a wrapped, names-only paragraph with no versions, which cannot satisfy the per-line parser.--no-promptanswers the “Do you want to continue? [y/N]” prompt; mutations (including--update, which writes the package cache) need root, and Slackware ships no sudo by default, so mpm’s own escalation does the work.Home page: https://software.jaos.org/
Platforms¶
🐧 Linux (Slackware only)
Operations¶
Operation |
Supported |
Notes |
|---|---|---|
|
✓ |
|
|
||
|
✓ |
exact and extended search backfilled by |
|
✓ |
|
|
✓ |
|
|
✓ |
|
|
✓ |
|
|
✓ |
|
|
✓ |
Ecosystem¶
Accepted purl types:
pkg:slapt-get
Usage¶
$ mpm --slapt-get installed
$ mpm --slapt-get search "query"
$ mpm --slapt-get upgrade --all
$ mpm install pkg:slapt-get/hello
$ mpm --dry-run --slapt-get upgrade --all
Every example above accepts --dry-run, which simulates the underlying manager calls without touching the system: the safe way to watch what mpm would do before trusting it.
Deselect the manager for a single run with --no-slapt-get, disable it from your configuration, or tune its invocation attributes with per-manager overrides.
Command line¶
CLI names, in lookup order:
slapt-get
The version is probed by running:
$ slapt-get --version
slapt-get version 0.11.12
and extracted with:
r"slapt-get version (?P<version>\S+)"
Privilege escalation¶
System-wide manager: mpm wraps its privileged operations in sudo out of the box. Instead of letting the tool prompt mid-run, mpm primes the credential cache up-front, with a single branded password prompt at most. Turn escalation off for rootless setups with --no-sudo or the per-manager sudo override.
Root is required for its cleanup, install, remove, sync, upgrade, upgrade_all operations.
See privilege escalation for the full policy.
Cooldown¶
State of slapt-get’s release-age gating, from the cooldown support table:
Status: ❌ None (Slackware)
With --cooldown set, mpm skips this manager’s install and upgrade operations rather than run them unguarded (fail-closed); --allow-unsupported-managers opts back in.
Reference traces¶
Raw native outputs captured in the bundled definition: the reference mpm’s parsers were written against. If you know slapt-get well and a transcript below looks wrong, or a newer release changed its output format, report it.
$ slapt-get --installed
tree-2.3.2-x86_64-1 [inst=yes]: display directory tree
util-linux-2.39-x86_64-1 [inst=yes]: collection of utilities
$ slapt-get --search {query}
tree-2.3.2-x86_64-1 [inst=no]: display directory tree