macOS
brew install hamliblocal Homebrew formula metadata
sudo port install hamlibMacPorts ports tree · science/hamlib/Portfile · source: api.github.com
brew
Ham radio control libraries. Version 4.7.2 via Homebrew; verified 2026-06-21.
install
brew install hamliblocal Homebrew formula metadata
sudo port install hamlibMacPorts ports tree · science/hamlib/Portfile · source: api.github.com
sudo apk add hamlibAlpine Linux edge package indexes · hamlib · source: dl-cdn.alpinelinux.org
sudo apt install libhamlib++-devDebian stable package indexes · libhamlib++-dev · source: deb.debian.org
sudo dnf install hamlibFedora Rawhide package metadata · hamlib · source: dl.fedoraproject.org
nix profile install nixpkgs#hamlibnixpkgs package indexes · hamlib · source: raw.githubusercontent.com
sudo pacman -S hamlibArch Linux sync databases · hamlib · source: geo.mirror.pkgbuild.com
sudo zypper install hamlibopenSUSE Tumbleweed package metadata · hamlib · source: download.opensuse.org
overview
Ham radio control libraries
history
Hamlib is the long-running free-software control layer for amateur-radio rigs, rotators, and amplifiers. It matters because it gives radio applications a shared API and command set instead of forcing every logging, digital-mode, contest, or satellite tool to speak each device protocol directly.
Hamlib traces its copyright lineage to Frank Singleton, Stephane Fillod, and the Hamlib Group beginning in 2000. The official README describes the project goal as stable, flexible shared libraries for faster development of amateur-radio equipment-control applications.
The design grew around a generic library API and backend modules for specific devices. The README describes `libhamlib` as the generic API seen by application programs, with radio, rotator, and amplifier backends behind it. That backend model is the central historical choice: support for new hardware can be added without rewriting every client application.
The project has also accumulated command-line utilities and network daemons. Tools such as `rigctl`, `rotctl`, and `ampctl` expose direct shell control and testing, while `rigctld`, `rotctld`, and `ampctld` make the same command families available over TCP sockets for applications written in other languages or running on other machines.
Hamlib became infrastructure rather than a single end-user program. The official README notes C++ support, bindings for Perl, Python, and TCL, and a network daemon usable by any language with sockets. That made it practical for GUI applications, scripts, and distributed station-control setups to share the same hardware backends.
Package-manager adoption reflects that infrastructure role. The input package facts list Hamlib in Homebrew, Alpine, Debian/Ubuntu, Fedora, MacPorts, Nix, Arch, and openSUSE-style packaging, which is the kind of broad Unix distribution footprint expected for a hardware-control library used by other amateur-radio software.
Users and developers most often meet Hamlib through the control utilities. `rigctl` can set or query radio state from the shell, `rotctl` controls antenna rotators, and the daemon variants let multiple clients speak to equipment through TCP ports. The dummy model gives developers a way to test behavior without physical radio hardware.
For application authors, the package provides a common API for equipment capabilities and state. The library abstracts differences among serial, USB-serial, Ethernet, Wi-Fi, Bluetooth, and similar control paths where devices present a command interface.
Hamlib is a classic package-nerd dependency: the executables are useful, but the real value is the shared ABI/API and the growing backend database. Distributions package it because many higher-level radio tools can depend on one control library instead of vendoring device protocols or requiring users to build hardware drivers from source.
It is also a packaging stress case. The project spans C libraries, command-line tools, daemon protocols, language bindings, release branches, and hardware-specific backends. Packagers care about Hamlib because an upgrade can unlock new equipment support, but major-version or command/API changes can affect client applications that link to the library or script against the utilities.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ampctl | cli | global executable | |
ampctld | cli | global executable | |
rigctl | cli | global executable | |
rigctlcom | cli | global executable | |
rigctld | cli | global executable | |
rigctlsync | cli | global executable | |
rigctltcp | cli | global executable | |
rigmem | cli | global executable | |
rigsmtr | cli | global executable | |
rigswr | cli | global executable | |
rigtestlibusb | cli | global executable | |
rigtestmcast | cli | global executable | |
rigtestmcastrx | cli | global executable | |
rotctl | cli | global executable | |
rotctld | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/Hamlib/Hamlib
install metadata
| Package key | brew:hamlib |
|---|---|
| Version | 4.7.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/hamlib |
| Homepage | http://www.hamlib.org/ |
| Repository | https://github.com/Hamlib/Hamlib |
| Upstream docs | https://github.com/Hamlib/Hamlib/wiki |
| License | LGPL-2.1-or-later |
| Source archive | https://github.com/Hamlib/Hamlib/releases/download/4.7.2/hamlib-4.7.2.tar.gz |
| Last updated | 2026-06-21T15:41:01Z |
| Pulse | updated |
| Dependencies | libtool, libusb, libusb-compat |
| Build dependencies | autoconf, automake, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | hamlib |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libhamlib++-dev 4.6.2-1+b1
Development C++ library to control radio transceivers and receivers
sudo apt install libhamlib++-devlibhamlib++4t64 4.6.2-1+b1
Run-time C++ library to control radio transceivers and receivers
sudo apt install libhamlib++4t64libhamlib-dev 4.6.2-1+b1
Development library to control radio transceivers and receivers
sudo apt install libhamlib-devlibhamlib-doc 4.6.2-1
Documentation for the hamlib radio control library
sudo apt install libhamlib-doclibhamlib-perl 4.6.2-1+b1
Run-time perl library to control radio transceivers and receivers
sudo apt install libhamlib-perllibhamlib-utils 4.6.2-1+b1
Utilities to support the hamlib radio control library
sudo apt install libhamlib-utilslibhamlib4t64 4.6.2-1+b1
Run-time library to control radio transceivers and receivers
sudo apt install libhamlib4t64lua-hamlib 4.6.2-1+b1
Run-time Lua library to control radio transceivers and receivers
sudo apt install lua-hamlibpython3-hamlib 4.6.2-1+b1
Run-time Python3 library to control radio transceivers and receivers
sudo apt install python3-hamlibtcl-hamlib 4.6.2-1+b1
Run-time Tcl library to control radio transceivers and receivers
sudo apt install tcl-hamlibhamlib
nix profile install nixpkgs#hamliblibhamlib++-dev 4.5.5-3.2build2
Development C++ library to control radio transceivers and receivers
https://sourceforge.net/projects/hamlib/
sudo apt install libhamlib++-devlibhamlib++4t64 4.5.5-3.2build2
Run-time C++ library to control radio transceivers and receivers
https://sourceforge.net/projects/hamlib/
sudo apt install libhamlib++4t64libhamlib-dev 4.5.5-3.2build2
Development library to control radio transceivers and receivers
https://sourceforge.net/projects/hamlib/
sudo apt install libhamlib-devlibhamlib-doc 4.5.5-3.2build2
Documentation for the hamlib radio control library
https://sourceforge.net/projects/hamlib/
sudo apt install libhamlib-doclibhamlib-perl 4.5.5-3.2build2
Run-time perl library to control radio transceivers and receivers
https://sourceforge.net/projects/hamlib/
sudo apt install libhamlib-perlsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.