How to Install and Uninstall mercurial Package on Debian 12 (Bookworm)

Last updated: February 16,2025

1. Install "mercurial" package

Please follow the steps below to install mercurial on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install mercurial

2. Uninstall "mercurial" package

Please follow the guidance below to uninstall mercurial on Debian 12 (Bookworm):

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

3. Information about the mercurial package on Debian 12 (Bookworm)

Package: mercurial
Version: 6.3.2-1
Installed-Size: 1049
Maintainer: Debian Python Team
Architecture: amd64
Provides: python3-mercurial
Depends: mercurial-common (= 6.3.2-1), ucf (>= 2.0020), python3 (<< 3.12), python3 (>= 3.11~), python3:any, libc6 (>= 2.34)
Recommends: openssh-client
Suggests: kdiff3 | kdiff3-qt | kompare | meld | tkcvs | mgdiff, qct
Breaks: hgsubversion (<= 1.9.3+git20190419+6a6ce-3), hgview-common, mercurial-crecord (<< 0.20151121-2~), mercurial-git (<= 0.8.12-1.2), mercurial-keyring (<= 1.3.0-1), mercurial-server, python-sphinx-patchqueue, qct, trac-mercurial
Description: easy-to-use, scalable distributed version control system
Description-md5: 01f62ef3bd1477c40a17577e8dcc5e14
Homepage: https://www.mercurial-scm.org/
Tag: devel::rcs, implemented-in::python, interface::commandline,
interface::web, network::client, network::server, protocol::http,
protocol::ssh, protocol::tcp, role::program, scope::application,
use::storing, use::synchronizing, works-with::software:source,
works-with::vcs
Section: vcs
Priority: optional
Filename: pool/main/m/mercurial/mercurial_6.3.2-1_amd64.deb
Size: 335132
MD5sum: 095eef4d1996260f9a08ceabce4866dd
SHA256: 1221b239f13873b452d58c15f6af2ea2c5435d36cc394e1657fc90f1fe1e299f