praytime.sh 873 B

1234567891011121314151617181920212223242526272829303132333435
  1. ### ## #
  2. #
  3. # show Islamic prayer times
  4. #
  5. # 2018 10 08 + initial /A
  6. # 2019 12 14 * fix /A
  7. # 2019 03 17 * updated installation instructions /A
  8. # 2020 12 24 * updated /A
  9. # 2024-02-11 * updated for Debian 11.8 /A
  10. #
  11. ### ## #
  12. ## Fedora 29,31
  13. # yum install libitl
  14. # from link get the latest package
  15. # http://www.rpm-find.net/linux/rpm2html/search.php?query=itools
  16. # and install it
  17. # rpm -ivh itools-1.0-7.fc15.x86_64.rpm
  18. # or
  19. # dnf install itools-1.0-6.fc14.x86_64.rpm
  20. ## Debian 11.8
  21. # apt install itools
  22. echo "---------------------------------------------------------"
  23. echo "Now is:"
  24. date
  25. echo ""
  26. echo "For Riyadh, KSA:"
  27. ipraytime --brief -lat 24.4827 -lon 46.3945 -u 3 -a 6 -h24
  28. echo ""
  29. echo "For Mersin, Turkey:"
  30. ipraytime --brief -lat 36.63890968272466 -lon 34.36292102081904 -u 3 -a 1 -h24
  31. echo "---------------------------------------------------------"