How To Install lasi on AlmaLinux 8

In this tutorial we learn how to install lasi in AlmaLinux 8. lasi is C++ library for creating Postscript documents

Introduction

In this tutorial we learn how to install lasi on AlmaLinux 8.

What is lasi

LASi is a library written by Larry Siden 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 Owen Taylor’s 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. Although the capability to produce Unicode-based multilingual Postscript documents exists in large Open Source application framework libraries such as GTK+, QT, and KDE, LASi was designed for projects which require the ability to produce Postscript independent of any one application framework.

We can use yum or dnf to install lasi on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install lasi.

Install lasi on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install lasi using dnf by running the following command:

sudo dnf -y install lasi

Install lasi on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install lasi using yum by running the following command:

sudo yum -y install lasi

How To Uninstall lasi on AlmaLinux 8

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

sudo dnf remove lasi

References

Summary

In this tutorial we learn how to install lasi on AlmaLinux 8 using yum and dnf.