# UPS package missing libraries in Rocky 10.1

**URL:** <https://forums.rockylinux.org/t/ups-package-missing-libraries-in-rocky-10-1/20088>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-10\
**Created:** [January 1, 2026, 9:03pm UTC](https://forums.rockylinux.org/t/ups-package-missing-libraries-in-rocky-10-1/20088 "2026-01-01T21:03:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ukoda](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/ukoda/32/5146_2.png) [@ukoda](https://forums.rockylinux.org/u/ukoda)\
**Post date:** [January 1, 2026, 9:03pm UTC](https://forums.rockylinux.org/t/ups-package-missing-libraries-in-rocky-10-1/20088/1 "2026-01-01T21:03:18Z")

</div>

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:

```auto
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:

```auto
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:

```auto
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.

---

<div class="post-metadata">

**Author:** ![linde](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@linde](https://forums.rockylinux.org/u/linde)\
**Post date:** [January 1, 2026, 9:23pm UTC](https://forums.rockylinux.org/t/ups-package-missing-libraries-in-rocky-10-1/20088/2 "2026-01-01T21:23:36Z")

</div>

Looks like `libusb1-devel` might be what you need.

`dnf provides "*/libusb-1.0.so"`

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [January 1, 2026, 9:26pm UTC](https://forums.rockylinux.org/t/ups-package-missing-libraries-in-rocky-10-1/20088/3 "2026-01-01T21:26:01Z")

</div>

> [@ukoda](#):
>
> I’m guessing that it is an issue with the package manager not knowing the full dependencies of Nut?

Not necessarily. In almost all circumstances, especially from packages from EPEL (thus the fedora project), when a package is built, it will determine relevant dependencies automatically and the maintainer of the package can optionally add in additional dependencies.

```auto
[root@idp ~]# dnf whatprovides \*/libusb-1.0.so*
Last metadata expiration check: 0:01:46 ago on Thu 01 Jan 2026 02:23:17 PM MST.
libusb1-1.0.28-1.el10.x86_64 : Library for accessing USB devices
Repo : @System
Matched from:
Filename : /usr/lib64/libusb-1.0.so.0
Filename : /usr/lib64/libusb-1.0.so.0.5.0

libusb1-1.0.28-1.el10.x86_64 : Library for accessing USB devices
Repo : baseos
Matched from:
Filename : /usr/lib64/libusb-1.0.so.0
Filename : /usr/lib64/libusb-1.0.so.0.5.0

```

Using dnf you can try to find the relevant library package. As shown here, it’s libusb1. (You do not need to use the devel package unless absolutely required).

---

<div class="post-metadata">

**Author:** ![ukoda](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/ukoda/32/5146_2.png) [@ukoda](https://forums.rockylinux.org/u/ukoda)\
**Post date:** [January 1, 2026, 9:59pm UTC](https://forums.rockylinux.org/t/ups-package-missing-libraries-in-rocky-10-1/20088/4 "2026-01-01T21:59:25Z")

</div>

Thanks, I was over estimating what “dnf provides” could do. Was able to get it working now.

---

<div class="post-metadata">

**Author:** ![ukoda](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/ukoda/32/5146_2.png) [@ukoda](https://forums.rockylinux.org/u/ukoda)\
**Post date:** [January 1, 2026, 10:06pm UTC](https://forums.rockylinux.org/t/ups-package-missing-libraries-in-rocky-10-1/20088/5 "2026-01-01T22:06:08Z")

</div>

For others who run into the issue here is the key steps. Thanks to @linde and @label for their fast and useful replies.

First installed these:

```auto
dnf install libusb1-devel
dnf install net-snmp-devel
dnf install neon-devel
dnf install avahi-devel

```

libfreeipmi.so was a bit more work. I already had it with a longer file name, it comes from freeipmi-1.6.14-4.el10.x86\_64. So I created a soft link with the needed file name:

```auto
cd /usr/lib64/
ln -s libfreeipmi.so.17.2.12 libfreeipmi.so

```

With that it appears to run ok.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [March 2, 2026, 10:06pm UTC](https://forums.rockylinux.org/t/ups-package-missing-libraries-in-rocky-10-1/20088/6 "2026-03-02T22:06:57Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
