Issues when installing on Ubuntu 24.04 server minimized

I wanted to set up an old HP T620 as a NUT server for a Cyberpower UPS. I installed Ubuntu 24.04 server, choosing the minimized option during installation.

But when I went to run nut-scanner to identify the hooked up Cyberpower, I kept getting this:

root@nuts:~# sudo nut-scanner -U
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.
nut-scanner : utility for detection of available power devices.
 
OPTIONS:
  -C, --complete_scan: Scan all available devices except serial ports (default).
* Options for USB devices scan not enabled: library not detected.
* Options for SNMP devices scan not enabled: library not detected.
* Options for XML/HTTP devices scan not enabled: library not detected.
  -O, --oldnut_scan: Scan NUT devices (old method).
* Options for NUT devices (avahi method) scan not enabled: library not detected.
* Options for IPMI devices scan not enabled: library not detected.
  -E, --eaton_serial <serial ports list>: Scan serial Eaton devices (XCP, SHUT and Q1).
  -T, --thread <max number of threads>: Limit the amount of scanning threads running simultaneously (default: 512).
 
Note: many scanning options depend on further loadable libraries.
Run-time loadable library search paths used by this build of NUT:
	NOTE: Reporting filtered (existing unique) built-in paths:
	Built-in:	/usr/lib/x86_64-linux-gnu
	Built-in:	/usr/lib64
	Built-in:	/usr/lib
	Built-in:	/usr/local/lib
	.
	.
	.

Turns out I needed to install the following packages: ```shell apt -y install libusb-1.0-0 libusb-1.0-0-dev ````
I imagine I had to do this because I chose the mininimized packages during installation.

Afterwards, you should get see something like this:

root@nuts:~# nut-scanner -U
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.
Scanning USB bus.
[nutdev1]
	driver = "usbhid-ups"
	port = "auto"
	vendorid = "0764"
	productid = "0501"
	product = "CP1500AVRLCDa"
	serial = "CTHGW2006191"
	vendor = "CPS"
	bus = "002"
	device = "003"
	busport = "001"
	###NOTMATCHED-YET###bcdDevice = "0200"

The other errors made sense since I didn't install or set up any of that functionality since I didn't need them.