Automic VaultAutomic Vault

brew

Install hamlib with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Ham radio control libraries. Version 4.7.2 via Homebrew; verified 2026-06-21.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install hamlib

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install hamlib

MacPorts ports tree · science/hamlib/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add hamlib

Alpine Linux edge package indexes · hamlib · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libhamlib++-dev

Debian stable package indexes · libhamlib++-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install hamlib

Fedora Rawhide package metadata · hamlib · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#hamlib

nixpkgs package indexes · hamlib · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S hamlib

Arch Linux sync databases · hamlib · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install hamlib

openSUSE Tumbleweed package metadata · hamlib · source: download.opensuse.org

overview

Package summary

Ham radio control libraries

Commands and aliases

  • ampctl
  • ampctld
  • rigctl
  • rigctlcom
  • rigctld
  • rigctlsync
  • rigctltcp
  • rigmem
  • rigsmtr
  • rigswr
  • rigtestlibusb
  • rigtestmcast
  • rigtestmcastrx
  • rotctl
  • rotctld

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2000: Copyright lineage begins with Frank Singleton, Stephane Fillod, and the Hamlib Group.
  • 2001-2011: Copyright notices in utility manual pages identify Stephane Fillod's early long-term authorship period.
  • 2002 onward: Hamlib Group contributor copyright appears in utility documentation.
  • 2010s-2020s: The project continues as a shared library plus command utilities, daemon interfaces, bindings, release branches, and a GitHub-hosted master repository.

Related projects

  • Client applications commonly relate to Hamlib through the `rigctl`/`rotctl` utilities or the `rigctld`/`rotctld` network daemons. The project also relates to radio logging, digital-mode, satellite-tracking, and remote-station software that need standardized rig or rotator control.
  • The project keeps a SourceForge presence for snapshots and backup distribution while the master repository is on GitHub.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:sync

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
ampctlcliglobal executable
ampctldcliglobal executable
rigctlcliglobal executable
rigctlcomcliglobal executable
rigctldcliglobal executable
rigctlsynccliglobal executable
rigctltcpcliglobal executable
rigmemcliglobal executable
rigsmtrcliglobal executable
rigswrcliglobal executable
rigtestlibusbcliglobal executable
rigtestmcastcliglobal executable
rigtestmcastrxcliglobal executable
rotctlcliglobal executable
rotctldcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version4.7.2
manager updated2026-06-21
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/Hamlib/Hamlib

install metadata

Package metadata

Package keybrew:hamlib
Version4.7.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/hamlib
Homepagehttp://www.hamlib.org/
Repositoryhttps://github.com/Hamlib/Hamlib
Upstream docshttps://github.com/Hamlib/Hamlib/wiki
LicenseLGPL-2.1-or-later
Source archivehttps://github.com/Hamlib/Hamlib/releases/download/4.7.2/hamlib-4.7.2.tar.gz
Last updated2026-06-21T15:41:01Z
Pulseupdated
Dependencieslibtool, libusb, libusb-compat
Build dependenciesautoconf, automake, pkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehamlib
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libhamlib++-dev 4.6.2-1+b1

Development C++ library to control radio transceivers and receivers

http://www.hamlib.org

sudo apt install libhamlib++-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: hamlib
  • 4 dependencies
  • normalized package name match
  • Matched by: Hamlib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhamlib++-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhamlib++4t64 4.6.2-1+b1

Run-time C++ library to control radio transceivers and receivers

http://www.hamlib.org

sudo apt install libhamlib++4t64
  • Section: libs
  • Architecture: amd64
  • Source Package: hamlib
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Hamlib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhamlib++4t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhamlib-dev 4.6.2-1+b1

Development library to control radio transceivers and receivers

http://www.hamlib.org

sudo apt install libhamlib-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: hamlib
  • 3 dependencies
  • normalized package name match
  • Matched by: Hamlib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhamlib-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhamlib-doc 4.6.2-1

Documentation for the hamlib radio control library

http://www.hamlib.org

sudo apt install libhamlib-doc
  • Section: doc
  • Architecture: all
  • Source Package: hamlib
  • 1 optional deps
  • normalized package name match
  • Matched by: Hamlib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhamlib-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhamlib-perl 4.6.2-1+b1

Run-time perl library to control radio transceivers and receivers

http://www.hamlib.org

sudo apt install libhamlib-perl
  • Section: perl
  • Architecture: amd64
  • Source Package: hamlib
  • 4 dependencies
  • normalized package name match
  • Matched by: Hamlib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhamlib-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhamlib-utils 4.6.2-1+b1

Utilities to support the hamlib radio control library

http://www.hamlib.org

sudo apt install libhamlib-utils
  • Section: hamradio
  • Architecture: amd64
  • Source Package: hamlib
  • 4 dependencies
  • normalized package name match
  • Matched by: Hamlib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhamlib-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhamlib4t64 4.6.2-1+b1

Run-time library to control radio transceivers and receivers

http://www.hamlib.org

sudo apt install libhamlib4t64
  • Section: libs
  • Architecture: amd64
  • Source Package: hamlib
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Hamlib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhamlib4t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

lua-hamlib 4.6.2-1+b1

Run-time Lua library to control radio transceivers and receivers

http://www.hamlib.org

sudo apt install lua-hamlib
  • Section: interpreters
  • Architecture: amd64
  • Source Package: hamlib
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Hamlib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lua-hamlib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-hamlib 4.6.2-1+b1

Run-time Python3 library to control radio transceivers and receivers

http://www.hamlib.org

sudo apt install python3-hamlib
  • Section: python
  • Architecture: amd64
  • Source Package: hamlib
  • 4 dependencies
  • normalized package name match
  • Matched by: Hamlib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-hamlib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

tcl-hamlib 4.6.2-1+b1

Run-time Tcl library to control radio transceivers and receivers

http://www.hamlib.org

sudo apt install tcl-hamlib
  • Section: interpreters
  • Architecture: amd64
  • Source Package: hamlib
  • 3 dependencies
  • normalized package name match
  • Matched by: Hamlib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tcl-hamlib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

hamlib

nix profile install nixpkgs#hamlib
  • normalized package name match
  • Matched by: Hamlib
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: hamlib from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

libhamlib++-dev 4.5.5-3.2build2

Development C++ library to control radio transceivers and receivers

https://sourceforge.net/projects/hamlib/

sudo apt install libhamlib++-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: hamlib
  • 4 dependencies
  • normalized package name match
  • Matched by: Hamlib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhamlib++-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhamlib++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++4t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: hamlib
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Hamlib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhamlib++4t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhamlib-dev 4.5.5-3.2build2

Development library to control radio transceivers and receivers

https://sourceforge.net/projects/hamlib/

sudo apt install libhamlib-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: hamlib
  • 3 dependencies
  • normalized package name match
  • Matched by: Hamlib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhamlib-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhamlib-doc 4.5.5-3.2build2

Documentation for the hamlib radio control library

https://sourceforge.net/projects/hamlib/

sudo apt install libhamlib-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: hamlib
  • 1 optional deps
  • normalized package name match
  • Matched by: Hamlib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhamlib-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhamlib-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-perl
  • Section: universe/perl
  • Architecture: amd64
  • Source Package: hamlib
  • 4 dependencies
  • normalized package name match
  • Matched by: Hamlib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhamlib-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment