How To Install git-all.noarch on Amazon Linux 2

In this tutorial we learn how to install git-all.noarch in Amazon Linux 2. git-all.noarch is Meta-package to pull in all git tools

Introduction

In this tutorial we learn how to install git-all.noarch on Amazon Linux 2.

What is git-all.noarch

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. This is a dummy package which brings in all subpackages.

We can use yum to install git-all.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install git-all.noarch.

Install git-all.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install git-all.noarch using yum by running the following command:

sudo yum -y install git-all.noarch

How To Uninstall git-all.noarch on Amazon Linux 2

To uninstall only the git-all.noarch package we can use the following command:

sudo yum remove git-all.noarch

git-all.noarch Package Contents on Amazon Linux 2

References

Summary

In this tutorial we learn how to install git-all.noarch on Amazon Linux 2 using yum.