How To Install slang on Rocky Linux 8

In this tutorial we learn how to install slang on Rocky Linux 8. slang is The shared library for the S-Lang extension language

Introduction

In this tutorial we learn how to install slang on Rocky Linux 8.

What is slang

S-Lang is an interpreted language and a programming library. The S-Lang language was designed so that it can be easily embedded into a program to provide the program with a powerful extension language. The S-Lang library, provided in this package, provides the S-Lang extension language. S-Lang’s syntax resembles C, which makes it easy to recode S-Lang procedures in C if you need to.

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

Install slang 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 slang using dnf by running the following command:

sudo dnf -y install slang

Install slang 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 slang using yum by running the following command:

sudo yum -y install slang

How To Uninstall slang on Rocky Linux 8

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

sudo dnf remove slang

slang Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/52b00a120f942d96bdb8e0152a4698143034eb
/usr/lib64/libslang.so.2
/usr/lib64/libslang.so.2.3.2
/usr/share/doc/slang
/usr/share/doc/slang/NEWS
/usr/share/licenses/slang
/usr/share/licenses/slang/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/7f989cc8b19ef62981c36ed92457b1c8577090
/usr/lib/libslang.so.2
/usr/lib/libslang.so.2.3.2
/usr/share/doc/slang
/usr/share/doc/slang/NEWS
/usr/share/licenses/slang
/usr/share/licenses/slang/COPYING

References

Summary

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