How to Install and Uninstall cgit Package on Debian 12 (Bookworm)

Last updated: May 12,2024

1. Install "cgit" package

In this section, we are going to explain the necessary steps to install cgit on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install cgit

2. Uninstall "cgit" package

Please follow the guidance below to uninstall cgit on Debian 12 (Bookworm):

$ sudo apt remove cgit $ sudo apt autoclean && sudo apt autoremove

3. Information about the cgit package on Debian 12 (Bookworm)

Package: cgit
Version: 1.2.3+git20221219.50.91f2590+git2.39.1-1
Installed-Size: 2388
Maintainer: Debian cgit Maintainers
Architecture: amd64
Depends: libc6 (>= 2.34), liblua5.1-0, zlib1g (>= 1:1.2.2)
Recommends: apache2 (>= 2.4.6-4~) | httpd
Suggests: python3, python3-docutils, python3-markdown, python3-pygments | highlight
Description: hyperfast web frontend for git repositories written in C
Description-md5: 5e74acb15d1188f3db80ed71f4b7567d
Multi-Arch: foreign
Homepage: https://git.zx2c4.com/cgit/
Section: net
Priority: optional
Filename: pool/main/c/cgit/cgit_1.2.3+git20221219.50.91f2590+git2.39.1-1_amd64.deb
Size: 991184
MD5sum: 9f70d53ea6328fa49e24ab07a16ca63e
SHA256: e39d51909d1aa7ab5327eeae64ad18bad60f55b529ef840cafbb614754a5a191