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

Last updated: May 21,2024

1. Install "hostname.x86_64" package

This is a short guide on how to install hostname.x86_64 on CentOS 8 / RHEL 8

$ sudo dnf update $ sudo dnf install hostname.x86_64

2. Uninstall "hostname.x86_64" package

Please follow the step by step instructions below to uninstall hostname.x86_64 on CentOS 8 / RHEL 8:

$ sudo dnf remove hostname.x86_64 $ sudo dnf autoremove

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

Last metadata expiration check: 1 day, 3:30:48 ago on Sun May 9 13:03:46 2021.
Installed Packages
Name : hostname
Version : 3.20
Release : 6.el8
Architecture : x86_64
Size : 43 k
Source : hostname-3.20-6.el8.src.rpm
Repository : @System
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.