How to install python3-dataclasses on AlmaLinux, Rocky Linux, Oracle Linux and RHEL

An implementation of PEP 557: Data Classes

License: ASL 2.0 Vendor: Fedora Project https://github.com/ericvsmith/dataclasses

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel noarch Version
RHEL 8 Base 0.8
RHEL 7 Base 0.8

Description

This package is an implementation of PEP 557, Data Classes. It is a backport for Python 3.6, as dataclasses is included in Python 3.7 and later.

Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Install

Base RHEL 7, 8

python3-dataclasses on AlmaLinux / Rocky Linux / Oracle Linux / RHEL 8

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install python3-dataclasses

python3-dataclasses on CentOS 7 / RHEL 7

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install python3-dataclasses

Package downloads require an active GetPageSpeed subscription — one repository for python3-dataclasses and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Subscribe — from $10/mo

Frequently asked questions

How do I install python3-dataclasses on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?

Add the GetPageSpeed repository, then install the python3-dataclasses package with your system package manager.

Which Enterprise Linux versions is python3-dataclasses available for?

python3-dataclasses is available for RHEL 7, 8.

Subscribe