How To Install gitweb.noarch on Amazon Linux 2
In this tutorial we learn how to install gitweb.noarch in Amazon Linux 2. gitweb.noarch is Simple web interface to git repositories
Introduction
In this tutorial we learn how to install gitweb.noarch
on Amazon Linux 2.
What is gitweb.noarch
Simple web interface to git repositories.
We can use yum
to install gitweb.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gitweb.noarch.
Install gitweb.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 gitweb.noarch
using yum
by running the following command:
sudo yum -y install gitweb.noarch
How To Uninstall gitweb.noarch on Amazon Linux 2
To uninstall only the gitweb.noarch
package we can use the following command:
sudo yum remove gitweb.noarch
gitweb.noarch Package Contents on Amazon Linux 2
/etc/gitweb.conf
/etc/httpd/conf.d/git.conf
/usr/share/doc/git-2.32.0/INSTALL.gitweb
/usr/share/doc/git-2.32.0/README.gitweb
/usr/share/doc/git-2.32.0/gitweb.conf.html
/usr/share/doc/git-2.32.0/gitweb.conf.txt
/usr/share/doc/git-2.32.0/gitweb.html
/usr/share/doc/git-2.32.0/gitweb.txt
/usr/share/man/man1/gitweb.1.gz
/usr/share/man/man5/gitweb.conf.5.gz
/var/www/git
/var/www/git/gitweb.cgi
/var/www/git/static
/var/www/git/static/git-favicon.png
/var/www/git/static/git-logo.png
/var/www/git/static/gitweb.css
/var/www/git/static/gitweb.js
References
Summary
In this tutorial we learn how to install gitweb.noarch
on Amazon Linux 2 using yum.