How to Install and Uninstall pre-commit Package on Debian 11 (Bullseye)

Last updated: December 25,2024

1. Install "pre-commit" package

This is a short guide on how to install pre-commit on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install pre-commit

2. Uninstall "pre-commit" package

Please follow the steps below to uninstall pre-commit on Debian 11 (Bullseye):

$ sudo apt remove pre-commit $ sudo apt autoclean && sudo apt autoremove

3. Information about the pre-commit package on Debian 11 (Bullseye)

Package: pre-commit
Version: 2.10.1-1
Installed-Size: 376
Maintainer: Daniel Baumann
Architecture: all
Depends: python3-cfgv, python3-identify, python3-importlib-metadata, nodeenv, python3-toml, python3-virtualenv, python3-yaml, python3:any
Description: Git pre-commit hook framework
Description-md5: 8f4fbe8e308da30853dc7b7b289059a8
Homepage: https://pre-commit.com
Section: utils
Priority: optional
Filename: pool/main/p/pre-commit/pre-commit_2.10.1-1_all.deb
Size: 170620
MD5sum: c0b7c3d68f58e5417ca61aca5d435bce
SHA256: bfc167711124d694549b3e7f6d8583120758374c081d9bd9aa2051d1435aac93