How To Install libjalali-dev on Ubuntu 18.04

In this tutorial we learn how to install libjalali-dev on Ubuntu 18.04. libjalali-dev is development files of a library to display Jalali calendar

Introduction

In this tutorial we learn how to install libjalali-dev on Ubuntu 18.04.

What is libjalali-dev

libjalali-dev is:

JCal is a UNIX-cal-like tool to display Jalali (Persian) calendar.

This package contains development files for JCal library.

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

Install libjalali-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libjalali-dev

Install libjalali-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjalali-dev

Install libjalali-dev 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libjalali-dev

How To Uninstall libjalali-dev on Ubuntu 18.04

To uninstall only the libjalali-dev package we can use the following command:

sudo apt-get remove libjalali-dev

Uninstall libjalali-dev And Its Dependencies

To uninstall libjalali-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libjalali-dev

Remove libjalali-dev Configurations and Data

To remove libjalali-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libjalali-dev

Remove libjalali-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libjalali-dev

References

Summary

In this tutorial we learn how to install libjalali-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.