lunar - Chinese Lunar Calendar conversion utility

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name lunar
Package version 2.2
Package release 4
Package architecture amd64
Package type deb
Installed size 74 B
Download size 15.52 KB
Official Mirror
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-4_i386.deb 2.2 i386 Debian Main
lunar - - -


Name Value
libc6 >= 2.7


Type URL
Binary Package lunar_2.2-4_amd64.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




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-1_all.deb Transitional package for python-lunch
lunzip_1.6-2_amd64.deb data compressor based on the LZMA algorithm (decompressor)
luola-data_1.3.2-10_all.deb data files for luola
luola-levels_6.0-5_all.deb level files for luola
luola-nostalgy_1.2-3_all.deb nostalgy level files for luola
luola_1.3.2-10_amd64.deb multiplayer cave-flying game
lure-of-the-temptress_1.1+ds2-1_all.deb classic 2D point and click fantasy adventure game
lurker_2.3-5+b1_amd64.deb archive tool for mailing lists with search engine
lusernet.app_0.4.2-7+b1_amd64.deb News reader for GNUstep
lush-library_1.2.1-9+cvs20110227+nmu1_all.deb Lisp Universal Shell Library
lush_1.2.1-9+cvs20110227+nmu1_amd64.deb Lisp Universal Shell Executable
lutefisk-doc_1.0.7+dfsg-4_all.deb De novo interpretation of peptide CID spectra - documentation
lutefisk_1.0.7+dfsg-4_amd64.deb de novo interpretation of peptide CID spectra
lv2-c++-tools-doc_1.0.5-1_all.deb lv2-c++-tools documentation
lv2-c++-tools_1.0.5-1_amd64.deb library and tools for LV2 plugins