How to Install and Uninstall pre-commit Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 06,2024
Notice
You can also install and uninstall the pre-commit on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "pre-commit" package
Please follow the instructions below to install pre-commit on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
pre-commit
Copied
2. Uninstall "pre-commit" package
Here is a brief guide to show you how to uninstall pre-commit on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
pre-commit
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the pre-commit package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: pre-commit
Architecture: all
Version: 2.17.0-1
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Daniel Baumann
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 389
Depends: python3-cfgv, python3-identify, python3-importlib-metadata, nodeenv, python3-importlib-resources | python3 (>> 3.7), python3-toml, python3-virtualenv, python3-yaml, python3:any
Filename: pool/universe/p/pre-commit/pre-commit_2.17.0-1_all.deb
Size: 162254
MD5sum: c847704f7c020958209fa34feeb5a8ab
SHA1: 3d3b0c318bd66f18f4d55c6d71cfef7775347652
SHA256: d92e5c757febe85d0c04c68906909ce4c541fae69ebbc9643fb697671c03522c
SHA512: 5619c6b8f6423bb84780ca038fbb6c905a03a12ed84192264b1080b890fb7daff0a45dfd91db24dd1b587ea9ed87b8235276a5f0489046ac89d727732da09866
Homepage: https://pre-commit.com
Description: Git pre-commit hook framework
Description-md5: 8f4fbe8e308da30853dc7b7b289059a8
Architecture: all
Version: 2.17.0-1
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Daniel Baumann
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 389
Depends: python3-cfgv, python3-identify, python3-importlib-metadata, nodeenv, python3-importlib-resources | python3 (>> 3.7), python3-toml, python3-virtualenv, python3-yaml, python3:any
Filename: pool/universe/p/pre-commit/pre-commit_2.17.0-1_all.deb
Size: 162254
MD5sum: c847704f7c020958209fa34feeb5a8ab
SHA1: 3d3b0c318bd66f18f4d55c6d71cfef7775347652
SHA256: d92e5c757febe85d0c04c68906909ce4c541fae69ebbc9643fb697671c03522c
SHA512: 5619c6b8f6423bb84780ca038fbb6c905a03a12ed84192264b1080b890fb7daff0a45dfd91db24dd1b587ea9ed87b8235276a5f0489046ac89d727732da09866
Homepage: https://pre-commit.com
Description: Git pre-commit hook framework
Description-md5: 8f4fbe8e308da30853dc7b7b289059a8