How to Install and Uninstall libnss-myhostname Package on Debian 12 (Bookworm)

Last updated: November 10,2024

1. Install "libnss-myhostname" package

This guide covers the steps necessary to install libnss-myhostname on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libnss-myhostname

2. Uninstall "libnss-myhostname" package

Please follow the instructions below to uninstall libnss-myhostname on Debian 12 (Bookworm):

$ sudo apt remove libnss-myhostname $ sudo apt autoclean && sudo apt autoremove

3. Information about the libnss-myhostname package on Debian 12 (Bookworm)

Package: libnss-myhostname
Source: systemd
Version: 252.22-1~deb12u1
Installed-Size: 204
Maintainer: Debian systemd Maintainers
Architecture: amd64
Depends: libc6 (>= 2.34)
Description: nss module providing fallback resolution for the current hostname
Description-md5: 0bec93cc0b56ef90c11c1a7842dd8f8a
Multi-Arch: same
Homepage: https://www.freedesktop.org/wiki/Software/systemd
Tag: implemented-in::c, role::plugin
Section: admin
Priority: optional
Filename: pool/main/s/systemd/libnss-myhostname_252.22-1~deb12u1_amd64.deb
Size: 84020
MD5sum: f20aa1cbdd0abc5d33a405ff79c2bca4
SHA256: df334e32d2b45dd24778e58677dae135a5163082e73d190990a1508e34d27ea5