Uninstall Minikube from Debian or any Linux distro

Last updated on April 5th, 2023 at 12:36 pm.

Uninstall Minikube from Debian or any Linux distro

Step 1 : Try removing the Minikube binary

First try (You try because the binary path may be different on your Linux distro) remove minikube by doing either of the following:

sudo rm /usr/bin/minikube

#or

sudo rm /usr/local/bin/minikube

Next : If you get the error cannot remove '/usr/.../minikube': No such file or directory find the correct minikube path and remove it by piping it to xargs as follows:

which minikube | xargs sudo rm

Related posts:

Step 2 : Remove Minikube config files

Then finally remove the minikube configs in .kube and .minikube. If you need to save/back up any configuration files, then do so first.

rm -rf ~/.minikube  ~/.kube

Step 3 : Optional – Remove kubectl

If you installed it via your package manager, remove it via your package manager, example on Debian:

sudo apt remove kubectl

Otherwise remove the binary as follows:

which kubectl | xargs sudo rm

That is how to remove or uninstall Minikube on a Linux OS.

Comment Here

Need WordPress help? Linux Server help? Talk to us.

  • We are your own WordPress customer service.
  • We set up Linux servers and install or migrate WordPress. Learn more here.
  • We support WooCommerce too.
  • Check out our WordPress customer support plans here or contact us below .

If you have any questions regarding WordPress support, Linux server support or any of our services, feel free to reach out or read more on our services page.

Join this free course:

How to host multiple WordPress
websites on a VPS

Close me!