How To Install python3-curio on AlmaLinux 8

In this tutorial we learn how to install python3-curio in AlmaLinux 8. python3-curio is Building blocks for performing concurrent I/O

Introduction

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

What is python3-curio

Curio is a library of building blocks for performing concurrent I/O and common system programming tasks such as launching subprocesses, working with files, and farming work out to thread and process pools. It uses Python coroutines and the explicit async/await syntax introduced in Python 3.5. Its programming model is based on cooperative multitasking and existing programming abstractions such as threads, sockets, files, subprocesses, locks, and queues. You’ll find it to be small, fast, and fun. Curio has no third-party dependencies and does not use the standard asyncio module. Most users will probably find it to be a bit too-low level–it’s probably best to think of it as a library for building libraries. Although you might not use it directly, many of its ideas have influenced other libraries with similar functionality.

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

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

sudo dnf -y install python3-curio

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

sudo yum -y install python3-curio

How To Uninstall python3-curio on AlmaLinux 8

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

sudo dnf remove python3-curio

References

Summary

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