Install Google Cloud SDK on Debian or Ubuntu

watch 1m, 30s
views 2

08:58, 30.07.2026

Article Content
arrow

  • Setup Parameters
  • Step 1: Add the Package Source
  • Step 2: Install Required Dependencies
  • Step 3: Import Google Cloud Public Key
  • Step 4: Refresh apt Repositories
  • Step 5: Begin Google Cloud SDK Installation

Google Cloud SDK is not just a tool, it is actually a collection of tools that are extremely helpful for the management of the Google Cloud. This collection consists of tools for data importing, managing tools, command-line interface, and components that can be crucial for the simplification of the tasks in the cloud.

Here in this guide, we will share step-by-step instructions about the installation process on Ubuntu or Debian.

Setup Parameters

Step 1: Add the Package Source

The initial step in this process is adding Cloud SDK as a package source.

Enter as user {Linux User} on node {Node}

echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list

Step 2: Install Required Dependencies

To install the needed dependencies, use the following line:

sudo apt-get -y install apt-transport-https ca-certificates gnupg

Step 3: Import Google Cloud Public Key

The third step is connected with the import of the public key, and the required command for this purpose is:

curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -

Step 4: Refresh apt Repositories

One more important step that should not be skipped is the update. Specifically, the update of apt repositories is required.

 sudo apt update

Step 5: Begin Google Cloud SDK Installation

The mentioned steps are needed to begin a proper installation process of this tool. Once these processes have been completed, you can use the following line for the finishing of the authentication:

gcloud init

Once that is done you can start using the last needed command:

sudo apt-get install -y google-cloud-sdk

The process of installing Google Cloud SDK on Debian or Ubuntu is fairly straightforward and has only 5 steps to complete. Just follow the instructions and you won’t have any issues with this collection of tools.

Share

Was this article helpful to you?

VPS popular offers

-20.5%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
150 GB SSD
Bandwidth
Bandwidth
10 TB
KVM-SSD 16384 Metered Linux

95 /mo

/mo

Billed annually

-10%

CPU
CPU
4 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
Unlimited
10Ge-KVM-SSD 8192 Linux

115.5 /mo

/mo

Billed annually

-10%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
200 GB HDD
Bandwidth
Bandwidth
300 Gb
KVM-HDD HK 8192 Linux

20.66 /mo

/mo

Billed annually

-12.3%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
150 GB SSD
Bandwidth
Bandwidth
Unlimited
10Ge-wKVM-SSD 16384 Windows

237 /mo

/mo

Billed annually

-9.7%

CPU
CPU
10 Epyc Cores
RAM
RAM
64 GB
Space
Space
300 GB NVMe
Bandwidth
Bandwidth
Unlimited
wKVM-NVMe 65536 Windows

139.49 /mo

/mo

Billed annually

-5.6%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
60 GB HDD
Bandwidth
Bandwidth
Unlimited
wKVM-HDD 2048 Windows

13.7 /mo

/mo

Billed annually

-10%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
Unlimited
MT5 KVM 8192 Windows

29.99 /mo

/mo

Billed annually

-10%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
Unlimited
wKVM-SSD 8192 Windows

28.44 /mo

/mo

Billed annually

-10%

CPU
CPU
6 Epyc Cores
RAM
RAM
16 GB
Space
Space
150 GB NVMe
Bandwidth
Bandwidth
Unlimited
Keitaro KVM 16384
OS
CentOS
Software
Software
Keitaro

55.54 /mo

/mo

Billed annually

-29.4%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
30 GB SSD
Bandwidth
Bandwidth
2 TB
KVM-SSD 2048 Metered Linux

17 /mo

/mo

Billed annually

Other articles on this topic

cookie

Accept cookies & privacy policy?

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the HostZealot website.