Select Page

Ubuntu and Debian contain by default preinstalled version of gcloud. But this installation cannot be updated using usual gcloud components update command. Therefore it is necessary to remove it and install gcloud from Google. See:

sudo apt-get update
sudo apt-get remove google-cloud-sdk
curl | bash
exec -l $SHELL
gcloud init
gcloud components list

Installation of kubectl:

gcloud components install kubectl
gcloud components list