How To Install python3-tftpy on Fedora 36

In this tutorial we learn how to install python3-tftpy in Fedora 36. python3-tftpy is TFTPy is a pure Python implementation of the Trivial FTP protocol

Introduction

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

What is python3-tftpy

Tftpy is a TFTP library for the Python programming language. It includes client and server classes, with sample implementations. Hooks are included for easy inclusion in a UI for populating progress indicators. It supports RFCs 1350, 2347, 2348 and the tsize option from RFC 2349.

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

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

sudo dnf -y install python3-tftpy

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

sudo yum -y install python3-tftpy

How To Uninstall python3-tftpy on Fedora 36

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

sudo dnf remove python3-tftpy

python3-tftpy Package Contents on Fedora 36

/usr/bin/tftpy_client.py
/usr/bin/tftpy_server.py
/usr/lib/python3.10/site-packages/tftpy
/usr/lib/python3.10/site-packages/tftpy-0.8.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/tftpy/TftpClient.py
/usr/lib/python3.10/site-packages/tftpy/TftpContexts.py
/usr/lib/python3.10/site-packages/tftpy/TftpPacketFactory.py
/usr/lib/python3.10/site-packages/tftpy/TftpPacketTypes.py
/usr/lib/python3.10/site-packages/tftpy/TftpServer.py
/usr/lib/python3.10/site-packages/tftpy/TftpShared.py
/usr/lib/python3.10/site-packages/tftpy/TftpStates.py
/usr/lib/python3.10/site-packages/tftpy/__init__.py
/usr/lib/python3.10/site-packages/tftpy/__pycache__
/usr/lib/python3.10/site-packages/tftpy/__pycache__/TftpClient.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tftpy/__pycache__/TftpClient.cpython-310.pyc
/usr/lib/python3.10/site-packages/tftpy/__pycache__/TftpContexts.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tftpy/__pycache__/TftpContexts.cpython-310.pyc
/usr/lib/python3.10/site-packages/tftpy/__pycache__/TftpPacketFactory.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tftpy/__pycache__/TftpPacketFactory.cpython-310.pyc
/usr/lib/python3.10/site-packages/tftpy/__pycache__/TftpPacketTypes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tftpy/__pycache__/TftpPacketTypes.cpython-310.pyc
/usr/lib/python3.10/site-packages/tftpy/__pycache__/TftpServer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tftpy/__pycache__/TftpServer.cpython-310.pyc
/usr/lib/python3.10/site-packages/tftpy/__pycache__/TftpShared.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tftpy/__pycache__/TftpShared.cpython-310.pyc
/usr/lib/python3.10/site-packages/tftpy/__pycache__/TftpStates.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tftpy/__pycache__/TftpStates.cpython-310.pyc
/usr/lib/python3.10/site-packages/tftpy/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tftpy/__pycache__/__init__.cpython-310.pyc
/usr/share/doc/python3-tftpy
/usr/share/doc/python3-tftpy/COPYING
/usr/share/doc/python3-tftpy/README

References

Summary

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