How to Install and Uninstall libnss-myhostname Package on Kali Linux

Last updated: May 01,2024

1. Install "libnss-myhostname" package

In this section, we are going to explain the necessary steps to install libnss-myhostname on Kali Linux

$ sudo apt update $ sudo apt install libnss-myhostname

2. Uninstall "libnss-myhostname" package

This is a short guide on how to uninstall libnss-myhostname on Kali Linux:

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

3. Information about the libnss-myhostname package on Kali Linux

Package: libnss-myhostname
Source: systemd
Version: 255.4-1
Installed-Size: 231
Maintainer: Debian systemd Maintainers
Architecture: amd64
Depends: libc6 (>= 2.34), libcap2 (>= 1:2.10)
Size: 99324
SHA256: a7c27ff7bc70df51a60e851a85feec7d0f07d1a854910314b06591068c946a2c
SHA1: 6acf51fd91a24d6037152c08aa7f81ee355fbbf2
MD5sum: d62e9eb6abd9f9da926ac3265480bca9
Description: nss module providing fallback resolution for the current hostname
This package contains a plugin for the Name Service Switch, providing host
name resolution for the locally configured system hostname as returned by
gethostname(2). It returns all locally configured public IP addresses or -- if
none are configured, the IPv4 address 127.0.0.2 (which is on the local
loopback) and the IPv6 address ::1 (which is the local host).
.
A lot of software relies on that the local host name is resolvable. This
package provides an alternative to the fragile and error-prone manual editing
of /etc/hosts.
.
Installing this package automatically adds myhostname to /etc/nsswitch.conf.
Description-md5:
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_255.4-1_amd64.deb