How To Install git-daemon.x86_64 on Amazon Linux 2

In this tutorial we learn how to install git-daemon.x86_64 in Amazon Linux 2. git-daemon.x86_64 is Git protocol daemon

Introduction

In this tutorial we learn how to install git-daemon.x86_64 on Amazon Linux 2.

What is git-daemon.x86_64

The git daemon for supporting git

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

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

sudo yum -y install git-daemon.x86_64

How To Uninstall git-daemon.x86_64 on Amazon Linux 2

To uninstall only the git-daemon.x86_64 package we can use the following command:

sudo yum remove git-daemon.x86_64

git-daemon.x86_64 Package Contents on Amazon Linux 2

/usr/lib/systemd/system/git.socket
/usr/lib/systemd/system/[email protected]
/usr/libexec/git-core/git-daemon
/usr/share/doc/git-2.32.0/git-daemon.html
/usr/share/doc/git-2.32.0/git-daemon.txt
/usr/share/man/man1/git-daemon.1.gz
/var/lib/git

References

Summary

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