On 12/12/19 1:04 PM, Richard G wrote:
According to the RHEL docs, package log4j was replaced with package
log4j12 in RHEL 8.0. However, when I attempt to install the package in
CentOS 8, dnf cannot find it. I have the Base, AppStream, Extras and
PowerTools repos enabled. What am I doing wrong?
Thanks!
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos
Well, according to
https://dnf.readthedocs.io/en/latest/command_ref.html#module-command-label
you are supposed to be able to do:
# dnf module provides log4j12
Updating Subscription Management repositories.
Last metadata expiration check: 0:04:20 ago on Sat 14 Dec 2019 01:25:00
PM EST.
log4j12-1.2.17-22.module+el8+2598+06babf2e.noarch
Module : javapackages-tools:201801:820181217165704:dca7b4a4:x86_64
Repo : codeready-builder-for-rhel-8-x86_64-rpms
Summary : Tools and macros for Java packaging support
But on EL8.1 and earlier this only works if the module is already
enabled, which isn't much help.
So for this package you need to do:
# dnf module enable javapackages-tools
# dnf install log4j12
--
Orion Poplawski
Manager of NWRA Technical Systems 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion@xxxxxxxx
Boulder, CO 80301 https://www.nwra.com/
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos