macOS
brew install wcsliblocal Homebrew formula metadata
sudo port install wcslibMacPorts ports tree · science/wcslib/Portfile · source: api.github.com
brew
Library and utilities for the FITS World Coordinate System. Version 8.9 via Homebrew; verified 2026-06-25.
install
brew install wcsliblocal Homebrew formula metadata
sudo port install wcslibMacPorts ports tree · science/wcslib/Portfile · source: api.github.com
sudo apk add wcslibAlpine Linux edge package indexes · wcslib · source: dl-cdn.alpinelinux.org
sudo apt install libpgsbox8Debian stable package indexes · libpgsbox8 · source: deb.debian.org
sudo dnf install wcslibFedora Rawhide package metadata · wcslib · source: dl.fedoraproject.org
nix profile install nixpkgs#wcslibnixpkgs package indexes · pkgs/by-name/wc/wcslib/package.nix · source: api.github.com
sudo pacman -S wcslibArch Linux sync databases · wcslib · source: geo.mirror.pkgbuild.com
sudo zypper install libwcs8openSUSE Tumbleweed package metadata · libwcs8 · source: download.opensuse.org
overview
Library and utilities for the FITS World Coordinate System
history
WCSLIB is Mark Calabretta's C implementation of the FITS World Coordinate System standards, with Fortran wrappers and command-line utilities. It is one of the quiet infrastructure libraries behind astronomical FITS image, cube, and spectral coordinate handling.
The WCSLIB manual identifies it as an implementation of the FITS WCS standard and carries copyright dates beginning in 1995. The surrounding FITSWCS site ties the library to the formal WCS papers by Greisen, Calabretta, and collaborators that standardized how FITS headers describe pixel-to-world transformations.
The FITSWCS literature page records the first two core WCS papers in Astronomy & Astrophysics in 2002: Paper I on world coordinates in FITS and Paper II on celestial coordinates. Later papers extended the standard to spectral coordinates in 2006, HEALPix/HPX in 2007, the XPH butterfly projection in 2013, and time coordinates in 2015.
WCSLIB grew alongside those standards as a reference-quality implementation for projection math, coordinate transformations, test data, Fortran bindings, and utilities. The upstream site notes that, as of release 8.5, RCS version files are included in the distribution to document changes since v1.0.
WCSLIB adoption is strongest in astronomy software stacks that read, validate, transform, or display FITS WCS headers. NASA's FITS WCS page lists WCSLIB among the software libraries available for the WCS conventions, and Astropy's `astropy.wcs` documentation says its low-level core WCS support is based on Mark Calabretta's wcslib.
The batch package metadata shows WCSLIB packaged across Homebrew, Alpine, Debian/Ubuntu, Fedora, MacPorts, Nix, Arch, and openSUSE. That broad distro presence reflects its role as a shared scientific dependency rather than an end-user application.
Developers use WCSLIB from C or Fortran to parse FITS headers, initialize WCS data structures, and convert between pixel coordinates and celestial, spectral, time, or other world coordinates. Command-line utilities such as `fitshdr`, `wcsware`, `HPXcvt`, `sundazel`, and `tofits` expose parts of that functionality for inspection, conversion, and testing.
In the wider Python ecosystem, many users meet WCSLIB indirectly through Astropy, where FITS WCS transformations are presented through high-level and low-level APIs. The same underlying package matters to observatory pipelines, map projection tools, FITS validators, and visualization programs that need consistent coordinate behavior.
WCSLIB is package-nerd significant because it packages a domain standard's math, edge cases, and historical compatibility into a reusable native library. Scientific package managers care about it for the same reason they care about CFITSIO: a small C library becomes the coordination point between decades of file-format convention and modern language bindings.
Its utilities also make it useful outside library linking. A maintainer debugging a FITS header can install the package and inspect WCS interpretation from the shell, which is often faster than writing a short scientific Python script just to discover whether a header is malformed.
security posture
No matching local secret-handling manifest was found for wcslib. Nucleus package metadata is still published here so future coverage has a stable package URL.
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 |
|---|---|---|---|
HPXcvt | cli | global executable | |
fitshdr | cli | global executable | |
sundazel | cli | global executable | |
tofits | cli | global executable | |
wcsware | 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://www.atnf.csiro.au/computing/software/wcs/
install metadata
| Package key | brew:wcslib |
|---|---|
| Version | 8.9 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/wcslib |
| Homepage | https://www.atnf.csiro.au/computing/software/wcs/ |
| Upstream docs | https://www.atnf.csiro.au/computing/software/wcs |
| License | LGPL-3.0-or-later |
| Source archive | https://www.atnf.csiro.au/computing/software/wcs/wcslib-releases/wcslib-8.9.tar.bz2 |
| Last updated | 2026-06-25T13:38:12+02:00 |
| Pulse | updated |
| Dependencies | cfitsio |
| 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 | wcslib |
| Version Scheme | 0 |
| Revision | 0 |
| 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.
libpgsbox8 8.4+ds-1
Draw and label curvilinear coordinate grids with pgplot
https://www.atnf.csiro.au/people/mcalabre/WCS/
sudo apt install libpgsbox8libwcs8 8.4+ds-1
Implementation of the FITS WCS standard
https://www.atnf.csiro.au/people/mcalabre/WCS/
sudo apt install libwcs8wcslib-dev 8.4+ds-1
Header files and static library for wcslib and pgsbox
https://www.atnf.csiro.au/people/mcalabre/WCS/
sudo apt install wcslib-devwcslib-doc 8.4+ds-1
API documentation for wcslib
https://www.atnf.csiro.au/people/mcalabre/WCS/
sudo apt install wcslib-docwcslib-tools 8.4+ds-1
Command line tools utilizing wcslib
https://www.atnf.csiro.au/people/mcalabre/WCS/
sudo apt install wcslib-toolswcslib
nix profile install nixpkgs#wcsliblibpgsbox8 8.2.2+ds-3build2
Draw and label curvilinear coordinate grids with pgplot
https://www.atnf.csiro.au/people/mcalabre/WCS/
sudo apt install libpgsbox8libwcs8 8.2.2+ds-3build2
Implementation of the FITS WCS standard
https://www.atnf.csiro.au/people/mcalabre/WCS/
sudo apt install libwcs8wcslib-dev 8.2.2+ds-3build2
Header files and static library for wcslib and pgsbox
https://www.atnf.csiro.au/people/mcalabre/WCS/
sudo apt install wcslib-devwcslib-doc 8.2.2+ds-3build2
API documentation for wcslib
https://www.atnf.csiro.au/people/mcalabre/WCS/
sudo apt install wcslib-docwcslib-tools 8.2.2+ds-3build2
Command line tools utilizing wcslib
https://www.atnf.csiro.au/people/mcalabre/WCS/
sudo apt install wcslib-toolswcslib 8.4-r2
implementation of the FITS WCS standard
https://www.atnf.csiro.au/people/mcalabre/WCS/wcslib/
sudo apk add wcslibwcslib-dev 8.4-r2
implementation of the FITS WCS standard (development files)
https://www.atnf.csiro.au/people/mcalabre/WCS/wcslib/
sudo apk add wcslib-devwcslib-doc 8.4-r2
implementation of the FITS WCS standard (documentation)
https://www.atnf.csiro.au/people/mcalabre/WCS/wcslib/
sudo apk add wcslib-docwcslib 8.4-3.fc44
An implementation of the FITS World Coordinate System standard
https://www.atnf.csiro.au/computing/software/wcs/index.html
sudo dnf install wcslibwcslib-devel 8.4-3.fc44
Libraries, includes, etc. used to develop an application with wcslib
https://www.atnf.csiro.au/computing/software/wcs/index.html
sudo dnf install wcslib-develsource 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.