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

In this tutorial we learn how to install git-instaweb.noarch in Amazon Linux 2. git-instaweb.noarch is Repository browser in gitweb

Introduction

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

What is git-instaweb.noarch

A simple script to set up gitweb and a web server for browsing the local repository.

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

Install git-instaweb.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-instaweb.noarch using yum by running the following command:

sudo yum -y install git-instaweb.noarch

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

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

sudo yum remove git-instaweb.noarch

git-instaweb.noarch Package Contents on Amazon Linux 2

/usr/libexec/git-core/git-instaweb
/usr/share/doc/git-2.32.0/git-instaweb.html
/usr/share/doc/git-2.32.0/git-instaweb.txt
/usr/share/man/man1/git-instaweb.1.gz

References

Summary

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