In this article, we will go via 6 Easy Steps to Install Helm Kubernetes Package Manager on Linux. Helm is an wonderful open source package manager for Kubernetes. It is essentially equal to yum
or apt
package manager that we normally use in CentOS and Ubuntu primarily based Systems. So the use of helm you can installation some thing known as charts in your Kubernetes Cluster which is nothing however a Kubernetes Package. Similarly, you can define, update and delete those package with this utility. Usually, here are multiple ways to install Helm on Linux but here we will look into the most easiest way that is by using the binary package.
Prerequisites
a) You should have a running Linux Server. (debian/rhel/ubuntu/centos/etc)
b) You should have wget and tar utility installed in your Server
c) You should have sudo or root access to run privileged commands.
Download Helm
In the first step you need to download the latest Helm binary package from GitHub Download Page using wget utility as shown below. At the time of writing this article, Helm 3.10.3 is the latest version.
wget https://get.helm.sh/helm-v3.10.3-linux-amd64.tar.gz
Extract HelmÂ
Then extract the file from current location using tar -xvf helm-v3.7.0-linux-amd64.tar.gz
command as shown below.
tar xvf helm-v3.7.0-linux-amd64.tar.gz
Move Binary Â
Move binaries to local binary directory
sudo mv linux-amd64/helm /usr/local/bin
Check Helm Version
After successful installation you can check the utility version by using helm version
command as shown below.
$ helm version version.BuildInfo{Version:"v3.10.3", GitCommit:"7ceeda6c585217a19a1131663d8cd1f7d641b2a7", GitTreeState:"clean", GoVersion:"go1.17.5"}
Add RepoÂ
You can try to add repo using helm repo add command to quickly test the helm installation. Here we are adding Helm Chart repo using helm repo add stable https://charts.helm.sh/stable
command as shown below.
$ helm repo add stable https://charts.helm.sh/stable "stable" has been added to your repositories