LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

kpackagetool6

Install, list, and remove KDE Plasma 6 packages

TLDR

List all available package types
$ kpackagetool6 --list-types
copy
Install a package from a directory or file
$ kpackagetool6 -t [Plasma/Applet] -i [path/to/package]
copy
Upgrade an installed package
$ kpackagetool6 -t [Plasma/Applet] -u [path/to/package]
copy
List installed plasmoids (widgets)
$ kpackagetool6 -t Plasma/Applet -l
copy
List globally installed plasmoids (all users)
$ kpackagetool6 -t Plasma/Applet -l -g
copy
Remove a plasmoid by name
$ kpackagetool6 -t Plasma/Applet -r "[name]"
copy
Show information about an installed package
$ kpackagetool6 -t [Plasma/Applet] -s "[name]"
copy

SYNOPSIS

kpackagetool6 [options]

DESCRIPTION

kpackagetool6 manages KDE Plasma 6 packages including plasmoids (widgets), themes, wallpapers, KWin scripts, and other Plasma components. It is the KDE Frameworks 6 version of the package management tool.Package types include Plasma/Applet (widgets), Plasma/Theme, Plasma/Wallpaper, Plasma/LookAndFeel, KWin/Script, and more. User packages are stored in `~/.local/share/plasma/`. It manages packages installed via KPackage or store.kde.org, not system packages from distribution repositories.

PARAMETERS

--list-types

List all available package types.
-t, --type TYPE
Package type (Plasma/Applet, Plasma/Theme, Plasma/Wallpaper, Plasma/LookAndFeel, etc.).
-i, --install PATH
Install package from a directory or file.
-u, --upgrade PATH
Upgrade an existing package.
-r, --remove NAME
Remove an installed package.
-l, --list
List installed packages of the given type.
-s, --show NAME
Show information about an installed package.
-g, --global
Operate on global (system-wide) packages.
-p, --packageroot PATH
Absolute path to the package root instead of standard data directories.
--appstream-metainfo PATH
Output AppStream metadata for the package.

CAVEATS

KDE 6 specific; for KDE 5 use kpackagetool5. Some packages may require Plasma restart to take effect. Global installation requires root privileges.

HISTORY

kpackagetool6 is part of KDE Frameworks 6, the successor to KDE Frameworks 5. It continues the modular package management system for Plasma components.

SEE ALSO

Copied to clipboard
Kai