how to completely uninstall minikube from ubuntu 20.04.
i'm getting an error from my current minikube when starting :
minikube start
gets
🐳 Preparing Kubernetes v1.20.0 on Docker 20.10.0 ...| ❌ Unable to load cached images: loading cached images: stat /home/feiz-nouri/.minikube/cache/images/gcr.io/k8s-minikube/storage-provisioner_v4: no such file or directory
how to completely uninstall minikube from ubuntu 20.04
First, run minikube delete to remove minikube VM (or container if run with docker driver), virtual network interfaces configured on the host machine and all other traces of minikube cluster.
Only then you can safely remove its binary. The way how you should do it depends on how you've installed it, but as you can see here, there are not so many options.
If you've installed it by running:
sudo install minikube-linux-amd64 /usr/local/bin/minikubeyou can simply remove the binary from /usr/local/bin/minikube directory as what the above command basically does, is copying the binary to the destination directory. If it's installed in a different directory, you can always check it by running:
which minikubeIf it was installed using dpkg package manager:
sudo dpkg -i minikube_latest_amd64.debyou can search for it with the following command:
dpkg -l | grep minikubeIf it shows you something like:
ii minikube 1.17.1 amd64 Minikubeyou can completely remove it (with all its configuration files) by running:
sudo dpkg --purge minikube