How To Install dxf2gcode on Fedora 34

dxf2gcode is 2D drawings to CNC machine compatible G-Code converter

Introduction

In this tutorial we learn how to install dxf2gcode on Fedora 34.

What is dxf2gcode

dxf2gcode is a tool for converting 2D (DXF, PDF, PS) drawings to CNC machine compatible GCode. It has the following features - Integration in EMC2, - Fully adjustable Postprocessor, - G0 moves reduction by route optimization, - Import of DXF and PDF, - Improved accuracy for splines import by Line and Arc’s, - Mill parameter specification by layers, - Drag knife and lathe support, - Breaks a.k.a Tabs support, - AutoCAD Blocks and Inserts, - Multiple tools, - Multiple language support - 3D viewer.

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

Install dxf2gcode on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install dxf2gcode

Install dxf2gcode on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install dxf2gcode using yum by running the following command:

sudo yum -y install dxf2gcode

How To Uninstall dxf2gcode on Fedora 34

To uninstall only the dxf2gcode package we can use the following command:

sudo dnf remove dxf2gcode

dxf2gcode Package Contents on Fedora 34

/usr/bin/dxf2gcode
/usr/lib/python3.9/site-packages/__pycache__
/usr/lib/python3.9/site-packages/__pycache__/dxf2gcode_images5_rc.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/__pycache__/dxf2gcode_images5_rc.cpython-39.pyc
/usr/lib/python3.9/site-packages/__pycache__/dxf2gcode_ui5.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/__pycache__/dxf2gcode_ui5.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode
/usr/lib/python3.9/site-packages/dxf2gcode-20191025-py3.9.egg-info
/usr/lib/python3.9/site-packages/dxf2gcode-20191025-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/dxf2gcode-20191025-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/dxf2gcode-20191025-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/dxf2gcode-20191025-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/dxf2gcode-20191025-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/dxf2gcode/__init__.py
/usr/lib/python3.9/site-packages/dxf2gcode/__pycache__
/usr/lib/python3.9/site-packages/dxf2gcode/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core
/usr/lib/python3.9/site-packages/dxf2gcode/core/__init__.py
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/arcgeo.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/arcgeo.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/boundingbox.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/boundingbox.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/breakgeo.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/breakgeo.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/customgcode.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/customgcode.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/entitycontent.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/entitycontent.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/holegeo.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/holegeo.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/intersect.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/intersect.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/layercontent.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/layercontent.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/linegeo.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/linegeo.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/point.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/point.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/point3d.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/point3d.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/project.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/project.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/shape.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/shape.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/shapeoffset.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/shapeoffset.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/stmove.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/__pycache__/stmove.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/core/arcgeo.py
/usr/lib/python3.9/site-packages/dxf2gcode/core/boundingbox.py
/usr/lib/python3.9/site-packages/dxf2gcode/core/breakgeo.py
/usr/lib/python3.9/site-packages/dxf2gcode/core/customgcode.py
/usr/lib/python3.9/site-packages/dxf2gcode/core/entitycontent.py
/usr/lib/python3.9/site-packages/dxf2gcode/core/holegeo.py
/usr/lib/python3.9/site-packages/dxf2gcode/core/intersect.py
/usr/lib/python3.9/site-packages/dxf2gcode/core/layercontent.py
/usr/lib/python3.9/site-packages/dxf2gcode/core/linegeo.py
/usr/lib/python3.9/site-packages/dxf2gcode/core/point.py
/usr/lib/python3.9/site-packages/dxf2gcode/core/point3d.py
/usr/lib/python3.9/site-packages/dxf2gcode/core/project.py
/usr/lib/python3.9/site-packages/dxf2gcode/core/shape.py
/usr/lib/python3.9/site-packages/dxf2gcode/core/shapeoffset.py
/usr/lib/python3.9/site-packages/dxf2gcode/core/stmove.py
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__init__.py
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/biarc.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/biarc.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/classes.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/classes.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_arc.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_arc.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_circle.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_circle.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_ellipse.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_ellipse.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_insert.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_insert.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_line.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_line.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_lwpolyline.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_lwpolyline.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_point.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_point.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_polyline.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_polyline.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_spline.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/geoent_spline.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/importer.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/importer.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/spline_convert.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/__pycache__/spline_convert.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/biarc.py
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/classes.py
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/geoent_arc.py
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/geoent_circle.py
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/geoent_ellipse.py
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/geoent_insert.py
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/geoent_line.py
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/geoent_lwpolyline.py
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/geoent_point.py
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/geoent_polyline.py
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/geoent_spline.py
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/importer.py
/usr/lib/python3.9/site-packages/dxf2gcode/dxfimport/spline_convert.py
/usr/lib/python3.9/site-packages/dxf2gcode/globals
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__init__.py
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__pycache__
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__pycache__/config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__pycache__/config.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__pycache__/constants.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__pycache__/constants.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__pycache__/d2gexceptions.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__pycache__/d2gexceptions.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__pycache__/globals.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__pycache__/globals.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__pycache__/helperfunctions.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__pycache__/helperfunctions.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__pycache__/logger.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/globals/__pycache__/logger.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/globals/config.py
/usr/lib/python3.9/site-packages/dxf2gcode/globals/constants.py
/usr/lib/python3.9/site-packages/dxf2gcode/globals/d2gexceptions.py
/usr/lib/python3.9/site-packages/dxf2gcode/globals/globals.py
/usr/lib/python3.9/site-packages/dxf2gcode/globals/helperfunctions.py
/usr/lib/python3.9/site-packages/dxf2gcode/globals/logger.py
/usr/lib/python3.9/site-packages/dxf2gcode/gui
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__init__.py
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/aboutdialog.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/aboutdialog.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/arrow.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/arrow.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/canvas.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/canvas.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/canvas2d.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/canvas2d.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/canvas3d.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/canvas3d.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/configwindow.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/configwindow.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/messagebox.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/messagebox.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/popupdialog.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/popupdialog.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/routetext.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/routetext.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/treehandling.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/treehandling.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/treeview.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/treeview.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/wpzero.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/__pycache__/wpzero.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/gui/aboutdialog.py
/usr/lib/python3.9/site-packages/dxf2gcode/gui/arrow.py
/usr/lib/python3.9/site-packages/dxf2gcode/gui/canvas.py
/usr/lib/python3.9/site-packages/dxf2gcode/gui/canvas2d.py
/usr/lib/python3.9/site-packages/dxf2gcode/gui/canvas3d.py
/usr/lib/python3.9/site-packages/dxf2gcode/gui/configwindow.py
/usr/lib/python3.9/site-packages/dxf2gcode/gui/messagebox.py
/usr/lib/python3.9/site-packages/dxf2gcode/gui/popupdialog.py
/usr/lib/python3.9/site-packages/dxf2gcode/gui/routetext.py
/usr/lib/python3.9/site-packages/dxf2gcode/gui/treehandling.py
/usr/lib/python3.9/site-packages/dxf2gcode/gui/treeview.py
/usr/lib/python3.9/site-packages/dxf2gcode/gui/wpzero.py
/usr/lib/python3.9/site-packages/dxf2gcode/postpro
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/__init__.py
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/__pycache__
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/__pycache__/breaks.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/__pycache__/breaks.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/__pycache__/postprocessor.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/__pycache__/postprocessor.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/__pycache__/postprocessorconfig.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/__pycache__/postprocessorconfig.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/__pycache__/tspoptimisation.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/__pycache__/tspoptimisation.cpython-39.pyc
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/breaks.py
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/postprocessor.py
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/postprocessorconfig.py
/usr/lib/python3.9/site-packages/dxf2gcode/postpro/tspoptimisation.py
/usr/lib/python3.9/site-packages/dxf2gcode_images5_rc.py
/usr/lib/python3.9/site-packages/dxf2gcode_ui5.py
/usr/share/applications/dxf2gcode.desktop
/usr/share/doc/dxf2gcode
/usr/share/doc/dxf2gcode/README.txt
/usr/share/dxf2gcode
/usr/share/dxf2gcode/i18n
/usr/share/dxf2gcode/i18n/dxf2gcode_de_DE.qm
/usr/share/dxf2gcode/i18n/dxf2gcode_fr.qm
/usr/share/dxf2gcode/i18n/dxf2gcode_ru.qm
/usr/share/icons/hicolor/scalable
/usr/share/icons/hicolor/scalable/apps
/usr/share/icons/hicolor/scalable/apps/dxf2gcode.svg
/usr/share/licenses/dxf2gcode
/usr/share/licenses/dxf2gcode/COPYING
/usr/share/metainfo/dxf2gcode.appdata.xml

References

Summary

In this tutorial we learn how to install dxf2gcode on Fedora 34 using yum and dnf.