How to Install hostname software package in Ubuntu 12.04 LTS (Precise Pangolin)

How to Install hostname software package in Ubuntu 12.04 LTS (Precise Pangolin)

hostname software package provides utility to set/show the host name or domain name, you can install in your Ubuntu 12.04 LTS (Precise Pangolin) by running the commands given below on the terminal,

$ sudo apt-get update
$ sudo apt-get install hostname 

hostname is installed in your system.

Make ensure the hostname package were installed using the commands given below,

$ sudo dpkg-query -l | grep hostname *

You will get with hostname package name, version, architecture and description in a table

hostname package basic information:

Distro Ubuntu 12 04 lts precise pangolin
Section Administration Utilities
Package hostname
Version 3.06ubuntu1
Description utility to set/show the host name or domain name
Sub Section Admin


See Also, How to uninstall or remove hostname software package from Ubuntu 12.04 LTS (Precise Pangolin)?