How To Install maloc on CentOS 7
Introduction
In this tutorial we learn how to install maloc
on CentOS 7.
What is maloc
MALOC is a small, portable, abstract C environment library for object-oriented C programming. MALOC is used as the foundation layer for a number of scientific applications, including MC, SG, and APBS. MALOC can be used as a small stand-alone abstraction environment for writing portable C programs which need access to resources which are typically architecture-dependent, such as INET sockets, timing routines, and so on. MALOC provides abstract datatypes, memory management routines, timing routines, machine epsilon, access to UNIX and INET sockets, MPI, and so on. All things that can vary from one architecture to another are abstracted out of an application code and placed in MALOC.
We can use yum
or dnf
to install maloc
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install maloc.
Install maloc on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install maloc
using yum
by running the following command:
Install maloc on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install maloc
using dnf
by running the following command:
How To Uninstall maloc on CentOS 7
To uninstall only the maloc
package we can use the following command:
References
Summary
In this tutorial we learn how to install maloc
on CentOS 7 using yum
and dnf
.