<p>how to completely uninstall minikube from ubuntu 20.04.</p>
<p>i'm getting an error from my current minikube when starting :</p>
<p><code>minikube start </code>
gets
<code>🐳  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</code></p>

<blockquote>
<p>how to completely uninstall minikube from ubuntu 20.04</p>
</blockquote>
<p>First, run <code>minikube delete</code> to remove <strong>minikube VM</strong> (or container if run with <code>docker</code> driver), <strong>virtual network interfaces</strong> configured on the host machine and all other traces of <strong>minikube</strong> cluster.</p>
<p>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 <a href="https://minikube.sigs.k8s.io/docs/start/" rel="noreferrer">here</a>, there are not so many options.</p>
<p>If you've installed it by running:</p>
<pre><code>sudo install minikube-linux-amd64 /usr/local/bin/minikube
</code></pre>
<p>you can simply remove the binary from <code>/usr/local/bin/minikube</code> 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:</p>
<pre><code>which minikube
</code></pre>
<p>If it was installed using <code>dpkg</code> package manager:</p>
<pre><code>sudo dpkg -i minikube_latest_amd64.deb
</code></pre>
<p>you can search for it with the following command:</p>
<pre><code>dpkg -l | grep minikube
</code></pre>
<p>If it shows you something like:</p>
<pre><code>ii    minikube    1.17.1    amd64    Minikube
</code></pre>
<p>you can completely remove it (with all its configuration files) by running:</p>
<pre><code>sudo dpkg --purge minikube
</code></pre>
