How to Install and Uninstall nss-myhostname Package on openSUSE Leap

Last updated: November 26,2024

1. Install "nss-myhostname" package

Please follow the guidelines below to install nss-myhostname on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install nss-myhostname

2. Uninstall "nss-myhostname" package

Please follow the steps below to uninstall nss-myhostname on openSUSE Leap:

$ sudo zypper remove nss-myhostname

3. Information about the nss-myhostname package on openSUSE Leap

Information for package nss-myhostname:
---------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : nss-myhostname
Version : 249.17-150400.8.40.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 184.3 KiB
Installed : No
Status : not installed
Source package : systemd-249.17-150400.8.40.1.src
Upstream URL : http://www.freedesktop.org/wiki/Software/systemd
Summary : Plugin for local system host name resolution
Description :
This package contains a plug-in module for the Name Service Switch
(NSS), primarly providing hostname resolution for the locally
configured system hostname as returned by gethostname(2). For example,
it resolves the local hostname to locally configured IP addresses, as
well as "localhost" to 127.0.0.1/::1.
To activate this NSS module, you will need to include it in
/etc/nsswitch.conf, see nss-hostname(8) manpage for more details.

5. The same packages on other Linux Distributions