How to Install and Uninstall hostname.x86_64 Package on Red Hat Enterprise Linux 9 (RHEL 9)

Last updated: November 28,2024

1. Install "hostname.x86_64" package

Please follow the guidance below to install hostname.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9)

$ sudo dnf update $ sudo dnf install hostname.x86_64

2. Uninstall "hostname.x86_64" package

Please follow the steps below to uninstall hostname.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9):

$ sudo dnf remove hostname.x86_64 $ sudo dnf autoremove

3. Information about the hostname.x86_64 package on Red Hat Enterprise Linux 9 (RHEL 9)

Last metadata expiration check: 0:05:19 ago on Mon Feb 26 07:04:30 2024.
Available Packages
Name : hostname
Version : 3.23
Release : 6.el9
Architecture : x86_64
Size : 33 k
Source : hostname-3.23-6.el9.src.rpm
Repository : ubi-9-baseos-rpms
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.