How to Install and Uninstall hostname Package on Debian 11 (Bullseye)

Last updated: November 26,2024

1. Install "hostname" package

Please follow the steps below to install hostname on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install hostname

2. Uninstall "hostname" package

Please follow the step by step instructions below to uninstall hostname on Debian 11 (Bullseye):

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

3. Information about the hostname package on Debian 11 (Bullseye)

Package: hostname
Version: 3.23
Essential: yes
Installed-Size: 50
Maintainer: Michael Meskes
Architecture: amd64
Replaces: nis (<< 3.17-30)
Pre-Depends: libc6 (>= 2.4)
Breaks: nis (<< 3.17-30)
Description: utility to set/show the host name or domain name
Description-md5: a5a22acc3c69a7f40f07f1a8dfc93af1
Tag: implemented-in::c, interface::commandline, role::program,
scope::utility, use::configuring
Section: admin
Priority: required
Filename: pool/main/h/hostname/hostname_3.23_amd64.deb
Size: 14948
MD5sum: 4addff073f92d20bd6745e9bd7e71e23
SHA256: 3288cd76324fee7b1a34b97f6e6bcfc32a889f4f22002d0bd3788d8988eca791