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.

How to download and Play Sid Meier's Civilization VI on Linux
Introduction to the game Civilization 6 is a modern take on the classic concept introduced in the series of the Age of Empires games. The idea was fai...
How to Install and Play Doom on Linux
Introduction to Doom The Doom Series originated in the 90s after the release of the original Doom. It was an instant hit and from that time onwards th...
Vulkan for Linux Users
With each new generation of graphics cards, we see game developers push the limits of graphical fidelity and come one step closer to photorealism. But...