<p>I've followed <a href="https://kubernetes.io/docs/tasks/tools/install-kubectl/" rel="noreferrer">guide</a> to install kubectl for testing in development environment on Ubuntu 16.04. </p>

<p>Now I would like to remove Kubectl from ubuntu.</p>

<p>Depending on the method you chose in <a href="https://kubernetes.io/docs/tasks/tools/install-kubectl/" rel="noreferrer">https://kubernetes.io/docs/tasks/tools/install-kubectl/</a>, it can be any of these:</p>

<ul>
<li>Install kubectl binary via curl: <code>sudo rm /usr/local/bin/kubectl</code></li>
<li>Download as part of the Google Cloud SDK: <code>gcloud components remove kubectl</code></li>
<li>Install with snap on Ubuntu (just as Gparmar said): <code>snap remove kubectl</code></li>
</ul>

<p>In addition, you may need to remove the configuration files in <code>~/.kube</code>.</p>
