Ubuntu

How to Install Google Cloud SDK on Ubuntu 20.04?

How to Install Google Cloud SDK on Ubuntu 20.04?

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:

$ python3 --version

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:

$ cd google-cloud-sdk

Now we are in the Google Cloud SDK directory.

We have to install the google cloud SDK by typing:

$ ./install.sh

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.

Gry OpenTTD Tutorial
OpenTTD Tutorial
OpenTTD is one of the most popular business simulation games out there. In this game, you need to create a wonderful transportation business. However,...
Gry SuperTuxKart for Linux
SuperTuxKart for Linux
SuperTuxKart is a great title designed to bring you the Mario Kart experience free of charge on your Linux system. It is pretty challenging and fun to...
Gry Battle for Wesnoth Tutorial
Battle for Wesnoth Tutorial
The Battle for Wesnoth is one of the most popular open source strategy games that you can play at this time. Not only has this game been in developmen...