How to Install and Uninstall sudo Package on Debian 12 (Bookworm)
Last updated: February 24,2025
Notice
You can also install and uninstall the sudo on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "sudo" package
Please follow the steps below to install sudo on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
sudo
Copied
2. Uninstall "sudo" package
Please follow the steps below to uninstall sudo on Debian 12 (Bookworm):
$
sudo apt remove
sudo
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the sudo package on Debian 12 (Bookworm)
Package: sudo
Version: 1.9.13p3-1+deb12u1
Installed-Size: 6054
Maintainer: Sudo Maintainers
Architecture: amd64
Replaces: sudo-ldap
Depends: libaudit1 (>= 1:2.2.1), libc6 (>= 2.34), libpam0g (>= 0.99.7.1), libselinux1 (>= 3.1~), zlib1g (>= 1:1.2.0.2), libpam-modules
Pre-Depends: init-system-helpers (>= 1.54~)
Conflicts: sudo-ldap
Description: Provide limited super user privileges to specific users
Description-md5: acd82d558698567df941afe9b1ac35df
Homepage: https://www.sudo.ws/
Tag: admin::login, admin::user-management, implemented-in::c,
interface::commandline, role::program, scope::utility,
security::authentication, use::login
Section: admin
Priority: optional
Filename: pool/main/s/sudo/sudo_1.9.13p3-1+deb12u1_amd64.deb
Size: 1889484
MD5sum: e3ea8fcfe6020643f0b74db254094f31
SHA256: d00256237009df78614e6a3ab2e9a9c3d207fad04ccf92514fa404af39de69ef
Version: 1.9.13p3-1+deb12u1
Installed-Size: 6054
Maintainer: Sudo Maintainers
Architecture: amd64
Replaces: sudo-ldap
Depends: libaudit1 (>= 1:2.2.1), libc6 (>= 2.34), libpam0g (>= 0.99.7.1), libselinux1 (>= 3.1~), zlib1g (>= 1:1.2.0.2), libpam-modules
Pre-Depends: init-system-helpers (>= 1.54~)
Conflicts: sudo-ldap
Description: Provide limited super user privileges to specific users
Description-md5: acd82d558698567df941afe9b1ac35df
Homepage: https://www.sudo.ws/
Tag: admin::login, admin::user-management, implemented-in::c,
interface::commandline, role::program, scope::utility,
security::authentication, use::login
Section: admin
Priority: optional
Filename: pool/main/s/sudo/sudo_1.9.13p3-1+deb12u1_amd64.deb
Size: 1889484
MD5sum: e3ea8fcfe6020643f0b74db254094f31
SHA256: d00256237009df78614e6a3ab2e9a9c3d207fad04ccf92514fa404af39de69ef