How to Install and Uninstall pkexec Package on Debian 12 (Bookworm)

Last updated: December 25,2024

1. Install "pkexec" package

Learn how to install pkexec on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install pkexec

2. Uninstall "pkexec" package

Here is a brief guide to show you how to uninstall pkexec on Debian 12 (Bookworm):

$ sudo apt remove pkexec $ sudo apt autoclean && sudo apt autoremove

3. Information about the pkexec package on Debian 12 (Bookworm)

Package: pkexec
Source: policykit-1
Version: 122-3
Installed-Size: 56
Maintainer: Utopia Maintenance Team
Architecture: amd64
Replaces: policykit-1 (<< 0.120-4~)
Depends: polkitd (= 122-3), libc6 (>= 2.34), libglib2.0-0 (>= 2.35.9), libpam0g (>= 0.99.7.1), libpolkit-agent-1-0 (= 122-3), libpolkit-gobject-1-0 (= 122-3)
Breaks: policykit-1 (<< 0.120-4~)
Description: run commands as another user with polkit authorization
Description-md5: 220b2dc5fa280403052088b9c3dcca5a
Multi-Arch: foreign
Homepage: https://www.freedesktop.org/wiki/Software/polkit/
Section: admin
Priority: optional
Filename: pool/main/p/policykit-1/pkexec_122-3_amd64.deb
Size: 22820
MD5sum: d76651b48b35dacecb433992953ea0ce
SHA256: fccbf472566bbec5633a6a56b743af186361137a71b4ede49389210185617ba9