Installing and Running Applications in Bash

Learn how to install git and various options to run an application in Bash.

Installing git

A good practice is to download all package information before installing any application. This can be done using the following command:

sudo apt-get update

Let’s install git now:

sudo apt-get install -y git

The -y flag is an automatic yes to prompts. It allows the process to run non-interactively.

Connect to the terminal.

Use student-password as password if prompted to enter a password.

Get hands-on with 1400+ tech skills courses.