macOS
brew install lunar-datelocal Homebrew formula metadata
brew
Chinese lunar date library. Version 3.2.0 via Homebrew; verified from local package data.
install
brew install lunar-datelocal Homebrew formula metadata
sudo apt install gir1.2-lunardate-3.0Debian stable package indexes · gir1.2-lunardate-3.0 · source: deb.debian.org
sudo zypper install liblunar-date-3_0-1openSUSE Tumbleweed package metadata · liblunar-date-3_0-1 · source: download.opensuse.org
overview
Chinese lunar date library
history
LunarDate is a Chinese lunar calendar date library with a C/GObject API, generated API documentation, language bindings, a D-Bus service, and a command-line tool.
The GitHub repository was created in January 2013, but its NEWS file preserves an older liblunar lineage with releases from the 0.x, 1.x, and 2.x series. The changelog records the rename from `liblunar`/`lunar-calendar` lineage to `lunar-date` in version 2.4.0, separating the date library from the calendar application.
The 3.0.0 series modernized the project: the API version moved to 3.0, the build system moved to Meson, lunar date data was extended to 2100, GLib became the core dependency, holiday APIs were revised, obsolete APIs were removed, and a D-Bus service plus the `lunar-date` command-line tool were added.
LunarDate is a niche library, but it is packaged beyond Homebrew: the source facts list Debian and Ubuntu GObject-introspection packages and an openSUSE shared-library package. That footprint reflects its role as a reusable system library rather than an end-user app.
The official API site documents LunarDate 3.0 with library version 3.2.0, GLib and GObject dependencies, headers under `lunar-date/lunar-date.h`, and source links back to GitHub. GitHub releases show maintenance continuing through version 3.2.0 in December 2025.
Developers use LunarDate when they need Chinese lunar calendar calculations from C or GObject-introspection-friendly environments. The README shows Meson build options for documentation, introspection, Vala API generation, tests, and Windows cross-compilation.
The command-line surface is packaged as `lunar-date`, while the library surface is aimed at applications that need calendar conversion, holidays, solar terms, or GLib/GObject integration.
LunarDate matters to package maintainers because it is a small cultural-calendar library with ABI/API versioning, introspection data, Vala bindings, Meson options, Windows cross-build support, and distro package splits. Its history also shows the common open-source transition from a desktop-widget-adjacent library to a narrower reusable system library.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
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 |
|---|---|---|---|
lunar-date | 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/yetist/lunar-date
install metadata
| Package key | brew:lunar-date |
|---|---|
| Version | 3.2.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/lunar-date |
| Homepage | https://github.com/yetist/lunar-date |
| Repository | https://github.com/yetist/lunar-date |
| Upstream docs | https://github.com/yetist/lunar-date#readme |
| License | LGPL-2.1-or-later |
| Source archive | https://github.com/yetist/lunar-date/releases/download/v3.2.0/lunar-date-3.2.0.tar.xz |
| Dependencies | gettext, glib |
| Build dependencies | meson, ninja, 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 | lunar-date |
| 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.
gir1.2-lunardate-3.0 3.0.1-2+b3
GObject Introspection for lunar-date
https://github.com/yetist/lunar-date
sudo apt install gir1.2-lunardate-3.0liblunar-date-3.0-1 3.0.1-2+b3
Chinese Lunar library based on GObject
https://github.com/yetist/lunar-date
sudo apt install liblunar-date-3.0-1liblunar-date-dev 3.0.1-2+b3
Chinese Lunar library based on GObject - develop files
https://github.com/yetist/lunar-date
sudo apt install liblunar-date-devliblunar-date-doc 3.0.1-2
Chinese Lunar library based on GObject - API documents
https://github.com/yetist/lunar-date
sudo apt install liblunar-date-doclunar-date 3.0.1-2+b3
Chinese Lunar library based on GObject - command and D-Bus
https://github.com/yetist/lunar-date
sudo apt install lunar-dategir1.2-lunardate-3.0 3.0.1-2build3
GObject Introspection for lunar-date
https://github.com/yetist/lunar-date
sudo apt install gir1.2-lunardate-3.0liblunar-date-3.0-1 3.0.1-2build3
Chinese Lunar library based on GObject
https://github.com/yetist/lunar-date
sudo apt install liblunar-date-3.0-1liblunar-date-dev 3.0.1-2build3
Chinese Lunar library based on GObject - develop files
https://github.com/yetist/lunar-date
sudo apt install liblunar-date-devliblunar-date-doc 3.0.1-2build3
Chinese Lunar library based on GObject - API documents
https://github.com/yetist/lunar-date
sudo apt install liblunar-date-doclunar-date 3.0.1-2build3
Chinese Lunar library based on GObject - command and D-Bus
https://github.com/yetist/lunar-date
sudo apt install lunar-dateliblunar-date-3_0-1 3.0.1-1.8
Chinese Lunar calendar library
https://github.com/yetist/lunar-date
sudo zypper install liblunar-date-3_0-1lunar-date 3.0.1-1.8
Chinese Lunar calendar library
https://github.com/yetist/lunar-date
sudo zypper install lunar-datelunar-date-devel 3.0.1-1.8
Chinese Lunar calendar library development files
https://github.com/yetist/lunar-date
sudo zypper install lunar-date-devellunar-date-doc 3.0.1-1.8
Chinese Lunar calendar library Documents
https://github.com/yetist/lunar-date
sudo zypper install lunar-date-doclunar-date-lang 3.0.1-1.8
Translations for package lunar-date
https://github.com/yetist/lunar-date
sudo zypper install lunar-date-langtypelib-1_0-LunarDate-3_0 3.0.1-1.8
Chinese Lunar calendar introspection bindings
https://github.com/yetist/lunar-date
sudo zypper install typelib-1_0-LunarDate-3_0source 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.