How to Install and Uninstall hostname Package on Kali Linux

Last updated: May 13,2024

1. Install "hostname" package

Please follow the guidance below to install hostname on Kali Linux

$ sudo apt update $ sudo apt install hostname

2. Uninstall "hostname" package

Please follow the steps below to uninstall hostname on Kali Linux:

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

3. Information about the hostname package on Kali Linux

Package: hostname
Version: 3.23+nmu2
Essential: yes
Installed-Size: 50
Maintainer: Michael Meskes
Architecture: amd64
Replaces: nis (<< 3.17-30)
Pre-Depends: libc6 (>= 2.34)
Breaks: nis (<< 3.17-30)
Size: 10556
SHA256: 41e82ba9c1c58f375aa60e74ff47fa49a24fbdf3a3af7632d756c3ba902221fb
SHA1: 1c2fe0dca87c74bb506c85aeb6fdcb73c99ec190
MD5sum: 40c9c1ad52e4abe3c57fcb04cc3f6f03
Description: utility to set/show the host name or domain name
This package provides commands which can be used to display the system's
DNS name, and to display or set its hostname or NIS domain name.
Description-md5:
Tag: implemented-in::c, interface::commandline, role::program,
scope::utility, use::configuring
Section: admin
Priority: required
Filename: pool/main/h/hostname/hostname_3.23+nmu2_amd64.deb