How to Install and Uninstall pre-commit Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 25,2024

1. Install "pre-commit" package

Please follow the steps below to install pre-commit on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install pre-commit

2. Uninstall "pre-commit" package

This guide let you learn how to uninstall pre-commit on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the pre-commit package on Ubuntu 24.04 LTS (Noble Numbat)

Package: pre-commit
Architecture: all
Version: 3.6.2-1
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Daniel Baumann
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 406
Depends: python3-cfgv, python3-identify, nodeenv, python3-virtualenv, python3-yaml, python3:any
Filename: pool/universe/p/pre-commit/pre-commit_3.6.2-1_all.deb
Size: 168286
MD5sum: 2c5bda7e00225edb2a60c6abfb1de22f
SHA1: 6c59a5a0d8229852935e0232aaa0c378f47402ab
SHA256: 585ff68705bb8b94233fcdfd8a5f1af6661b0f7e8089f182fda2a54829d78317
SHA512: c5a9974b4498e32883937f2721981498671715ef9c8b62d0b5ad20c78fb3f83c2d77afb8c5bdc8eaca2b4ef2e3750972a1bee9473638b6cfc529672bb53b473b
Homepage: https://pre-commit.com
Description: Git pre-commit hook framework
Description-md5: 8f4fbe8e308da30853dc7b7b289059a8