How To Install fonts-lohit-deva on Ubuntu 18.04

In this tutorial we learn how to install fonts-lohit-deva on Ubuntu 18.04. fonts-lohit-deva is Lohit TrueType font for Devanagari script

Introduction

In this tutorial we learn how to install fonts-lohit-deva on Ubuntu 18.04.

What is fonts-lohit-deva

fonts-lohit-deva is:

This package provides Lohit TrueType font for Devanagari script which is used for writing Hindi, Kashmiri, Konkani, Marathi, Maithili, Nepali, Sanskrit, and Sindhi languages.

There are three methods to install fonts-lohit-deva 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 fonts-lohit-deva Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install fonts-lohit-deva

Install fonts-lohit-deva Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install fonts-lohit-deva using apt by running the following command:

sudo apt -y install fonts-lohit-deva

Install fonts-lohit-deva 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 fonts-lohit-deva using aptitude by running the following command:

sudo aptitude -y install fonts-lohit-deva

How To Uninstall fonts-lohit-deva on Ubuntu 18.04

To uninstall only the fonts-lohit-deva package we can use the following command:

sudo apt-get remove fonts-lohit-deva

Uninstall fonts-lohit-deva And Its Dependencies

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

sudo apt-get -y autoremove fonts-lohit-deva

Remove fonts-lohit-deva Configurations and Data

To remove fonts-lohit-deva configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge fonts-lohit-deva

Remove fonts-lohit-deva configuration, data, and all of its dependencies

We can use the following command to remove fonts-lohit-deva configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge fonts-lohit-deva

References

Summary

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