How To Install python3-typed_ast on Rocky Linux 8

In this tutorial we learn how to install python3-typed_ast on Rocky Linux 8. python3-typed_ast is A fork of the ast module with type annotations

Introduction

In this tutorial we learn how to install python3-typed_ast on Rocky Linux 8.

What is python3-typed_ast

A fork of the ast module with type annotations. This package is based on the ast modules from Python 2 and 3, and has been extended with support for type comments and type annotations as supported in Python 3.6.

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

Install python3-typed_ast on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install python3-typed_ast

Install python3-typed_ast on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install python3-typed_ast

How To Uninstall python3-typed_ast on Rocky Linux 8

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

sudo dnf remove python3-typed_ast

python3-typed_ast Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/2b8921bc2ba7ae0ee5f21e5228cba67fbefcf7
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/a4a2d8732e5f5b1ddaba3c482851e0037e1fba
/usr/lib64/python3.6/site-packages/typed_ast
/usr/lib64/python3.6/site-packages/typed_ast-1.4.0-py3.6.egg-info
/usr/lib64/python3.6/site-packages/typed_ast-1.4.0-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/typed_ast-1.4.0-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/typed_ast-1.4.0-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/typed_ast-1.4.0-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/typed_ast/__init__.py
/usr/lib64/python3.6/site-packages/typed_ast/__pycache__
/usr/lib64/python3.6/site-packages/typed_ast/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/typed_ast/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/typed_ast/__pycache__/ast27.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/typed_ast/__pycache__/ast27.cpython-36.pyc
/usr/lib64/python3.6/site-packages/typed_ast/__pycache__/ast3.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/typed_ast/__pycache__/ast3.cpython-36.pyc
/usr/lib64/python3.6/site-packages/typed_ast/__pycache__/conversions.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/typed_ast/__pycache__/conversions.cpython-36.pyc
/usr/lib64/python3.6/site-packages/typed_ast/_ast27.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/typed_ast/_ast3.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/typed_ast/ast27.py
/usr/lib64/python3.6/site-packages/typed_ast/ast3.py
/usr/lib64/python3.6/site-packages/typed_ast/conversions.py
/usr/lib64/python3.6/site-packages/typed_ast/tests
/usr/lib64/python3.6/site-packages/typed_ast/tests/__pycache__
/usr/lib64/python3.6/site-packages/typed_ast/tests/__pycache__/test_basics.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/typed_ast/tests/__pycache__/test_basics.cpython-36.pyc
/usr/lib64/python3.6/site-packages/typed_ast/tests/test_basics.py
/usr/share/doc/python3-typed_ast
/usr/share/doc/python3-typed_ast/CONTRIBUTING.md
/usr/share/doc/python3-typed_ast/README.md
/usr/share/doc/python3-typed_ast/release_process.md
/usr/share/doc/python3-typed_ast/update_process.md
/usr/share/licenses/python3-typed_ast
/usr/share/licenses/python3-typed_ast/LICENSE

References

Summary

In this tutorial we learn how to install python3-typed_ast on Rocky Linux 8 using yum and dnf.