lunar - Chinese Lunar Calendar conversion utility

Property Value
Distribution Debian 10 (Buster)
Repository Debian Main i386
Package filename lunar_2.2-6+b1_i386.deb
Package name lunar
Package version 2.2
Package release 6+b1
Package architecture i386
Package type deb
Category culture::chinese culture::taiwanese implemented-in::c interface::commandline role::program scope::utility use::timekeeping utils
License -
Maintainer Debian Chinese Team <>
Download size 16.67 KB
Installed size 51.00 KB
The program performs date conversion between the Gregorian Solar Calendar
(SC) and the Chinese Lunar Calendar (LC).  Given a date in either calendar,
the program also outputs the corresponding "shengxiao" animal of the year)
and "ganzhi" characters.  The date range currently covered is from about
1900 A.D. to 2049 A.D.


Package Version Architecture Repository
lunar_2.2-6+b1_amd64.deb 2.2 amd64 Debian Main
lunar - - -


Name Value
libc6 >= 2.7


Type URL
Binary Package lunar_2.2-6+b1_i386.deb
Source Package lunar

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install lunar deb package:
    # sudo apt-get install lunar




2016-01-05 - Anthony Fok <>
lunar (2.2-6) unstable; urgency=medium
* Correct URL of Vcs-Browser in debian/control
2015-09-20 - Anthony Fok <>
lunar (2.2-5) unstable; urgency=medium
* Fix incorrect year in lunar-to-solar conversion.
Thanks to Xie Xun for catching my mistaken removal of the call
to make_yday() in 2.2-4.  (Closes: #792472)
* Update debian/control:
- Bump Standards-Version to 3.9.6
- Change Maintainer to Debian Chinese Team
- Add Vcs-* fields pointing to
* Update debian/copyright
2013-11-20 - Anthony Fok <>
lunar (2.2-4) unstable; urgency=low
* Acknowledge NMU on 2.2-3.1.  Thanks to CHENG Yuk-Pong for noticing
the wrong output on year 2033 and providing an initial patch,
and to LI Daobing for providing a corrected patch and NMU.
* Use current locale and system time for display by default.
Most parameters thus become optional. Saves a lot of typing!  :-)
* lunar.bitmap contained a line that was too long, and with the new
aggressive loop optimizations in GCC 4.8, "lunar -b" would not stop
looping when parsing lunar.bitmap, and would eventually result in a
segmentation fault.  Fixed lunar.bitmap and lunar.c accordingly.
* Bump Standards-Version to 3.9.4
* Switch to dpkg-source 3.0 (quilt) format, and split up the patches
as follows:
- 01_strip_trailing_whitespace.diff
- 02_fix_compiler_warnings.diff
- 03_add_full_path_to_lunar_bitmap.diff
- 04_add_big5_and_utf8_output.diff
- 05_fix_output_on_year_2033.diff
- 06_use_locale_and_current_date.diff
- 07_fix_segfault_aggressive-loop-optimizations.diff
- 10_complete_the_makefile.diff
- 20_update_man_page.diff
* Convert debian/copyright to machine-readable format
* Move to dh9-style minimal rules file
* Remove explicit compilation target from Makefile
(Lintian: W: lunar: hardening-no-relro usr/bin/lunar)
* Add "Depends: ${misc:Depends}
(Lintian: W: lunar source: debhelper-but-no-misc-depends lunar)
* Update upstream URL to the archived copy found on
* Add debian/watch (Lintian: I: lunar source: debian-watch-file-is-missing)
* Update man page to reflect the new options added to this Debian version
of Lunar.  Thanks to Jidanni for the suggestion!  (Closes: #514069)
2008-10-05 - LI Daobing <>
lunar (2.2-3.1) unstable; urgency=low
* Non-maintainer upload.
* FIX: lunar-2.2 wrong output on year 2033 (Closes: #366918)
2006-01-04 - Anthony Fok <>
lunar (2.2-3) unstable; urgency=low
* Added --utf8 option.  (Closes: Bug#288170)
* Updated Standards-Version: 3.6.2
* [lunar.c]: Added "#include <stdlib.h>" to remove compiler warnings.
2002-10-19 - Anthony Fok <>
lunar (2.2-2) unstable; urgency=medium
* Oops, I forgot to install lunar.bitmap and to specify its full path
in the source code!  Many thanks to Jeronimo Pellegrini for providing
the patch to fix the problem.  (Closes: Bug#162634)
2002-09-22 - Anthony Fok <>
lunar (2.2-1) unstable; urgency=low
* Initial Release.
* Added Big5 output in addition to the original Hanzi (GB) output.

See Also

Package Description
lunch_0.4.0-2_all.deb Transitional package for python-lunch
lunzip_1.11-3_i386.deb data compressor based on the LZMA algorithm (decompressor)
luola-data_1.3.2-12_all.deb data files for luola
luola-levels_6.0-6_all.deb level files for luola
luola-nostalgy_1.2-4_all.deb nostalgy level files for luola
luola_1.3.2-12_i386.deb multiplayer cave-flying game
lur-command_0.9.905-1_i386.deb Logitech Unifying Receiver control tool
lure-of-the-temptress_1.1+ds2-3_all.deb classic 2D point and click fantasy adventure game
lurker_2.3-6_i386.deb archive tool for mailing lists with search engine
lusernet.app_0.4.3-1_i386.deb News reader for GNUstep
lutefisk-doc_1.0.7+dfsg-4_all.deb De novo interpretation of peptide CID spectra - documentation
lutefisk_1.0.7+dfsg-4+b1_i386.deb de novo interpretation of peptide CID spectra
lv2-c++-tools-doc_1.0.5-4_all.deb lv2-c++-tools documentation
lv2-c++-tools_1.0.5-4+b1_i386.deb library and tools for LV2 plugins
lv2-dev_1.14.0~dfsg1-2_i386.deb LV2 audio plugin specification