How To Install golang-k8s-sample-cli-plugin on Fedora 36
Introduction
In this tutorial we learn how to install golang-k8s-sample-cli-plugin
on Fedora 36.
What is golang-k8s-sample-cli-plugin
This package implements a single kubectl plugin for switching the namespace that the current KUBECONFIG context points to. In order to remain as indestructive as possible, no existing contexts are modified.
We can use yum
or dnf
to install golang-k8s-sample-cli-plugin
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-k8s-sample-cli-plugin.
Install golang-k8s-sample-cli-plugin on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install golang-k8s-sample-cli-plugin
using dnf
by running the following command:
sudo dnf -y install golang-k8s-sample-cli-plugin
Install golang-k8s-sample-cli-plugin on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install golang-k8s-sample-cli-plugin
using yum
by running the following command:
sudo yum -y install golang-k8s-sample-cli-plugin
How To Uninstall golang-k8s-sample-cli-plugin on Fedora 36
To uninstall only the golang-k8s-sample-cli-plugin
package we can use the following command:
sudo dnf remove golang-k8s-sample-cli-plugin
golang-k8s-sample-cli-plugin Package Contents on Fedora 36
/usr/bin/kubectl-ns
/usr/lib/.build-id
/usr/lib/.build-id/76
/usr/lib/.build-id/76/ec2d1a1790eb4377f096d063e94ad4e2879011
/usr/share/doc/golang-k8s-sample-cli-plugin
/usr/share/doc/golang-k8s-sample-cli-plugin/CONTRIBUTING.md
/usr/share/doc/golang-k8s-sample-cli-plugin/README.md
/usr/share/doc/golang-k8s-sample-cli-plugin/code-of-conduct.md
/usr/share/licenses/golang-k8s-sample-cli-plugin
/usr/share/licenses/golang-k8s-sample-cli-plugin/LICENSE
References
Summary
In this tutorial we learn how to install golang-k8s-sample-cli-plugin
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).