Abstrax

Installing packages

This guide covers the common package workflow. The package commands use apt on Debian-family systems and dnf on RHEL-family systems, and require root.

1. Update the package lists

Refresh the list of available packages first:

sudo abstrax package update

2. Search for a package

abstrax package search nginx
NAME       DESCRIPTION
nginx      small, powerful, scalable web/proxy server
nginx-core nginx web/proxy server (standard version)

3. Install a package

sudo abstrax package install nginx

To install a specific version:

sudo abstrax package install nginx --version=1.24.0-1ubuntu1

4. Check what is installed

abstrax package info nginx
  Name:          nginx
  Version:       1.24.0-1ubuntu1
  Architecture:  amd64
  Status:        installed
  Description:   small, powerful, scalable web/proxy server

List all installed packages:

abstrax package list

5. Apply upgrades

Upgrade everything:

sudo abstrax package upgrade

Apply security updates only:

sudo abstrax package upgrade --security-only

You can preview an upgrade without applying it:

sudo abstrax package upgrade --dry-run

6. Remove a package

sudo abstrax package remove nginx

To remove its configuration files as well:

sudo abstrax package remove nginx --purge

Notes

  • These commands use the detected package manager (apt or dnf). Run abstrax doctor to confirm which backend is active.
  • Use --verbose to see the underlying package-manager command Abstrax runs.