install-usrp.sh#

SYNOPSIS#

install-usrp.sh
    [-h|--help]
    [--force]
    [--verbose]
    [--dry-run]
    [--branch <branch|tag>]

DESCRIPTION#

Installs the UHD (USRP Hardware Driver) drivers required to use Ettus USRP devices.

The script clones the UHD repository, builds it from source, installs the firmware images, and configures udev rules for non-root access.

The script skips execution if UHD is already installed (uhd_find_devices is found in PATH).

This script requires elevated privileges. It will prompt if sudo requires it.

OPTIONS#

--force#

Force installation even if UHD is already installed.

--verbose#

Enable verbose output. Print the commands being executed.

--dry-run#

Print the commands to execute, but do not perform the operations.

--branch <branch|tag>#

Clone a specific branch or tag from the UHD repository. If not specified, the repository’s default branch is used.

-h, --help#

Display help message and exit.

EXAMPLES#

./install-usrp.sh
./install-usrp.sh --force
./install-usrp.sh --dry-run --verbose
./install-usrp.sh --branch v4.6.0.0

SEE ALSO#

configure-system