How To Install itools on Debian 9

In this tutorial we learn how to install itools on Debian 9. itools is Islamic hijri date and prayer time utilities

Introduction

In this tutorial we learn how to install itools on Debian 9.

What is itools

itools is:

The itools is a collection of command line tools that mimics the development of the underlying ITL library (libitl) and is meant to always give the end-user simple means to access its functions. The available tools are:

  • ical: Display a Hijri calendar.
  • idate: Multi method Hijri/Gregorian date converter.
  • ipraytime: Prayer times and Qibla calculator and schedule table generator.
  • ireminder: Prayer time reminder Perl script.

This package is part of the Islamic Tools and Libraries project.

There are three methods to install itools on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install itools Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install itools using apt-get by running the following command:

sudo apt-get -y install itools

Install itools Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install itools using apt by running the following command:

sudo apt -y install itools

Install itools Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install itools using aptitude by running the following command:

sudo aptitude -y install itools

How To Uninstall itools on Debian 9

To uninstall only the itools package we can use the following command:

sudo apt-get remove itools

Uninstall itools And Its Dependencies

To uninstall itools and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove itools

Remove itools Configurations and Data

To remove itools configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge itools

Remove itools configuration, data, and all of its dependencies

We can use the following command to remove itools configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge itools

Dependencies

itools have the following dependencies:

References

Summary

In this tutorial we learn how to install itools package on Debian 9 using different package management tools: apt, apt-get and aptitude.