Cal Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS
Install cal
-
Debian
apt-get install bsdmainutilsClick to copy -
Ubuntu
apt-get install bsdmainutilsClick to copy -
Alpine OS
apk add util-linuxClick to copy -
Arch Linux
pacman -S util-linuxClick to copy -
Kali Linux
apt-get install bsdmainutilsClick to copy -
CentOS
yum install util-linuxClick to copy -
Fedora
dnf install util-linuxClick to copy -
Raspbian
apt-get install bsdmainutilsClick to copy -
macOS
brew install util-linuxClick to copy
Prints calendar information, with the current day highlighted.
How to use cal?
Below are few example commands for cal that you can use in the terminal.
Display a calendar for the current month:calClick to copyDisplay previous, current and next month:cal -3Click to copyUse monday as the first day of the week:cal --mondayClick to copyDisplay a calendar for a specific year (4 digits):cal yearClick to copyDisplay a calendar for a specific month and year:cal month yearClick to copy
Installation of latest cal command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.




