39 C
Jaipur
Sunday, April 11, 2021

How to Install Google Cloud SDK on Ubuntu 20.04? – Linux Hint

Must read

The Google Cloud SDK gives us the opportunity to use a terminal to access Google Cloud. It is a toolkit for creation which comes with many commands that help manage resources within the Google Cloud environment.

The purpose of this roadmap is to install the Google Cloud SDK on Ubuntu 20.04.

Installing Google Cloud SDK on Ubuntu 20.04

Before installing the google cloud SDK, we must have python installed on our Linux system, and we need to be able to download online packages.

If python is already in the system. Check the version by executing the command shown below:

We can install python on our system by running the following command on terminal:

$ sudo apt install python3

Installing Google Cloud SDK on Ubuntu 20.04 via Debian Package

Download the Cloud SDK Debian package using the “wget” command. It comes pre-installed on Ubuntu 20.04:

$ wget http://dl.google.com/dl/cloudsdk/channels/rapid/download/google-cloud-sdk-307.0.0-linux-x86_64.tar.gz

Extract the Google Cloud SDK File

We need to extract the downloaded files from Ubuntu 20.04 by running the following command:

$ tar –xvzf google-cloud-sdk-307.0.0-linux-x86_64.tar.gz

Downloaded files have been extracted.

Installing Google Cloud SDK on Ubuntu 20.04

Navigate to the downloaded google cloud SDK by executing the command shown below:

Now we are in the Google Cloud SDK directory.

We have to install the google cloud SDK by typing:

During installation, we will be asked to give feedback to improve the Google Cloud SDK. Press “Y” to give feedback or press “N” if we want to continue the installation process.

During installation, it will prompt you to modify the profile to update your $PATH and enable shell command completion. Pres “Y” to continue the installation.

Now we will ask to enter a new path for bringing a google Cloud SDK.

Conclusion

Google Cloud SDK is a flexible application to access Google Cloud via terminal. It helps usmanage the resources on the Google Cloud. This article focuses on the installation of Google SDK on Ubuntu 20.04.

Source link

- Advertisement -

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article