How to Install and Uninstall pkexec Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: November 07,2024

1. Install "pkexec" package

This guide covers the steps necessary to install pkexec on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install pkexec

2. Uninstall "pkexec" package

Please follow the guidelines below to uninstall pkexec on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the pkexec package on Ubuntu 23.10 (Mantic Minotaur)

Package: pkexec
Architecture: amd64
Version: 123-1
Multi-Arch: foreign
Priority: optional
Section: admin
Source: policykit-1
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Utopia Maintenance Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 61
Depends: polkitd (= 123-1), libc6 (>= 2.34), libglib2.0-0 (>= 2.36.0), libpam0g (>= 0.99.7.1), libpolkit-agent-1-0 (= 123-1), libpolkit-gobject-1-0 (= 123-1)
Breaks: policykit-1 (<< 0.120-4~)
Replaces: policykit-1 (<< 0.120-4~)
Filename: pool/main/p/policykit-1/pkexec_123-1_amd64.deb
Size: 15876
MD5sum: 59c8b21752e0620caadf1eb2fc5d8328
SHA1: e07bbda54d83bbf8a176714bc928b5f14fc37e8d
SHA256: 66852cbdc7941461638287006d9e8dceffbedb658efc03db2cb16d4fd28e962d
SHA512: 57da39f639ed88089a2be067c542032568ad635b54894d0ed9659b155392af12a63aaa04482741201aa96a0f2cf1d9ba77f76f74e261ea9de6befff7bd8c3944
Homepage: https://www.freedesktop.org/wiki/Software/polkit/
Description: run commands as another user with polkit authorization
Description-md5: 220b2dc5fa280403052088b9c3dcca5a
Task: ubuntu-desktop-minimal, ubuntu-desktop, ubuntu-desktop-raspi, kubuntu-desktop, xubuntu-minimal, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop-minimal, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi, ubuntu-unity-desktop, ubuntucinnamon-desktop, ubuntucinnamon-desktop-raspi