How To Install elements-alexandria on CentOS 8

elements-alexandria is A lightweight C++ utility library

Introduction

In this tutorial we learn how to install elements-alexandria on CentOS 8.

What is elements-alexandria

A lightweight C++ utility library.

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

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

sudo dnf -y install elements-alexandria

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

sudo yum -y install elements-alexandria

How To Uninstall elements-alexandria on CentOS 8

To uninstall only the elements-alexandria package we can use the following command:

sudo dnf remove elements-alexandria

elements-alexandria Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/756d975bdddd2de5e911ab4864f339adf56a56
/usr/lib/.build-id/13
/usr/lib/.build-id/13/571fbd65f1d3d1fb715ac130238d71d8313dd3
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/2e518ffc393f323b2777cfb1bbd987a5929a0d
/usr/lib/.build-id/89
/usr/lib/.build-id/89/fb820841a644b43fde7b9c13357174963935f6
/usr/lib/.build-id/92
/usr/lib/.build-id/92/b385b2ec47517e68da83bc6f4d9d32b31cab8c
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/21d8e3c9069d1ac8bd4f153c03258874c717d4
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/5d39f6cdb55ee49a422e3fe3d2424e896c731b
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/4483f7073809bb02cbc17353e13ac462d8ef19
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/dc817ef5dbfe0034a6d2739962b91012a087ff
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/37610bdfe5f32f38061e2336f15199f6bf0032
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/0e367f57cbe9ffaeed8423eb7591e33699e431
/usr/lib64/cmake/ElementsProject/AlexandriaEnvironment.xml
/usr/lib64/libAlexandriaKernel.so.2.16
/usr/lib64/libConfiguration.so.2.16
/usr/lib64/libGridContainer.so.2.16
/usr/lib64/libHistogram.so.2.16
/usr/lib64/libMathUtils.so.2.16
/usr/lib64/libNdArray.so.2.16
/usr/lib64/libPhysicsUtils.so.2.16
/usr/lib64/libSOM.so.2.16
/usr/lib64/libSourceCatalog.so.2.16
/usr/lib64/libTable.so.2.16
/usr/lib64/libXYDataset.so.2.16
/usr/lib64/python2.7/site-packages/ALEXANDRIA_INSTALL.py
/usr/lib64/python2.7/site-packages/ALEXANDRIA_INSTALL.pyc
/usr/lib64/python2.7/site-packages/ALEXANDRIA_INSTALL.pyo
/usr/lib64/python2.7/site-packages/ALEXANDRIA_VERSION.py
/usr/lib64/python2.7/site-packages/ALEXANDRIA_VERSION.pyc
/usr/lib64/python2.7/site-packages/ALEXANDRIA_VERSION.pyo
/usr/share/licenses/elements-alexandria
/usr/share/licenses/elements-alexandria/LICENSE

References

Summary

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