Finds the command to install OS packages. Prefers PackageKit pkgcli/pkcon when available. Falls back to native package managers with pkexec.
Optional cancellable for aborting the operation.
A function that generates the command line, or null if no suitable installation method is found.
Finds the command to install OS packages. Prefers PackageKit pkgcli/pkcon when available. Falls back to native package managers with pkexec.