How To Install HELM on Ubuntu 22.04 LTS
In this tutorial, we will show you how to install HELM on Ubuntu 22.04 LTS. Helm is a powerful tool designed to streamline the deployment and management of applications on Kubernetes. It introduces the concept of “charts,” which are packages of pre-configured Kubernetes resources. Helm charts simplify the process of defining, installing, and upgrading even the most complex Kubernetes applications.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of the HELM on Ubuntu 22.04 (Jammy Jellyfish). You can follow the same instructions for Ubuntu 22.04 and any other Debian-based distribution like Linux Mint, Elementary OS, Pop!_OS, and more as well.
Prerequisites
- A server running one of the following operating systems: Ubuntu 22.04, 20.04, and any other Debian-based distribution like Linux Mint.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- Basic knowledge of the Linux command-line interface (CLI). This guide assumes you’re comfortable with executing commands in a terminal.
- An active internet connection. You’ll need an internet connection to download the necessary packages and dependencies for HELM.
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install HELM on Ubuntu 22.04 LTS Jammy Jellyfish
Step 1. Before installing any new software, it’s always a good practice to update the system’s package list. This ensures that you have the latest versions of all packages, which can help prevent compatibility issues. To update your system’s package list, open a terminal and run the following command:
sudo apt update sudo apt upgrade
Step 2. Installing HELM on Ubuntu 22.04.
- Method 1: Installing Helm using Snap
Snap is a software packaging and deployment system developed by Canonical for operating systems that use the Linux kernel. On Ubuntu, Snap comes pre-installed, making it an easy way to install Helm.
To install Helm using Snap, run the following command in your terminal:
snap install helm --classic
After the installation, you can verify it by checking the version of Helm:
helm version
- Method 2: Installing Helm using Helm Project Files
Another method to install Helm on Ubuntu 22.04 LTS is by manually downloading its files from GitHub. First, visit the Helm GitHub page and download the latest stable release of Helm. You can use the wget
command to download the release:
wget https://get.helm.sh/helm-v3.8.2-linux-amd64.tar.gz
Next, extract the downloaded tar file:
tar -zxvf helm-v3.8.2-linux-amd64.tar.gz
Move the Helm binary to your PATH:
sudo mv linux-amd64/helm /usr/local/bin/helm
Finally, verify the installation by checking the version of Helm:
helm version
Congratulations! You have successfully installed HELM. Thanks for using this tutorial for installing HELM on the Ubuntu 22.04 LTS Jammy Jellyfish system. For additional help or useful information, we recommend you check the official HELM website.