How To Install memtailor on Fedora 36

In this tutorial we learn how to install memtailor in Fedora 36. memtailor is C++ library of special-purpose memory allocators

Introduction

In this tutorial we learn how to install memtailor on Fedora 36.

What is memtailor

Memtailor is a C++ library of special purpose memory allocators. It currently offers an arena allocator and a memory pool. The main motivation to use a memtailor allocator is better and more predictable performance than you get with new/delete. Sometimes a memtailor allocator can also be more convenient due to the ability to free many allocations at one time. The Memtailor memory pool is useful if you need to do many allocations of a fixed size. For example a memory pool is well suited to allocate the nodes in a linked list. You can think of the Memtailor arena allocator as being similar to stack allocation. Both kinds of allocation are very fast and require you to allocate/deallocate memory in last-in-first-out order. Arena allocation has the further benefits that it stays within the C++ standard, it will not cause a stack overflow, you can have multiple arena allocators at the same time and allocation is not tied to a function invocation.

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

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

sudo dnf -y install memtailor

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

sudo yum -y install memtailor

How To Uninstall memtailor on Fedora 36

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

sudo dnf remove memtailor

memtailor Package Contents on Fedora 36

---
title: "How To Install memtailor on Fedora 36"
linkTitle: "memtailor"
type: "docs"
description: "In this tutorial we learn how to install memtailor in Fedora 36. memtailor is C++ library of special-purpose memory allocators"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/memtailor-featured.png
---

## Introduction

In this tutorial we learn how to install `memtailor` on Fedora 36.

### What is `memtailor`

> Memtailor is a C++ library of special purpose memory allocators.  It currently offers an arena allocator and a memory pool.  The main motivation to use a memtailor allocator is better and more predictable performance than you get with new/delete.  Sometimes a memtailor allocator can also be more convenient due to the ability to free many allocations at one time.  The Memtailor memory pool is useful if you need to do many allocations of a fixed size.  For example a memory pool is well suited to allocate the nodes in a linked list.  You can think of the Memtailor arena allocator as being similar to stack allocation.  Both kinds of allocation are very fast and require you to allocate/deallocate memory in last-in-first-out order.  Arena allocation has the further benefits that it stays within the C++ standard, it will not cause a stack overflow, you can have multiple arena allocators at the same time and allocation is not tied to a function invocation.  

We can use `yum` or `dnf` to install `memtailor` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install memtailor.

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

sudo dnf -y install memtailor

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

sudo yum -y install memtailor

How To Uninstall memtailor on Fedora 36

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

sudo dnf remove memtailor

memtailor Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/9131510c9867e121ddc2a6ab1ea013a3a7e971
/usr/lib/libmemtailor.so.0
/usr/lib/libmemtailor.so.0.0.0
/usr/share/doc/memtailor
/usr/share/doc/memtailor/README.md
/usr/share/licenses/memtailor
/usr/share/licenses/memtailor/license.txt

References

Summary

In this tutorial we learn how to install memtailor on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/c3 /usr/lib/.build-id/c3/411ce46a567a63fd0fd2d240ad8489dbdf894c /usr/lib64/libmemtailor.so.0 /usr/lib64/libmemtailor.so.0.0.0 /usr/share/doc/memtailor /usr/share/doc/memtailor/README.md /usr/share/licenses/memtailor /usr/share/licenses/memtailor/license.txt


## References

* [memtailor website](https://github.com/Macaulay2/memtailor)

## Summary

In this tutorial we learn how to install `memtailor` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).