How to Install and Uninstall hostname Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 14,2024

1. Install "hostname" package

This tutorial shows how to install hostname on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install hostname

2. Uninstall "hostname" package

Learn how to uninstall hostname on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the hostname package on Ubuntu 24.04 LTS (Noble Numbat)

Package: hostname
Architecture: amd64
Version: 3.23+nmu2ubuntu1
Priority: required
Essential: yes
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Michael Meskes
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 46
Pre-Depends: libc6 (>= 2.34)
Breaks: nis (<< 3.17-30)
Replaces: nis (<< 3.17-30)
Filename: pool/main/h/hostname/hostname_3.23+nmu2ubuntu1_amd64.deb
Size: 10984
MD5sum: fd590ff913882f210cb1a9cda1502aa7
SHA1: 66c517e9c6d33d1d22ca67bfebcea6ea07f6d2b9
SHA256: fea76f0f93eb431f061b71b353444225bbc3600084ce1657996c47e51bb50a14
SHA512: 78484a996d84b86920f5b6ee9e7b46d36bc11c70749b2befb56d55201b9bbaaa14e18039c8107f9d2f83a4c1f2933dece93a7257a00cb4a74a48bba0937801f9
Description: utility to set/show the host name or domain name
Description-md5: a5a22acc3c69a7f40f07f1a8dfc93af1
Task: minimal