How To Install liblasi-dev on Ubuntu 18.04

In this tutorial we learn how to install liblasi-dev on Ubuntu 18.04. liblasi-dev is development files and documentation for the LASi library

Introduction

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

What is liblasi-dev

liblasi-dev is:

LASi is a library that provides a C++ stream output interface (with operator «) for creating PostScript documents that can contain characters from any of the scripts and symbol blocks supported in Unicode and by the Pango layout engine. The library accommodates right-to-left scripts such as Arabic and Hebrew as easily as left-to-right scripts. Indic and Indic-derived Complex Text Layout (CTL) scripts, such as Devanagari, Thai, Lao, and Tibetan are supported to the extent provided by Pango and by the OpenType fonts installed on your system. All of this is provided without need for any special configuration or layout calculation on the programmer’s part.

This package contains the development files as well as the HTML documentation for LASi.

There are three methods to install liblasi-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 liblasi-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 liblasi-dev using apt-get by running the following command:

sudo apt-get -y install liblasi-dev

Install liblasi-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liblasi-dev

Install liblasi-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 liblasi-dev using aptitude by running the following command:

sudo aptitude -y install liblasi-dev

How To Uninstall liblasi-dev on Ubuntu 18.04

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

sudo apt-get remove liblasi-dev

Uninstall liblasi-dev And Its Dependencies

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

sudo apt-get -y autoremove liblasi-dev

Remove liblasi-dev Configurations and Data

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

sudo apt-get -y purge liblasi-dev

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

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

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

References

Summary

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