Cannot find Mercurial in 9.1

I cannot install Mercurial in my 9.1 host. Any ideas?

# dnf clean all
25 files removed
# dnf search all mercurial
Rocky Linux 9 - BaseOS                                 1.6 MB/s | 1.8 MB     00:01
Rocky Linux 9 - AppStream                              3.5 MB/s | 6.6 MB     00:01
Rocky Linux 9 - Extras                                  19 kB/s | 8.5 kB     00:00
No matches found.
# cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.1 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.1"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.1 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.1"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.1"

Hi @cpappy,

mercurial is in EPEL in EL9:

https://rhel.pkgs.org/9/epel-x86_64/mercurial-6.1.4-1.el9.x86_64.rpm.html

If you don’t know EPEL, here is some info about that as well :slight_smile:

1 Like

Thanks for the quick response!

Adding EPEL worked.

1 Like