A usable DraftSight Debian package
Update (2014-07-08): I found easier, better ways to handle DWG files on GNU/Linux and other free-as-in-freedom platforms and/or using gratis software.
The proprietary DWG file format is so widespread that dealing with it is almost non avoidable; those who like to use GNU/Linux and other free-as-in-freedom OSes have in recent years appreciated Dassaoult Systems: even if they kept their entry-level CAD DrafSight proprietary CAD ((I will write about the status of DWG one of these days ))Â they offer it for download without requiring any payment, for GNU/Linux, Windows and MacOS. Itâ€™s not like having a public repository for the sources released under GPL but at least itâ€™s not a step directly opposed to freedom in IT (which has almost nothing related to monetary prices).
When I switched to 64 bit machines I found that the binary package does not install â€œout of the boxâ€. Yet it is possible to install it on 64 bits machines making some changes to package following the instructions found in the post â€œDraftSight and Ubuntu 12.04 LTS 64bitâ€ in Linux Aided Design blog.
Since DraftSight license expires each and every year you may find a little script of mine quite useful. I put it on GitHub at fix-drafsight. It will automatically fix the uninstallable package provided creating a new version of the package that will install flawlessly on 64 bit machines. I tried it on Ubuntu 12.04 and 13.10. Please let me know if it works or not on other distributions. Any feedback is wellcome.
It currently require you to download separately the Debian/Ubuntu package from 3ds.com.
Hereâ€™s you can read it in all its glory, updated on 2014-02-05 as suggested by Francesco Guerricchio.
There are some things missing:
- automating download of current release
- automatic installation
- make the code easier to read, explaining better what each command do.