How To Install slang on CentOS 8

slang is The shared library for the S-Lang extension language The shared library for the S-Lang extension language

Introduction

In this tutorial we learn how to install slang on CentOS 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. slang 2.3.2 3.el8 x86_64 368 k slang-2.3.2-3.el8.src.rpm baseos The shared library for the S-Lang extension language https GPLv2+ 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install slang.

Install slang on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install slang

Install slang on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove slang

slang Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/6f9b131ff6036210d149973ab16ec4330b1f5d
/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
/usr/lib/.build-id
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/f0dd283816d362603775a4e48d602fc12bde1a
/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

References

Summary

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