gcal2txt command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gcal2txt: command not found
or when using sudo you get the following error message
sudo: gcal2txt: command not found
Solutions to gcal2txt: command not found
How To Fix gcal2txt: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gcal2txt is provided by gcal package.
gcal is:
Gcal displays a calendar for a month or a year, eternal holiday lists and fixed date lists, in many ways. The program correctly omits the dates that were skipped when the current Gregorian calendar replaced the earlier Julian calendar.
Apart from the usual and well known calendar functions like the output of a month or a year calendar sheet, or the output of an eternal holiday list, Gcal offers the facility to display fixed dates on the day of their occurrence and to remind or inform the user about them. So it is possible for users to receive an on-screen notification, at bootup or login, of all holidays or appointments which take place on that day. Notification by electronic mail is also possible.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gcal
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gcal.
sudo apt -y install gcal
Or if you have aptitude installed you can use the following command.
sudo aptitude install gcal
Summary
In this tutorial we learn how to fix gcal2txt command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.