dwg2dxf

Library to read/write DXF files

Fedora
RUN dnf install -y libdxfrw
click the source code to copy install dwg2dxf on any operating system with command-not-found.com