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

Last updated: May 05,2024

1. Install "sudo" package

Please follow the steps below to install sudo on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install sudo

2. Uninstall "sudo" package

Please follow the steps below to uninstall sudo on Debian 12 (Bookworm):

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

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