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

Last updated: October 09,2024

1. Install "golang.x86_64" package

In this section, we are going to explain the necessary steps to install golang.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8)

$ sudo dnf update $ sudo dnf install golang.x86_64

2. Uninstall "golang.x86_64" package

This tutorial shows how to uninstall golang.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8):

$ sudo dnf remove golang.x86_64 $ sudo dnf autoremove

3. Information about the golang.x86_64 package on Red Hat Enterprise Linux 8 (RHEL 8)

Last metadata expiration check: 0:44:21 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : golang
Version : 1.20.12
Release : 2.module+el8.9.0+21033+5795bdf6
Architecture : x86_64
Size : 686 k
Source : golang-1.20.12-2.module+el8.9.0+21033+5795bdf6.src.rpm
Repository : ubi-8-appstream-rpms
Summary : The Go Programming Language
URL : http://golang.org/
License : BSD and Public Domain
Description : The Go Programming Language.