How to Install and Uninstall gitweb Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: April 28,2024

1. Install "gitweb" package

Please follow the guidance below to install gitweb on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gitweb

2. Uninstall "gitweb" package

This tutorial shows how to uninstall gitweb on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove gitweb $ sudo apt autoclean && sudo apt autoremove

3. Information about the gitweb package on Ubuntu 21.04 (Hirsute Hippo)

Package: gitweb
Architecture: all
Version: 1:2.30.2-1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: git
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Jonathan Nieder
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 922
Depends: git (>> 1:2.30.2), git (<< 1:2.30.2-.), perl, libcgi-pm-perl
Recommends: apache2 (>= 2.4.6-4~) | lynx | httpd, libhttp-date-perl | libtime-parsedate-perl
Suggests: httpd-cgi | libcgi-fast-perl, git-doc
Breaks: apache2.2-common (<< 2.3~)
Filename: pool/universe/g/git/gitweb_2.30.2-1ubuntu1_all.deb
Size: 10376
MD5sum: b902e2a330f60b296cf49bbaeb9c933e
SHA1: b0b3dfb36ec8fb12f681f943834e34181ce88651
SHA256: 6be6a782e4bbf8a505baae28ab5439e71fe754a4ad340db1adc721bfd893cff7
SHA512: cb82bdb25086aee90275b309d289c0502750234d923332282942008268d69bf1289e3d7e4c9ac8498061234f47b060aff31d8982ab6854e02e11bc531a14781e
Homepage: https://git-scm.com/
Description-en: fast, scalable, distributed revision control system (web interface)
Git is popular version control system designed to handle very large
projects with speed and efficiency; it is used for many high profile
open source projects, most notably the Linux kernel.
.
Git falls in the category of distributed source code management tools.
Every Git working directory is a full-fledged repository with full
revision tracking capabilities, not dependent on network access or a
central server.
.
This package configures a web interface for browsing git repositories.
.
If apache2 is installed, the web interface is automatically made
available at http://localhost/gitweb. Other servers that support CGI
or mod_perl are supported through manual configuration.
.
If libcgi-fast-perl is installed, gitweb can also be run over FastCGI
(and served by nginx, for example).
Description-md5: 2140d89702ec1cd621b41c71a95a910a