Direct Python installation (no tar.gz extraction)
The latest standalone script is published at https://ipsonic.com/probe/downloads/ipsonic-probe-latest.py. It contains both the ipsonic-probe CLI and its local DNS helper in one file. No tar archive or unpacking is required. The script still needs the native OS packages Requests and PyYAML, plus Python 3; it does not vendor third-party dependencies.
1. Install distribution packages
Debian, Ubuntu, Raspberry Pi OS:
sudo apt-get update
sudo apt-get install -y python3 python3-requests python3-yaml ca-certificates wget
AlmaLinux / Rocky Linux:
sudo dnf install -y python3 python3-requests python3-pyyaml ca-certificates wget
Use approved internal mirrors in offline environments; the downloadable file itself can be mirrored without modification.
2. Download and verify the latest script
mkdir -p "$HOME/ipsonic-probe"
cd "$HOME/ipsonic-probe"
wget https://ipsonic.com/probe/downloads/ipsonic-probe-latest.py
wget https://ipsonic.com/probe/downloads/ipsonic-probe-latest.py.sha256
sha256sum -c ipsonic-probe-latest.py.sha256
python3 ipsonic-probe-latest.py --self-test
The checksum confirms that the file matches the published checksum; for authenticity, fetch both from the trusted HTTPS site or compare the digest through an independent trusted channel.
3. Run a check without downloading YAML
python3 ipsonic-probe-latest.py --probe tcp://127.0.0.1:22
python3 ipsonic-probe-latest.py --probe https://example.org
To run a YAML check, download a YAML file from the example catalog or create your own:
python3 ipsonic-probe-latest.py --validate --strict check.yaml
python3 ipsonic-probe-latest.py check.yaml
4. Optional system-wide installation
sudo install -m 0755 ipsonic-probe-latest.py /usr/local/bin/ipsonic-probe
ipsonic-probe --self-test
The executable can be run directly because it has a Python shebang. No root privileges are required for the user-local installation.
5. Updating
Download the script and checksum again, verify, and replace the installed file using install. Since the URL points to the latest release, pin the versioned tar.gz archive instead if reproducible rollbacks or controlled deployments are required. Back up your previous script before replacement. Do not download directly into the live executable path.
Full source distribution
The tar.gz release remains available and is recommended when you want the complete examples, documentation, tests, integrations, and build scripts. The standalone file is intended for quick deployment and individual checks.