I have installed Rocky Linux 10.1 (Red Quartz) and I am now trying to set up NUT in standalone mode with a generic USB controlled UPS. I installed it using:
root@shi:~# dnf install nut
Last metadata expiration check: 1:07:53 ago on Fri 02 Jan 2026 08:01:40.
Dependencies resolved.
========================================================================================================================
Package Architecture Version Repository Size
========================================================================================================================
Installing:
nut x86_64 2.8.2.1-0.el10_1.1.git20240703pr2505 epel 3.8 M
Installing dependencies:
freeipmi x86_64 1.6.14-4.el10 appstream 1.9 M
libi2c x86_64 4.3-14.el10 appstream 22 k
neon x86_64 0.35.0-1.el10_1 epel 135 k
nut-client x86_64 2.8.2.1-0.el10_1.1.git20240703pr2505 epel 269 k
Installing weak dependencies:
nut-xml x86_64 2.8.2.1-0.el10_1.1.git20240703pr2505 epel 71 k
Transaction Summary
========================================================================================================================
Install 6 Packages
Total download size: 6.2 M
Installed size: 23 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): neon-0.35.0-1.el10_1.x86_64.rpm 275 kB/s | 135 kB 00:00
(2/6): nut-client-2.8.2.1-0.el10_1.1.git20240703pr2505.x86_64.rpm 489 kB/s | 269 kB 00:00
(3/6): nut-xml-2.8.2.1-0.el10_1.1.git20240703pr2505.x86_64.rpm 799 kB/s | 71 kB 00:00
(4/6): nut-2.8.2.1-0.el10_1.1.git20240703pr2505.x86_64.rpm 3.5 MB/s | 3.8 MB 00:01
(5/6): libi2c-4.3-14.el10.x86_64.rpm 21 kB/s | 22 kB 00:01
(6/6): freeipmi-1.6.14-4.el10.x86_64.rpm 1.0 MB/s | 1.9 MB 00:01
------------------------------------------------------------------------------------------------------------------------
Total 955 kB/s | 6.2 MB 00:06
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : nut-client-2.8.2.1-0.el10_1.1.git20240703pr2505.x86_64 1/6
warning: group nut does not exist - using root
warning: group nut does not exist - using root
warning: group nut does not exist - using root
warning: user nut does not exist - using root
warning: group nut does not exist - using root
warning: user nut does not exist - using root
warning: group nut does not exist - using root
Running scriptlet: nut-client-2.8.2.1-0.el10_1.1.git20240703pr2505.x86_64 1/6
Installing : libi2c-4.3-14.el10.x86_64 2/6
Installing : freeipmi-1.6.14-4.el10.x86_64 3/6
Installing : neon-0.35.0-1.el10_1.x86_64 4/6
Installing : nut-xml-2.8.2.1-0.el10_1.1.git20240703pr2505.x86_64 5/6
Running scriptlet: nut-2.8.2.1-0.el10_1.1.git20240703pr2505.x86_64 6/6
Installing : nut-2.8.2.1-0.el10_1.1.git20240703pr2505.x86_64 6/6
warning: group nut does not exist - using root
warning: group nut does not exist - using root
warning: group nut does not exist - using root
Running scriptlet: nut-2.8.2.1-0.el10_1.1.git20240703pr2505.x86_64 6/6
Creating group 'nut' with GID 57.
Creating user 'nut' (Network UPS Tools) with UID 57 and GID 57.
Installed:
freeipmi-1.6.14-4.el10.x86_64 libi2c-4.3-14.el10.x86_64
neon-0.35.0-1.el10_1.x86_64 nut-2.8.2.1-0.el10_1.1.git20240703pr2505.x86_64
nut-client-2.8.2.1-0.el10_1.1.git20240703pr2505.x86_64 nut-xml-2.8.2.1-0.el10_1.1.git20240703pr2505.x86_64
Complete!
However it appears to be missing some libraries:
root@shi:~# nutconf --is-configured
Cannot load USB library (libusb-1.0.so) : file not found. USB search disabled.
Cannot load SNMP library (libnetsnmp.so) : file not found. SNMP search disabled.
Cannot load XML library (libneon.so) : file not found. XML search disabled.
Cannot load AVAHI library (libavahi-client.so) : file not found. AVAHI search disabled.
Cannot load IPMI library (libfreeipmi.so) : file not found. IPMI search disabled.
Cannot load NUT library (libupsclient.so) : file not found. NUT search disabled.
false
I’m going to need that USB one so I started there:
root@shi:~# rpm -qa | grep -i libusb
libusb1-1.0.28-1.el10.x86_64
libusb-compat-0.1-0.1.8-9.el10_0.x86_64
root@shi:~# dnf provides libusb-1.0.so
Last metadata expiration check: 0:23:16 ago on Fri 02 Jan 2026 09:31:59.
Error: No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning.
Tried other things, such as installing libusbx and nut-devel but they didn’t help with the missing libusb-1.0.so.
I’m guessing that it is an issue with the package manager not knowing the full dependencies of Nut? Not sure of the best path forward so would welcome suggestions.