How To Install python3-pytn3270 on Fedora 36

In this tutorial we learn how to install python3-pytn3270 in Fedora 36. python3-pytn3270 is Python TN3270 library

Introduction

In this tutorial we learn how to install python3-pytn3270 on Fedora 36.

What is python3-pytn3270

Inspired by pyte, this is a pure Python TN3270 library providing data stream parsing and in-memory emulation. It does not include a user interface or routines to support automation, instead it is designed to be used to build user-facing emulators and automation libraries.

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

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

sudo dnf -y install python3-pytn3270

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

sudo yum -y install python3-pytn3270

How To Uninstall python3-pytn3270 on Fedora 36

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

sudo dnf remove python3-pytn3270

python3-pytn3270 Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/pytn3270-0.12.0.dist-info
/usr/lib/python3.10/site-packages/pytn3270-0.12.0.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/pytn3270-0.12.0.dist-info/LICENSE
/usr/lib/python3.10/site-packages/pytn3270-0.12.0.dist-info/METADATA
/usr/lib/python3.10/site-packages/pytn3270-0.12.0.dist-info/WHEEL
/usr/lib/python3.10/site-packages/pytn3270-0.12.0.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/tn3270
/usr/lib/python3.10/site-packages/tn3270/__about__.py
/usr/lib/python3.10/site-packages/tn3270/__init__.py
/usr/lib/python3.10/site-packages/tn3270/__pycache__
/usr/lib/python3.10/site-packages/tn3270/__pycache__/__about__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tn3270/__pycache__/__about__.cpython-310.pyc
/usr/lib/python3.10/site-packages/tn3270/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tn3270/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/tn3270/__pycache__/attributes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tn3270/__pycache__/attributes.cpython-310.pyc
/usr/lib/python3.10/site-packages/tn3270/__pycache__/datastream.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tn3270/__pycache__/datastream.cpython-310.pyc
/usr/lib/python3.10/site-packages/tn3270/__pycache__/ebcdic.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tn3270/__pycache__/ebcdic.cpython-310.pyc
/usr/lib/python3.10/site-packages/tn3270/__pycache__/emulator.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tn3270/__pycache__/emulator.cpython-310.pyc
/usr/lib/python3.10/site-packages/tn3270/__pycache__/structured_fields.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tn3270/__pycache__/structured_fields.cpython-310.pyc
/usr/lib/python3.10/site-packages/tn3270/__pycache__/telnet.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tn3270/__pycache__/telnet.cpython-310.pyc
/usr/lib/python3.10/site-packages/tn3270/attributes.py
/usr/lib/python3.10/site-packages/tn3270/datastream.py
/usr/lib/python3.10/site-packages/tn3270/ebcdic.py
/usr/lib/python3.10/site-packages/tn3270/emulator.py
/usr/lib/python3.10/site-packages/tn3270/structured_fields.py
/usr/lib/python3.10/site-packages/tn3270/telnet.py
/usr/share/doc/python3-pytn3270
/usr/share/doc/python3-pytn3270/README.md
/usr/share/licenses/python3-pytn3270
/usr/share/licenses/python3-pytn3270/LICENSE

References

Summary

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