Installing inxi

In the case you want to install “inxi” on Rocky Linux release 8.5 (Green Obsidian) x86_64.

You might get this error message:

$ sudo dnf install inxi
Last metadata expiration check: 1:04:52 ago on Thu 27 Jan 2022 06:31:59 PM WET.
Error:
Problem: conflicting requests

  • nothing provides perl(JSON::XS) needed by inxi-3.3.11-1.el8.noarch
    (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

The solution is:
$ sudo dnf --enablerepo=powertools install perl-JSON-XS
$ sudo dnf install inxi

1 Like

Or simply sudo dnf --enablerepo=powertools install inxi that will pull the dependencies.