How To Install malaga on CentOS 8

malaga is A programming language for automatic language analysis

Introduction

In this tutorial we learn how to install malaga on CentOS 8.

What is malaga

A software package for the development and application of grammars that are used for the analysis of words and sentences of natural languages. It is a language-independent system that offers a programming language for the modelling of the language-dependent grammatical information. This language is also called Malaga. Malaga is based on the grammatical theory of the “Left Associative Grammar” (LAG), developed by Roland Hausser, professor for Computational Linguistics at University of Erlangen, Germany.

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

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

sudo dnf -y install malaga

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

sudo yum -y install malaga

How To Uninstall malaga on CentOS 8

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

sudo dnf remove malaga

malaga Package Contents on CentOS 8

/usr/bin/malaga
/usr/bin/mallex
/usr/bin/malmake
/usr/bin/malrul
/usr/bin/malshow
/usr/bin/malsym
/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/affd3e1b208afa3e510428408dd85cbe385508
/usr/lib/.build-id/49
/usr/lib/.build-id/49/e26b35789ca3d941f55c84534d67bcc8f77472
/usr/lib/.build-id/73
/usr/lib/.build-id/73/15f9d1451e9d0784b9ac0110167f2cdd16192f
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/7d6b599122f59af6402e8c178c2063b7b63fd7
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/3bd77d043e79b771b6c91918c19e96bb9a5542
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/578f4d54c00f990cb775f9903a079dd067b615
/usr/share/info/malaga.info.gz
/usr/share/malaga
/usr/share/malaga/malaga.el
/usr/share/man/man1/malaga.1.gz
/usr/share/man/man1/mallex.1.gz
/usr/share/man/man1/malmake.1.gz
/usr/share/man/man1/malrul.1.gz
/usr/share/man/man1/malshow.1.gz
/usr/share/man/man1/malsym.1.gz

References

Summary

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