How To Install lasi on Rocky Linux 8

In this tutorial we learn how to install lasi on Rocky Linux 8. lasi is C++ library for creating Postscript documents

Introduction

In this tutorial we learn how to install lasi on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install lasi.

Install lasi on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8

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

sudo dnf remove lasi

lasi Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/e3a5322f2f038ac86b69ef4fa76bf71d8bd398
/usr/lib64/libLASi.so.1
/usr/lib64/libLASi.so.1.0.1
/usr/share/doc/lasi
/usr/share/doc/lasi/AUTHORS
/usr/share/doc/lasi/COPYING
/usr/share/doc/lasi/ChangeLog.release
/usr/share/doc/lasi/README

References

Summary

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