How to Install and Uninstall hostname Package on Debian 10 (Buster)

Last updated: November 26,2024

1. Install "hostname" package

Please follow the step by step instructions below to install hostname on Debian 10 (Buster)

$ sudo apt update $ sudo apt install hostname

2. Uninstall "hostname" package

Please follow the instructions below to uninstall hostname on Debian 10 (Buster):

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

3. Information about the hostname package on Debian 10 (Buster)

Package: hostname
Version: 3.21
Essential: yes
Installed-Size: 54
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.21_amd64.deb
Size: 14792
MD5sum: e958bf55b8397d86a6031152e4995621
SHA256: 869a81b7837e9a90125c511ae9dc2e7118fb3f53b99a045ced541e2564ea0d29