How to Install and Uninstall kubectl.x86_64 Package on CentOS Stream 8

Last updated: October 31,2024

1. Install "kubectl.x86_64" package

Here is a brief guide to show you how to install kubectl.x86_64 on CentOS Stream 8

$ sudo dnf update $ sudo dnf install kubectl.x86_64

2. Uninstall "kubectl.x86_64" package

Learn how to uninstall kubectl.x86_64 on CentOS Stream 8:

$ sudo dnf remove kubectl.x86_64 $ sudo dnf autoremove

3. Information about the kubectl.x86_64 package on CentOS Stream 8

Last metadata expiration check: 19:15:29 ago on Sat 02 Oct 2021 09:11:27 AM UTC.
Available Packages
Name : kubectl
Version : 1.22.2
Release : 0
Architecture : x86_64
Size : 9.6 M
Source : kubelet-1.22.2-0.src.rpm
Repository : google-cloud-sdk
Summary : Command-line utility for interacting with a Kubernetes cluster.
URL : https://kubernetes.io
License : ASL 2.0
Description : Command-line utility for interacting with a Kubernetes cluster.