How to Install and Uninstall mercurial Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 23,2024

1. Install "mercurial" package

Please follow the steps below to install mercurial on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install mercurial

2. Uninstall "mercurial" package

Please follow the guidance below to uninstall mercurial on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove mercurial $ sudo apt autoclean && sudo apt autoremove

3. Information about the mercurial package on Ubuntu 20.04 LTS (Focal Fossa)

Package: mercurial
Architecture: amd64
Version: 5.3.1-1ubuntu1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Python Applications Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1066
Depends: mercurial-common (= 5.3.1-1ubuntu1), ucf (>= 2.0020), python2 (<< 2.8), python2 (>= 2.7~), python2:any (<< 2.8), python2:any (>= 2.7~), libc6 (>= 2.14)
Recommends: openssh-client
Suggests: kdiff3 | kdiff3-qt | kompare | meld | tkcvs | mgdiff, qct
Breaks: hgsubversion (<< 1.9.3+git20190419+6a6ce-2~), hgview-common (<< 1.8.1), mercurial-crecord (<= 0.20140626-1), mercurial-git (<= 0.8.12-1.), qct (<< 1.7-2~)
Filename: pool/universe/m/mercurial/mercurial_5.3.1-1ubuntu1_amd64.deb
Size: 322628
MD5sum: 4484890a855ce0ea71d726daa5d18f56
SHA1: c732c4ec2b5c6fdc4fccff076f2e1ffaa3f68025
SHA256: ffaca7d65e12bcf376dee4c79112e927150ea65179bf167e46fae3dab0da88e7
Homepage: https://www.mercurial-scm.org/
Description: easy-to-use, scalable distributed version control system
Description-md5: 01f62ef3bd1477c40a17577e8dcc5e14