LinuxCommandLibrary

aptdcon

Command-line client for the APT daemon

TLDR

Install packages via aptd

$ aptdcon --install [package1] [package2]
copy
Remove packages
$ aptdcon --remove [package]
copy
Upgrade all packages
$ aptdcon --safe-upgrade
copy
Refresh package cache
$ aptdcon --refresh
copy
Run with progress display
$ aptdcon --install [package] --show-terminal
copy

SYNOPSIS

aptdcon [--install packages] [--remove packages] [--upgrade] [options]

DESCRIPTION

aptdcon is a command-line client for the aptd daemon. It communicates with aptd via D-Bus to perform package management operations, providing a terminal interface to the same backend used by GUI package managers.
Operations are queued and executed by aptd, with authentication handled through PolicyKit.

PARAMETERS

-i pkgs, --install pkgs

Install packages
-r pkgs, --remove pkgs
Remove packages
--upgrade
Upgrade all packages
--safe-upgrade
Safe upgrade (don't remove packages)
--refresh
Update package cache
--show-terminal
Show dpkg terminal output
--version-detailed
Show detailed version information
-h, --help
Show help

CAVEATS

Requires aptd to be running. Uses D-Bus for communication. May require PolicyKit authentication. Less capable than direct apt commands.

HISTORY

aptdcon was created as a command-line interface to the aptd daemon, allowing terminal users to leverage the same infrastructure as GUI tools.

SEE ALSO

aptd(1), apt(8), apt-get(8)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community