How to Install and Uninstall pre-commit Package on Debian 12 (Bookworm)

Last updated: November 06,2024

1. Install "pre-commit" package

Please follow the guidance below to install pre-commit on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install pre-commit

2. Uninstall "pre-commit" package

Please follow the steps below to uninstall pre-commit on Debian 12 (Bookworm):

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

3. Information about the pre-commit package on Debian 12 (Bookworm)

Package: pre-commit
Version: 3.0.4-1
Installed-Size: 414
Maintainer: Daniel Baumann
Architecture: all
Depends: python3-cfgv, python3-identify, python3-importlib-metadata, nodeenv, 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_3.0.4-1_all.deb
Size: 186400
MD5sum: 38801d3a14140b7b0244cae184f28494
SHA256: 3b3716e41d20adc82a513e4edf688bd45a9203df5ffb26647debd8f582f4bee7