Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

157.5. gnuastro-0.24

The GNU astronomy toolset — arithmetic, cropping, photometry, on FITS

0.24-1 · GPL-3.0-or-later · 5.4 SBU · 25.2 MiB, 170 files · 41_system, 103 of 1047 · ports/core/astronomy/gnuastro

Homepage: https://www.gnu.org/software/gnuastro/

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/astronomy.txt:

Arithmetic, cropping, warping and photometry over FITS, from a prompt — which is the shape the rest of this distro is already in.

Depends on: cfitsio, wcslib, gsl, libjpeg-turbo, libtiff, curl, ghostscript, zlib, bzip2, xz.

Required by: no port names it.

Sources: gnuastro-0.24.tar.gz (7.8 MiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install gnuastro'

build.sh:

export CFLAGS="${CFLAGS/-O2/-O3}"

./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --disable-static \
	--with-libjpeg \
	--with-libtiff \
	--without-libgit2
make
make DESTDIR=$PKG install

Programs: astarithmetic, astbuildprog, astconvertt, astconvolve, astcosmiccal, astcrop, astfits, astmatch, astmkcatalog, astmkprof, astnoisechisel, astquery, astscript-color-faint-gray, astscript-ds9-region, astscript-fits-view, astscript-pointing-simulate, astscript-psf-scale-factor, astscript-psf-select-stars, astscript-psf-stamp, astscript-psf-subtract, astscript-psf-unite, astscript-radial-profile, astscript-sort-by-night, astscript-zeropoint, astsegment, aststatistics, asttable, astwarp.

Libraries: libgnuastro.so, libgnuastro_make.so.

Directories: /etc/gnuastro, /usr/include/gnuastro, /usr/share/doc/gnuastro, /usr/share/gnuastro, /usr/share/info/gnuastro-figures, /usr/share/licenses/gnuastro.