How to Install and Uninstall hostname.x86_64 Package on Rocky Linux 8

Last updated: September 20,2024

1. Install "hostname.x86_64" package

Here is a brief guide to show you how to install hostname.x86_64 on Rocky Linux 8

$ sudo dnf update $ sudo dnf install hostname.x86_64

2. Uninstall "hostname.x86_64" package

In this section, we are going to explain the necessary steps to uninstall hostname.x86_64 on Rocky Linux 8:

$ sudo dnf remove hostname.x86_64 $ sudo dnf autoremove

3. Information about the hostname.x86_64 package on Rocky Linux 8

Last metadata expiration check: 0:52:23 ago on Mon Sep 12 10:27:18 2022.
Installed Packages
Name : hostname
Version : 3.20
Release : 6.el8
Architecture : x86_64
Size : 42 k
Source : hostname-3.20-6.el8.src.rpm
Repository : @System
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.