How to Install and Uninstall systemd-resolved Package on Debian 12 (Bookworm)

Last updated: December 24,2024

1. Install "systemd-resolved" package

Please follow the guidance below to install systemd-resolved on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install systemd-resolved

2. Uninstall "systemd-resolved" package

Please follow the guidelines below to uninstall systemd-resolved on Debian 12 (Bookworm):

$ sudo apt remove systemd-resolved $ sudo apt autoclean && sudo apt autoremove

3. Information about the systemd-resolved package on Debian 12 (Bookworm)

Package: systemd-resolved
Source: systemd
Version: 252.22-1~deb12u1
Installed-Size: 808
Maintainer: Debian systemd Maintainers
Architecture: amd64
Replaces: resolvconf, systemd (<< 251.3-2~)
Provides: resolvconf
Depends: libc6 (>= 2.34), libssl3 (>= 3.0.0), libsystemd-shared (= 252.22-1~deb12u1), systemd (= 252.22-1~deb12u1), default-dbus-system-bus | dbus-system-bus
Recommends: libnss-myhostname, libnss-resolve
Suggests: polkitd | policykit-1
Conflicts: resolvconf
Breaks: systemd (<< 251.3-2~)
Description: systemd DNS resolver
Description-md5: 846dc3eb3129c6a17b29965b209c161e
Multi-Arch: foreign
Homepage: https://www.freedesktop.org/wiki/Software/systemd
Section: admin
Priority: optional
Filename: pool/main/s/systemd/systemd-resolved_252.22-1~deb12u1_amd64.deb
Size: 304860
MD5sum: a88915bd531e08a8d59daadaaa0f1428
SHA256: d2cd32d62915b0aea7a87f572881e95c554cbb22990b2ba66cb9158e1f70379c