[CentOS] log4j12 package in CentOS 8

Richard G

grainger at gmail.com
Sun Dec 15 19:07:18 UTC 2019


On Sat, Dec 14, 2019 at 6:33 PM Orion Poplawski <orion at nwra.com> wrote:
> 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

That worked, thank you Orion! I'm not enjoying modules that much so far.



More information about the CentOS mailing list