How to Install and Uninstall hostname.x86_64 Package on CentOS 7 / RHEL 7

Last updated: April 20,2024

1. Install "hostname.x86_64" package

Please follow the steps below to install hostname.x86_64 on CentOS 7 / RHEL 7

$ sudo yum makecache $ sudo yum install hostname.x86_64

2. Uninstall "hostname.x86_64" package

Please follow the guidance below to uninstall hostname.x86_64 on CentOS 7 / RHEL 7:

$ sudo yum remove hostname.x86_64 $ sudo yum autoremove

3. Information about the hostname.x86_64 package on CentOS 7 / RHEL 7

Installed Packages
Name : hostname
Arch : x86_64
Version : 3.13
Release : 3.el7_7.1
Size : 19 k
Repo : installed
From repo : anaconda
Summary : Utility to set/show the host name or domain name
URL : http://packages.qa.debian.org/h/hostname.html
License : GPLv2+
Description : This package provides commands which can be used to display the
: system's DNS name, and to display or set its hostname or NIS
: domain name.