Is there software that can view
.dwg files ?
DraftSight. It doesn't cost money and they'll give you a nice .deb installer... but it's not open source or free software.
On the upside, it will also let you create and edit
LX-Viewer is a program that will allow you to open, view, print and convert DWG or DXF files, typically used in AutoCAD related technical drafting. The most important feature is that LX-Viewer allows you to manipulate your DWG data on the Linux platform. You may zoom and pan the drawing as you would in AutoCAD. Files can be saved to DWG or DXF formats from AutoCAD version 2.5 to 2002, also as BMP, SVG and PNG formats. Files can be printed or plotted to a Postscript printer or to file. Multiple files can be batch converted or batch plotted. Layer states can be changed (on/off, freeze/thaw, etc) with a full layer dialog. The paperspace/model space toggle is fully implemented, as is the ability to select among various paperspace layouts for AutoCAD drawings.
I tried LibreCAD, freeCAD and qCAD, but only qCAD was able to open my dwg file.
I use ODA Drawings Explorer (formerly known as Teigha Viewer) available from the Open Design Alliance, and also the ODA File Converter (formerly known as Teigha File Converter) from the same provider. Packages are available for Ubuntu. It is freeware but not free nor open source software.
ODA Drawings Explorer incorporates the power and flexibility of ODA into a single application that can render both .dwg files and .dgn files using a common command interface for both formats.
The de·caff Viewer is a pure Java program for viewing AutoCAD® DWG, DXF and SHX files.
- Supports textual and binary DXF format from the version written by AutoCAD® R7 up to 2018.
- Supports DWG from the version written by AutoCAD® R13 up to 2018.
- Supports SHX (binary shape files) in all known formats.
I used ZWCAD Viewer https://www.zwsoft.com/zwcad/viewer
It's free, was easy to install on Ubuntu 16.04 and could open my .dwg files without crashing.
for one-time use, there are now online viewer, I just use https://beta.sharecad.org