How to Install and Uninstall hostname Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 14,2024

1. Install "hostname" package

This tutorial shows how to install hostname on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install hostname

2. Uninstall "hostname" package

Please follow the guidance below to uninstall hostname on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the hostname package on Ubuntu 23.10 (Mantic Minotaur)

Package: hostname
Architecture: amd64
Version: 3.23+nmu1ubuntu1
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+nmu1ubuntu1_amd64.deb
Size: 10968
MD5sum: ed65de80ce5bf82dd807d1d5359c9385
SHA1: ae03a9e3584f5338722f8fd4c2b304a207ac9e93
SHA256: 4ab145a65fa096d82f049a56f6a594c4dc99fdcc2301dbfe964b8acbbf4ed6da
SHA512: 5ada60213e5430811bf9cfe38f399a372cc18d2e2fcccda70f572d475925b95b962ef4de6aa2371241ef3a320731db712edf1ac739b5349e41bbe77af518d307
Description: utility to set/show the host name or domain name
Description-md5: a5a22acc3c69a7f40f07f1a8dfc93af1
Task: minimal