libnova

Calculate celestial object positions and astronomical coordinates

brewmacoslinux
Try with needOr install directly
Source

About

Celestial mechanics, astrometry and astrodynamics library

Examples

calculate where a star will be in the sky$ libnova-config --cflags --libs
get the sun position for a specific date and time$ pkg-config --cflags --libs libnova
compute moon phase and location data$ libnova-config --version
find planet positions for astronomical observations$ pkg-config --modversion libnova
convert between different celestial coordinate systems$ libnova-config --prefix