How to Install and Uninstall kubernetes Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: September 20,2024

1. Install "kubernetes" package

In this section, we are going to explain the necessary steps to install kubernetes on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install kubernetes

2. Uninstall "kubernetes" package

Please follow the step by step instructions below to uninstall kubernetes on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove kubernetes $ sudo apt autoclean && sudo apt autoremove

3. Information about the kubernetes package on Ubuntu 20.04 LTS (Focal Fossa)

Package: kubernetes
Architecture: all
Version: 1.0
Priority: optional
Section: universe/misc
Origin: Ubuntu
Maintainer: Adam Stokes
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 19
Filename: pool/universe/k/kubernetes/kubernetes_1.0_all.deb
Size: 3340
MD5sum: b74373f001adfe9ca8efcc73ebbddc95
SHA1: ece5d69437de980baa365f452cbbf9932d43c3f2
SHA256: 4cdf7d8cef5f8e7944e89da8605cedbab6d7764e00b2edde8be89dfcb10d6831
Homepage: https://k8s.io
Description: Installer package for Kubernetes
Description-md5: 82b317f4b7b695abbb71d0694c31365a