How to Install and Uninstall hostname Package on Ubuntu 21.04 (Hirsute Hippo)
Last updated: December 24,2024
1. Install "hostname" package
This tutorial shows how to install hostname on Ubuntu 21.04 (Hirsute Hippo)
$
sudo apt update
Copied
$
sudo apt install
hostname
Copied
2. Uninstall "hostname" package
This tutorial shows how to uninstall hostname on Ubuntu 21.04 (Hirsute Hippo):
$
sudo apt remove
hostname
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the hostname package on Ubuntu 21.04 (Hirsute Hippo)
Package: hostname
Architecture: amd64
Version: 3.23
Priority: required
Essential: yes
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Michael Meskes
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 54
Pre-Depends: libc6 (>= 2.4)
Breaks: nis (<< 3.17-30)
Replaces: nis (<< 3.17-30)
Filename: pool/main/h/hostname/hostname_3.23_amd64.deb
Size: 11372
MD5sum: 2c82088c1b6218005533948e7c508d64
SHA1: 100af5f53cf76d887c438e786c02a5f27a5dd91f
SHA256: bddd3ac9a78c0f816f24622ef9f0495902da8028de9fc4b24ec8b1a36196a762
SHA512: 1850eee3dee4e88068f3c05cd6c7c4999cce8709589f860cbb4de6db771618be49057b1798bd956da8778c199ef3c296ff9f728a9b387e3691efebf395da6010
Description-en: 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: a5a22acc3c69a7f40f07f1a8dfc93af1
Task: minimal
Architecture: amd64
Version: 3.23
Priority: required
Essential: yes
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Michael Meskes
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 54
Pre-Depends: libc6 (>= 2.4)
Breaks: nis (<< 3.17-30)
Replaces: nis (<< 3.17-30)
Filename: pool/main/h/hostname/hostname_3.23_amd64.deb
Size: 11372
MD5sum: 2c82088c1b6218005533948e7c508d64
SHA1: 100af5f53cf76d887c438e786c02a5f27a5dd91f
SHA256: bddd3ac9a78c0f816f24622ef9f0495902da8028de9fc4b24ec8b1a36196a762
SHA512: 1850eee3dee4e88068f3c05cd6c7c4999cce8709589f860cbb4de6db771618be49057b1798bd956da8778c199ef3c296ff9f728a9b387e3691efebf395da6010
Description-en: 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: a5a22acc3c69a7f40f07f1a8dfc93af1
Task: minimal