Menu

Sponsored By: Password Angel - Share passwords, API keys, credentials and more with secure, single-use links.

Fixing: cal: command not found

Summary

When using cal on the command line you get the error message

chris@019a6bbbacc4:~# cal
cal: command not found

Reason

cal has not been installed

Solution

Install cal by running the following command as root

root@019a6bbbacc4:~# apt-get install ncal

Running cal now via the command line should give you output like

chris@019a6bbbacc4:~# cal
    August 2023       
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       

Originally published at https://chrisshennan.com/blog/fixing-cal-command-not-found

Subscribe to my newsletter...

... and receive the musings of an aspiring #indiehacker directly to your inbox once a month.

These musings will encompass a range of subjects such as Web Development, DevOps, Startups, Bootstrapping, #buildinpublic, SEO, personal opinions, and experiences.

I won't send you spam and you can unsubscribe at any time.