Install libdatetime-event-sunrise-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libdatetime-event-sunrise-perl
Description:
Perl module for calculating sunrise and sunset for a given time and place
DateTime::Event::Sunrise will return a DateTime Object for sunrise and sunset for a given day. Iteration is set to either 0 or 1. If set to 0 no Iteration will occur. If set to 1 Iteration will occur. Default is 0.
Homepage: https://metacpan.org/release/DateTime-Event-Sunrise
Version: 0.0505-2
Section: universe/interpreters