System Utilities Installer

Utilities~4 minView script

Picker for 25 CLI utilities in the canonical PROXMENUX_UTILS list. Offers custom selection, install-all, six predefined groups and an installation check. Groups can include tools outside the canonical list. Uses shared ensure_repositories() + install_single_package() helpers for consistent repository handling and per-package feedback.

What this does

Installs CLI tools from a list of 25 packages. Every installation uses the same flow: ensure_repositories checks that the host has a usable Proxmox repository for the running PVE major version, then install_single_package installs the package and checks that its command is in PATH.

Opening the installer

From the Utilities menu, choose System Utilities Installer. The main menu offers nine options:

System Utilities Installer menu with custom selection, ALL, predefined groups and verify

The 9 menu actions

OptionBehaviour
1. Custom selectionChecklist of all 25 packages. Use SPACE to toggle and ENTER to confirm; only the selected packages are installed.
2. Install ALL utilitiesOne-shot install of every package in PROXMENUX_UTILS. Use after a fresh Proxmox install.
3. Basicgrc, htop, tree, curl, wget
4. Developmentgit, vim, nano
5. Compressionzip, unzip, rsync
6. Terminal multiplexersscreen, tmux
7. Analysisjq, ncdu, iotop
8. Networkiperf3, nethogs, nmap, tcpdump, lsof
9. Verify installationsWalks every entry in PROXMENUX_UTILS, checks if the verify command is in PATH, prints an Available / Missing summary.

The 25 packages

Defined in the shared scripts/global/utils-install-functions.sh as PROXMENUX_UTILS (format: package:verify_command:description). Other ProxMenux scripts (e.g. the network monitoring launchers for iftop / iptraf-ng / iperf3) reuse entries from this list so package + verify command stay in sync.

PackageVerify commandDescription
axelaxelDownload accelerator
aria2aria2cMulti-source downloader
btopbtopModern resource monitor
cabextractcabextractExtract CAB files
chntpwchntpwEdit Windows registry / passwords
dos2unixdos2unixConvert DOS / Unix text files
genisoimagegenisoimageCreate ISO images
grcgrcGeneric log colorizer
htophtopInteractive process viewer
iftopiftopReal-time network usage
intel-gpu-toolsintel_gpu_topIntel GPU tools
iotopiotopMonitor disk I/O usage
iperf3iperf3Network bandwidth testing
ipsetipsetManage IP sets
iptraf-ngiptraf-ngNetwork monitoring tool
libguestfs-toolsvirt-filesystemsVM disk utilities
msr-toolsrdmsrAccess CPU MSRs
net-toolsnetstatLegacy networking tools
plocatelocateLocate files quickly
s-tuis-tuiStress-Terminal UI
sshpasssshpassNon-interactive SSH login
tmuxtmuxTerminal multiplexer
unzipunzipExtract ZIP files
wimtoolswimlib-imagexManage WIM images
zipzipCreate ZIP files

How a single package install works

  1. ensure_repositories detects PVE 8 or 9 and reads the repositories through the Proxmox API. A host with a usable Proxmox repository is left unchanged; a host with no active subscription and only the Enterprise repository is asked before switching to no-subscription, and apt-get update runs after an accepted switch.
  2. install_single_package "pkg" "verify_cmd" "description" runs apt-get install -y "$pkg" with feedback (msg_info / msg_ok / msg_error).
  3. After install, the verify command is checked with command -v "$verify_cmd". Three outcomes:
    • 0 (success): command available, package counted as Successful.
    • 1 (failed): apt failed, counted as Failed.
    • 2 (warning): apt succeeded but the expected command was not found in PATH — counted as With warnings.
  4. At the end of a group / custom install, a summary dialog shows Successful / With warnings / Failed counts.

Verify installations

Option 9 is read-only: it walks PROXMENUX_UTILS and runs command -v for each verify command. Output looks like this:

Total: 25
Available: 18
Missing: 8

✓ axel - Download accelerator
✓ aria2c - Multi-source downloader
✓ btop - Modern resource monitor
✗ cabextract - Extract CAB files
✓ dos2unix - Convert DOS / Unix text files
✗ genisoimage - Create ISO images
✓ grc - Generic log colorizer
...

Useful before running scripts that depend on these tools (e.g. uup_dump_iso_creator.sh needs aria2c + cabextract + wimlib-imagex). If anything is missing, run the matching group install or pick the missing packages via custom selection.

Troubleshooting

"Failed to configure repositories. Installation aborted."

The repository check did not pass: the switch to the no-subscription repository was declined, the subscription status could not be read, or a repository entry needs attention. The message printed above it states the cause. The repositories are listed in Node → Updates → Repositories, and apt-get update from a console shows the error apt reports.

A package is reported "With warnings" but the command works after I close the menu

After apt-get install, the helper runs hash -r, waits briefly and checks the expected command with command -v. A warning means that check still failed; it does not identify the cause. Try a new shell, then check the package installation and PATH if the command is still missing.

An apt install hangs

Most likely a debconf prompt is blocked behind the silenced output. The script wraps all apt calls with DEBIAN_FRONTEND=noninteractive, which usually suppresses prompts, but a few packages still require user input. Cancel with Ctrl+C, run apt-get install -y <pkg> manually from a shell to see the prompt and decide.

Files involved

scripts/utilities/system_utils.sh                    # this script
scripts/global/utils-install-functions.sh            # PROXMENUX_UTILS, install_single_package
scripts/global/repository-functions.sh               # ensure_repositories
scripts/global/repository_policy.py                  # reads and switches repositories through the Proxmox API
/etc/apt/sources.list.d/proxmox.sources              # no-subscription source, written by Proxmox when the switch is accepted

Related