Is there a calendar program for RasPiOS ?

Mar 10, 2025 Last reply: 1 year ago 23 Replies

Is there something equivalent to the cal program found in FreeBSD for RasPiOS? I tried calendar, but it doesn't seem to display a table of dates by day of the week, which is all I need. No need for appointment reminders or anything like that, just the equivalent of an old-fashioned paper calendar.



I'm running a GUI, so a fancy calendar is ok if it can be identified using apt search.


Thanks for reading,



bob prohaska


Have you tried: $ apt search calendar

Yes, that's where I started. The "calendar" program is laden with trivia and returns a syntax error for something sensible like calendar 2025 or calendar may 2025 to display a calendar for the month.

There are a flood of other entries from "apt search calendar" but none seem recognizably likely to simply monthly or yearly calendar, like the paper version. It's a little surprising a calendar of some sort isn't included under the raspberry "Accessories" menu.

It's hard to believe what I'm looking for doesn't exist, more likely I'm just not using the right search terms.

Thanks for writing,

bob prohaska

Remember most applications are not written by people who want a simple useful tool, but by coders whose only method of penis enlargement is to write enormously complex code in an obscure language that does everything except the one thing you actually want.

In debian there is cal

$ cal May 2025 May 2025 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10

11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Took me about two minutes to find this

formatting link
: This package contains the "ncal" program and the traditional "cal" program, both are commonly found on BSD-style systems. This utility displays a simple calendar in a traditional or an alternative and more advanced layout, and the date of Easter.

In Fedora, the "cal" command comes with the system. It is also included in the Ubuntu version of WSL2, so you may already have it.

Try "cal 2025" ...

Thank you! I was using apt search and the result was very cluttered.

bob prohaska

Out-of-the-box "ncal" gives a weird (to me) *vertically-oriented* output:

March 2025 Mo 3 10 17 24 31 Tu 4 11 18 25 We 5 12 19 26 Th 6 13 20 27 Fr 7 14 21 28 Sa 1 8 15 22 29 Su 2 9 16 23 30

I prefer the traditional, horizontally-aligned presentation ("ncal -b"):

March 2025 Mo Tu We Th Fr Sa Su 1 2 3 4 5 6 7 8 9

10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

That’s why the separate “cal” program is included in the same package.

I can imagine people trying “cal 25” and making assumptions about what they’re seeing ... only to get a rude shock at some point later on ...

I must admit I had some clues. I remembered there were packages containing BSD-style utilities. In my Debian Unstable setup, I found one called “bsdmainutils”, which is actually just a dummy “transitional” package, but it had these dependencies:

Depends: bsdutils (>= 3.0-0), debianutils (>= 1.8), bsdextrautils (>= 2.35.2-7), ncal

Soon as I saw that “ncal” on the end, I knew where to look further.

Sometimes. At other times they're writing it that way under duress, having been ordered to do so by the top brass who have been seduced by the marketing department.

The 'cal' command is in package ncal.

You need the 'apt-file' command to be able to find things like this, with:-

apt-file search /usr/bin/cal

This produces more hits than just ncal but it's easy enough to se the one you want.

$ cal March 2025 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

So use cal instead

Sure. ncal even does week numbers for those of us who live where those are commonly used and I also like to output three months at a time:

$ ncal -b -w -3

February 2025 March 2025 April 2025 w| Mo Tu We Th Fr Sa Su w| Mo Tu We Th Fr Sa Su w| Mo Tu We Th Fr Sa Su 5| 1 2 9| 1 2 14| 1 2 3 4 5 6 6| 3 4 5 6 7 8 9 10| 3 4 5 6 7 8 9 15| 7 8 9 10 11 12 13 7| 10 11 12 13 14 15 16 11| 10 11 12 13 14 15 16 16| 14 15 16 17 18 19 20 8| 17 18 19 20 21 22 23 12| 17 18 19 20 21 22 23 17| 21 22 23 24 25 26 27 9| 24 25 26 27 28 13| 24 25 26 27 28 29 30 18| 28 29 30 14| 31

If you go to:

formatting link

-> Search the contents of packages

-> packages that c "You have searched for files named cal in suite bookworm, all sections, and all architectures. Found 2 results. File Packages /usr/bin/cal ncal /usr/lib/plan9/bin/cal 9base"

so you need either the 'ncal' or the '9base' package.

On Ubuntu ncal comes as standard - I haven't tried the Plan9 versions.

Theo

My 22.04LTS full desktop doesn't have it

Maybe you installed it separately?

ncal -b 9 1752

September 1752 Mo Tu We Th Fr Sa Su 1 2 14 15 16 17

18 19 20 21 22 23 24 25 26 27 28 29 30

That one always brings a smile to my face.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required