How to install KUDO Kubectl Plugin in linux without using brew?

1/24/2020

I am new in creating Kubernetes operators and found we can easily make one using the KUDO (Kubernetes Universal Declarative Operator) plugin. From the documentation, KUDO was installed using brew https://kudo.dev/docs/cli.html#setup-the-kudo-kubectl-plugin. Can anyone suggest a method to setup KUDO in linux without using linuxbrew-wrapper ?

-- kisHoR
kubectl
kubernetes
linux
minikube
plugins

1 Answer

1/30/2020

Found a workaround to fix the kudo plugin in linux reducing the overhead of installing brew.

 apt install linuxbrew-wrapper
 brew install kudo-cli

First you figure out the corresponding package from the release page, which is compatible to your machine. Download and extract the file (my case : kudo_0.10.1_linux_x86_64.tar.gz) and there you can find the executable for kubectl-kudo.

Export the path :

export PATH=$PATH:/path/to/downloaded/executable/

You are almost done and can find the commands working. Try kubectl kudo version.

To make it permanent add this export line into your .bashrc and reload.

-- kisHoR
Source: StackOverflow