slapt-get

ID

slapt-get

Links

Home page · Repository · Wikipedia

Upstream stars

⭐ 46

Last commit

2026-06-09

Platforms

🐧 Linux (Slackware only)

Operations

installed · search · install · upgrade · upgrade_all · remove · sync · cleanup

purl types

pkg:slapt-get/

CLI name

slapt-get

Issues and PRs

📦 manager: slapt-get

Source

slapt_get.toml

slapt-get 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.

  • --search is a POSIX regex over names, matching available then installed-only packages.

  • No outdated: --upgrade --simulate prints a wrapped, names-only paragraph with no versions, which cannot satisfy the per-line parser.

  • --no-prompt answers 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.

What mpm adds to slapt-get

Through mpm, slapt-get gains --exact and --extended search, to narrow to exact names or match descriptions.

Bigger still, mpm reaches across every manager at once: mpm installed and mpm outdated cover slapt-get alongside every other manager you run in one table, mpm upgrade --all updates them together, and mpm sbom exports the whole machine as one bill of materials.

Every mpm command also gains --dry-run and --plan previews, cross-scheme version comparison and purl identifiers. See manager augmentations for how each one is built.

Your slapt-get commands, in mpm

You already know slapt-get: each operation maps one-to-one onto mpm, in an interface shared by every manager.

To…

With slapt-get

With mpm

List what’s installed

slapt-get --installed

mpm --slapt-get installed

Search for a package

slapt-get --search <query>

mpm --slapt-get search <query>

Install a package

slapt-get --install --no-prompt <package_id>

mpm install pkg:slapt-get/<package_id>

Upgrade one package

slapt-get --install --no-prompt <package_id>

mpm --slapt-get upgrade <package_id>

Upgrade everything

slapt-get --upgrade --no-prompt

mpm --slapt-get upgrade --all

Remove a package

slapt-get --remove --no-prompt <package_id>

mpm remove pkg:slapt-get/<package_id>

Clear caches

slapt-get --clean

mpm --slapt-get cleanup --cache

Prefix any command above with --dry-run to simulate the underlying manager calls without touching the system: the safe way to watch what mpm would do before trusting it.

Operations

Operation

Supported

Notes

installed

✅

outdated

orphans

search

✅

Exact and extended search backfilled by mpm.

install

✅

upgrade

✅

upgrade_all

✅

remove

✅

sync

✅

cleanup

✅

doctor

Configuration

  • Ignore slapt-get on the mpm CLI by passing the --no-slapt-get option.

  • Ignore it for every run in your configuration:

    [mpm]
    slapt-get = false
    
  • Raise the timeout of all slapt-get calls:

    [mpm.overrides.slapt-get]
    timeout = 900
    
  • Run mpm config-template slapt-get to print all overridable settings for your configuration file:

    [mpm.overrides.slapt-get]
    cli_names = [
        "slapt-get",
    ]
    cli_search_path = []
    dry_run = false
    ignore_auto_updates = true
    plan = false
    post_args = []
    pre_args = []
    pre_cmds = []
    stop_on_error = false
    unmaintained = false
    version_cli_options = [
        "--version",
    ]
    version_regexes = [
        "slapt-get version (?P<version>\\S+)",
    ]
    

Recipes

A few jobs you would otherwise script around slapt-get, one mpm command each:

  • Snapshot and clone a machine: mpm --slapt-get dump slapt-get.toml, then mpm restore slapt-get.toml on the next one.

  • Export a compliance SBOM: mpm --slapt-get sbom (CycloneDX by default, --spdx for SPDX).

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.

Its privileged operations are cleanup, install, remove, sync, upgrade, upgrade_all.

See privilege escalation for the full policy.

Cooldown

State of slapt-get’s release-age gating, from the cooldown support table:

Status: ❌ None (Slackware)

A cooldown only pays off where a compromised release can be withdrawn while the clock runs, and can only be emulated where the registry dates its releases. From the retraction table:

  • Registry: Distro binary archives (pkg:deb, pkg:rpm, pkg:alpm, pkg:apk)

  • Retraction: Index revert: removal is an archive operation and the mirror is rebuilt without the package. Debian, for one, requires filing an RM: bug against ftp.debian.org (developers-reference)

  • Publish date: ❌ the version string is the distro maintainer’s build, carrying no upstream publication date

With --cooldown set, mpm skips this manager’s install and upgrade operations rather than run them unguarded (fail-closed); --cooldown best-effort opts back in.

Reference traces

A collection of raw native outputs captured from the manager’s own CLI and recorded in the bundled definition. 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

Version check

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+)"

Upstream project

Metrics

jaos/slapt-get

Activity

commit activity open issues open pull requests

Popularity

forks watchers contributors

Metadata

latest tag license main language

Changelog

  • 7.2.0 (2026-07-09)

    • Add slapt-get (Slackware) package manager with installed, search, install, upgrade, remove, sync and cleanup support; a bundled configuration-defined manager.