Categories: LinuxUbuntu

How to Install Kubernetes minikube on Ubuntu 20.04

“minikube" is a lightweight tool that allows you to run Kubernetes locally on your Linux, macOS, or Windows-based systems. It lets you enjoy almost all the features of Kubernetes without actually installing it on your system. It has the ability to run a single-node Kubernetes cluster on your target system. This tutorial shows you how to install minikube on Ubuntu 20.04.

Installation Procedure of minikube on Ubuntu Linux

To have minikube installed on a Ubuntu 20.04 machine, the following steps are to be performed:

Step # 1: Update package lists

First, we have to update our system quickly with the command shown below so that we can proceed further:

$ sudo apt update

Step # 2: Snapd Installation:

Once the target system is successfully updated, we will have to install the Snap daemon on it because we will be using it, later on, to install minikube on our system. The following command needs to be executed in this regard:

$ sudo apt install snapd

The Snap Package Manager will take some time to be installed and will finish its installation with the messages shown in the image below:

Step # 3: minikube Installation:

After the installation of the Snap daemon, we will install minikube by executing the following command:

$ sudo snap install minikube

The message shown in the image below indicates that minikube has been successfully installed on our Linux Mint 20 machine.

Step # 4: Verification of minikube Installation:

Finally, the installation of minikube can be confirmed by finding out its version with the following command:

$ minikube version

The version of minikube installed on our target system as a result of performing this procedure is shown in the image below:

Removing minikube

If you want to remove the minikube package from your system at any time, then you will simply have to execute the following command:

$ sudo snap remove minikube

The message shown in the image below indicates that minikube has been successfully removed as a result of executing the above-mentioned command.

Conclusion

With the help of this tutorial, you can quickly install minikube on your Linux system and enjoy the great features of Kubernetes without actually installing it on your system. Moreover, this package can be very easily removed from your system with a single command that has also been shared in this article.

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn

Recent Posts

How to Install Magento 2 on AlmaLinux

Magento is a free and open-source e-commerce platform written in PHP. It is simple, easy…

1 year ago

How to Install ISPConfig Hosting Control Panel with Apache Web Server on Ubuntu 24.04

ISPConfig is an open-source control panel that allows users to manage multiple servers from a…

1 year ago

How to Test your Email Server (SMTP) Using the Telnet Command

As a Linux administrator, you may find it necessary to troubleshoot or test your Simple…

1 year ago

Managing Network Interfaces and Settings on Ubuntu 24.04 with nmcli

Ubuntu 24.04, like many modern Linux distributions, relies on the NetworkManager for managing network connections.…

2 years ago

Using Restic Backup on Ubuntu 24.04

Restic is a modern, open-source backup program designed for efficiency, security, and simplicity. It enables…

2 years ago

Installing phpMyAdmin on Rocky Linux 9 and Securing it with Let’s Encrypt SSL

phpMyAdmin is a popular free tool written in PHP intended to administer MySQL and MariaDB…

2 years ago