search

Install Helm on Ubuntu

Mar 20, 2024 pm 06:41 PM
ubuntuConfiguration filehelm

Install Helm on Ubuntu

Helm is an important component of Kubernetes that simplifies the deployment of Kubernetes applications by bundling configuration files into a package called a Helm Chart. This approach makes updating a single configuration file more convenient than modifying multiple files. With Helm, users can easily deploy Kubernetes applications, simplifying the entire deployment process and improving efficiency.

In this guide, I will introduce different ways to implement Helm on Ubuntu.

Please note: The commands in the following guide apply to Ubuntu 22.04 and all Ubuntu versions and Debian-based distributions. These commands are tested and should work correctly on your system.

Install Helm on Ubuntu

Helm provides several Linux installation methods that can be used to install it on Ubuntu.

  • Use buckle
  • Use Binary Release
  • Use script
  • Use apt

1. Use buckle

On Ubuntu, you can quickly start and run Helm through the snap package manager. To download and install the Helm package, enter the following commands in the terminal.

sudo snap install helm——Classic

Snap packages are containerized and usually larger than Deb. If you want to remove it from Ubuntu then use Snap Remove command.

sudo snap removehelmet

2. Use Binary Release

The first method is to download the tar file from the official website.

Download the Linux version from here.

Use the cd command to go to the directory where you downloaded the file; in my case, it was downloaded under the Downloads directory.

Use the Linux tar command to decompress the file.

Sudo tar-zxf

In the above command, z flag is used to decompress GZ files, x is used to decompress archive files, and f is used to read/write the mentioned files. In my case, the filename is helm-v3.14.0-linux-arm64.tar.gz.

sudo tar—zxf helm—v3.14.0—linux—arm64.tar.gz

After unzipping the archive file, a directory named linux-arm64 will be created in the current working directory. Depending on the file name, the directory name may change.

Use the cd command to navigate to this directory.

cd linux—arm64

In this directory, you will get three files, helm, LICENSE and README.md.

Use sudo and mv (move) commands to move the helm binary file to the /usr/local/bin directory.

Sudo mv helm/usr/local/bin/

that's all! The installation of Helm on Ubuntu has been completed, please use the helm version command to verify the installation.

Rudder type

The output indicates that Helm is installed on Linux.

To uninstall helm from Ubuntu, simply delete helm from the /usr/local/bin/ directory.

Sudo rm/usr/local/bin/helm

3. Use script

The second way to download and install Helm to Ubuntu is to use a script. To download the latest script for Helm, execute the following command.

Curl-fsSL-o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3

The above command retrieves the latest Helm script and downloads it to the current working directory named get_helm.sh.

To make the script executable, use the chmod command to grant it the required permissions.

sudo chmod 700 get_helm.sh

Execute this script to start the installation process.

./get_helm.sh

Helm will be downloaded and installed in the /usr/local/bin/ directory. Verify by checking its version.

To uninstall it, use the same method mentioned at the end of method 2 (using the binary version).

4. Use apt

To install the Helm package to Ubuntu using APT, first, we need to add its repository; see the steps below.

First download and install the public key.

Curl keyring|gpg–dearmor|sudo tee/usr/Share/https://baltocdn.com/helm/signing.asc/helm.gpg>/dev/empty

Here, cURL https://baltocdn.com/helm/signing.asc is downloading the public ASCII armor key, and gpg-dearmor is converting it to binary.

tee/usr/share/keyrings/helm.gpg is writing the converted binary to the helm.gpg file.

You will not see any output as all standard output will be sent to /dev/empty.

Add the repository by executing the below mentioned command.

ECHO "deb[Arch=$(dpkg–print-Architecture)Signed-By=/usr/Share/Keyring/helm.gpg]https://baltocdn.com/helm/stable/debian/ALL Main" | sudo tee/etc/apt/sources.list.d/helm-stable-debian.list

Here, the echoed parameters containing repository information are written to the Sourcees.list.d/helm-stable-debian.list file.

Now, to access the repository via the secure HTTPS protocol, install the apt_transport_https package, although this is an optional step.

It should be noted that the apt-transport-https package has been built in APT since version 1.5 and is available in the latest Ubuntu versions.

sudo apt install apt—transport—https—yes

Now, update the repository list and install Helm using apt.

sudo apt install helm

To verify, use the helm version command. But if it shows an error, please restart the system.

To uninstall it, use the following command.

SUDO APT REMOVE – Automatically remove the servo

in conclusion

In order to improve the efficiency of Kubernetes package deployment, the Helm tool is used. There are multiple ways to install Helm on Ubuntu, such as through Snap, APT, scripts and official binaries. In this tutorial, all these methods will be discussed. I prefer using Snap to install Helm because it only takes one command to complete. However, this also depends on the system requirements. Also listed are Helm's uninstall methods and their respective installation methods.

The above is the detailed content of Install Helm on Ubuntu. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:每日运维. If there is any infringement, please contact admin@php.cn delete
Download Hidester VPN/Proxy to Access Your Favorite Content - MiniToolDownload Hidester VPN/Proxy to Access Your Favorite Content - MiniToolApr 22, 2025 am 12:50 AM

Learn about Hidester VPN and Hidester proxy and download Hidester VPN for Windows, Mac, Android, and iOS to use this VPN service to view websites with no limit. For more useful free computer tools and troubleshooting tips, you may visit php.cn Softwa

Windows Keyboard Opening Shortcuts Instead of Typing [Fixed]Windows Keyboard Opening Shortcuts Instead of Typing [Fixed]Apr 22, 2025 am 12:48 AM

Have you ever encountered the trouble of “Windows keyboard opening shortcuts instead of typing”? In this post from php.cn, you will learn how to fix this issue.

Easy Ways to Add the Control Panel Icon to Desktop on Win 10 / 11Easy Ways to Add the Control Panel Icon to Desktop on Win 10 / 11Apr 22, 2025 am 12:46 AM

In this post, php.cn Software will introduce what Control Panel is and how to add the Control Panel icon to desktop on your Windows 10 or Windows 11 computer. You can also learn some related information about desktop icon settings.

Granblue Fantasy Relink Save File Location & Backup Save DataGranblue Fantasy Relink Save File Location & Backup Save DataApr 22, 2025 am 12:45 AM

If you play Granblue Fantasy: Relink on your PC, you may wonder where you can find its save file. In this post, php.cn introduces everything you want to know - Granblue Fantasy Relink save file location and how to back up the savegame of this game.

How to Fix Event ID 1104: The Security Log Is Now Full? - MiniToolHow to Fix Event ID 1104: The Security Log Is Now Full? - MiniToolApr 22, 2025 am 12:44 AM

Event Viewer keeps track of activity for better management. However, if the upper limit of the security log is reached, no more events can be logged. In this post on php.cn Website, we will show you how to deal with Event ID 1104 the security log is

Watch: How to Enable Secure Boot on Gigabyte Motherboard?Watch: How to Enable Secure Boot on Gigabyte Motherboard?Apr 22, 2025 am 12:43 AM

Secure Boot is a security standard that can prevent your computer from booting with untrustworthy software. Enabling it will add an extra layer of security to your device. In this post from php.cn Website, we will show you how to enable Secure Boot o

Windows 11 23H2 Release Date: September 26, 2023 - MiniToolWindows 11 23H2 Release Date: September 26, 2023 - MiniToolApr 22, 2025 am 12:42 AM

Coming to a new year, what Windows 11 users are looking forward to are not only the patch updates but also the annual major update for Windows 11. This post will talk about the Windows 11 23H2 release date. In addition, if you want to recover deleted

How to Turn off Bixby on Samsung Phone? See a Guide! - MiniToolHow to Turn off Bixby on Samsung Phone? See a Guide! - MiniToolApr 22, 2025 am 12:41 AM

Can you completely disable Bixby? How to turn off Bixby on Samsung phones? It is not hard to disable this voice assistant. In this post from php.cn, we will go to any length to help you find the method. Besides, a way to turn off “Hi, Bixby” is also

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

Atom editor mac version download

Atom editor mac version download

The most popular open source editor