How to Install and Uninstall hostname Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 14,2024

1. Install "hostname" package

Here is a brief guide to show you how to install hostname on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install hostname

2. Uninstall "hostname" package

This guide let you learn how to uninstall hostname on Ubuntu 21.10 (Impish Indri):

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

3. Information about the hostname package on Ubuntu 21.10 (Impish Indri)

Package: hostname
Architecture: amd64
Version: 3.23ubuntu1
Priority: required
Essential: yes
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Michael Meskes
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 50
Pre-Depends: libc6 (>= 2.34)
Breaks: nis (<< 3.17-30)
Replaces: nis (<< 3.17-30)
Filename: pool/main/h/hostname/hostname_3.23ubuntu1_amd64.deb
Size: 11468
MD5sum: f309c72922e0b65b4d3e210c353a0bb8
SHA1: bdf6a67ec5d9471f6f882909f5ce8c37604d8ff1
SHA256: dfceb1b62785c0f197bac24f5bbb5985ac3473116740670e2745dbc7bf316005
SHA512: ac41ed1df335d70cdca11b1e0fd21732ad8a9410eb173c002bcb9782de9d9f4fd2e81eb1373ac6c59274945b18c195c286d0868bbd750c17db4d3e6af1b78bc2
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