Wed, 13 Oct 2010
How to install the 2D CAD Package DraftSight in Wine under Linux
DraftSight is a pretty
complete 2D CAD product which can read and write DXF and DWG files. It works
great in a VirtualBox virtual-machine in Linux, but I rather like to
run things natively if possible.
Installing it in my existing Wine prefix
worked, but trying to run it gave me the following error: Runtime Error!
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.
Therefore I tried a clean install in a new Wine prefix using the following
commands (using some hints from
here):
export WINEPREFIX=$HOME/.winedraft wget -O $WINEPREFIX/winetricks http://www.kegel.com/wine/winetricks sh $WINEPREFIX/winetricks vcrun2005 chmod -R u-w $WINEPREFIX/drive_c/windows/winsxs # execute the downloaded installation package # http://www.3ds.com/products/draftsight/download-draftsight/ wine Downloads/DraftSight.exe # You've to do a custome installation, otherwise the 'Install' # button doesn't workTo launch (or use the installed menu link):
WINEPREFIX=$HOME/.winedraft wine $HOME/.winedraft/drive_c/P*/D*/D*/bin/DraftSight.exeAnd that's it. Wine version 1.0.1, DraftSight version 10.7.400. The process was tested with Debian/Squeeze as of October 2010, but should also work with Ubuntu.
posted at 14:21 | path: /unix | permanent link to this entry