How To Install maloc on Fedora 36
Introduction
In this tutorial we learn how to install maloc
on Fedora 36.
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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install maloc.
Install maloc on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install maloc
using dnf
by running the following command:
sudo dnf -y install maloc
Install maloc on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install maloc
using yum
by running the following command:
sudo yum -y install maloc
How To Uninstall maloc on Fedora 36
To uninstall only the maloc
package we can use the following command:
sudo dnf remove maloc
maloc Package Contents on Fedora 36
---
title: "How To Install maloc on Fedora 36"
linkTitle: "maloc"
type: "docs"
description: "In this tutorial we learn how to install maloc in Fedora 36. maloc is Minimal Abstraction Layer for Object-oriented C"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/maloc-featured.png
---
## Introduction
In this tutorial we learn how to install `maloc` on Fedora 36.
### 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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install maloc.
## Install maloc on Fedora 36 Using dnf
Update yum database with `dnf` using the following command.
```bash
sudo dnf makecache --refresh
After updating yum database, We can install maloc
using dnf
by running the following command:
sudo dnf -y install maloc
Install maloc on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install maloc
using yum
by running the following command:
sudo yum -y install maloc
How To Uninstall maloc on Fedora 36
To uninstall only the maloc
package we can use the following command:
sudo dnf remove maloc
maloc Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/de
/usr/lib/.build-id/de/1b36f3ca535607f7365837c52ade9cbbf0ea41
/usr/lib64/libmaloc.so.1
/usr/lib64/libmaloc.so.1.0.0
References
Summary
In this tutorial we learn how to install maloc
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/lib/.build-id /usr/lib/.build-id/c6 /usr/lib/.build-id/c6/377fb545d72f178f85695b2dc6b4330dc6511f /usr/lib/libmaloc.so.1 /usr/lib/libmaloc.so.1.0.0
## References
* [maloc website](http://www.fetk.org)
## Summary
In this tutorial we learn how to install `maloc` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).