How To Install python3-construct on Fedora 36
Introduction
In this tutorial we learn how to install python3-construct
on Fedora 36.
What is python3-construct
Construct is a powerful declarative parser (and builder) for binary data. Instead of writing imperative code to parse a piece of data, you declaratively define a data structure that describes your data. As this data structure is not code, you can use it in one direction to parse data into Pythonic objects, and in the other direction, convert (build) objects into binary data.
We can use yum
or dnf
to install python3-construct
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-construct.
Install python3-construct 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-construct
using dnf
by running the following command:
sudo dnf -y install python3-construct
Install python3-construct 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-construct
using yum
by running the following command:
sudo yum -y install python3-construct
How To Uninstall python3-construct on Fedora 36
To uninstall only the python3-construct
package we can use the following command:
sudo dnf remove python3-construct
python3-construct Package Contents on Fedora 36
/usr/lib/python3.10/site-packages/construct
/usr/lib/python3.10/site-packages/construct-2.10.67-py3.10.egg-info
/usr/lib/python3.10/site-packages/construct-2.10.67-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/construct-2.10.67-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/construct-2.10.67-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/construct-2.10.67-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/construct-2.10.67-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/construct/__init__.py
/usr/lib/python3.10/site-packages/construct/__pycache__
/usr/lib/python3.10/site-packages/construct/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/construct/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/construct/__pycache__/core.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/construct/__pycache__/core.cpython-310.pyc
/usr/lib/python3.10/site-packages/construct/__pycache__/debug.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/construct/__pycache__/debug.cpython-310.pyc
/usr/lib/python3.10/site-packages/construct/__pycache__/expr.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/construct/__pycache__/expr.cpython-310.pyc
/usr/lib/python3.10/site-packages/construct/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/construct/__pycache__/version.cpython-310.pyc
/usr/lib/python3.10/site-packages/construct/core.py
/usr/lib/python3.10/site-packages/construct/debug.py
/usr/lib/python3.10/site-packages/construct/expr.py
/usr/lib/python3.10/site-packages/construct/lib
/usr/lib/python3.10/site-packages/construct/lib/__init__.py
/usr/lib/python3.10/site-packages/construct/lib/__pycache__
/usr/lib/python3.10/site-packages/construct/lib/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/construct/lib/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/construct/lib/__pycache__/binary.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/construct/lib/__pycache__/binary.cpython-310.pyc
/usr/lib/python3.10/site-packages/construct/lib/__pycache__/bitstream.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/construct/lib/__pycache__/bitstream.cpython-310.pyc
/usr/lib/python3.10/site-packages/construct/lib/__pycache__/containers.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/construct/lib/__pycache__/containers.cpython-310.pyc
/usr/lib/python3.10/site-packages/construct/lib/__pycache__/hex.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/construct/lib/__pycache__/hex.cpython-310.pyc
/usr/lib/python3.10/site-packages/construct/lib/__pycache__/py3compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/construct/lib/__pycache__/py3compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/construct/lib/binary.py
/usr/lib/python3.10/site-packages/construct/lib/bitstream.py
/usr/lib/python3.10/site-packages/construct/lib/containers.py
/usr/lib/python3.10/site-packages/construct/lib/hex.py
/usr/lib/python3.10/site-packages/construct/lib/py3compat.py
/usr/lib/python3.10/site-packages/construct/version.py
/usr/share/doc/python3-construct
/usr/share/doc/python3-construct/README.rst
/usr/share/licenses/python3-construct
/usr/share/licenses/python3-construct/LICENSE
References
Summary
In this tutorial we learn how to install python3-construct
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).