How To Install python3-cytoolz on AlmaLinux 8

In this tutorial we learn how to install python3-cytoolz in AlmaLinux 8. python3-cytoolz is Cython implementation of the toolz package

Introduction

In this tutorial we learn how to install python3-cytoolz on AlmaLinux 8.

What is python3-cytoolz

Cython implementation of the toolz package, which provides high performance utility functions for iterables, functions, and dictionaries. toolz is a pure Python package that borrows heavily from contemporary functional languanges. It is designed to interoperate seamlessly with other libraries including itertools, functools, and third party libraries. High performance functional data analysis is possible with builtin types like list and dict, and user-defined data structures; and low memory usage is achieved by using the iterator protocol and returning iterators whenever possible. cytoolz implements the same API as toolz. The main differences are that cytoolz is faster (typically 2-5x faster with a few spectacular exceptions) and cytoolz offers a C API that is accessible to other projects developed in Cython. Since toolz is able to process very large (potentially infinite) data sets, the performance increase gained by using cytoolz can be significant. See the PyToolz documentation at http

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

Install python3-cytoolz on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-cytoolz using dnf by running the following command:

sudo dnf -y install python3-cytoolz

Install python3-cytoolz on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-cytoolz using yum by running the following command:

sudo yum -y install python3-cytoolz

How To Uninstall python3-cytoolz on AlmaLinux 8

To uninstall only the python3-cytoolz package we can use the following command:

sudo dnf remove python3-cytoolz

References

Summary

In this tutorial we learn how to install python3-cytoolz on AlmaLinux 8 using yum and dnf.