Ubuntu – How to install Draftsight CAD

64-bitcaddependencies

I've installed the 11.04 64bit version and now i can't install Draftsight (32bit with force architecture option) because there is an error with the library libexpat1..
anyone know how solve?

andrea@andrea-HP-Pavilion-dv5-Notebook-PC:~$ sudo dpkg --force-architecture -i DraftSight.deb 
[sudo] password for andrea: 
dpkg: warning: the following problems are ignored via the --force option:
 the architecture of the package (i386) does not match system (amd64)
dpkg: problems with pre-dependencies DraftSight.deb containing dassault-systemes-draftsight:i386:
 dassault-systemes-draftsight:i386 depends on libexpat1 (>= 2.0.1-4)
dpkg: errore processing DraftSight.deb (--install):
 dependency problem - dassault-systemes-draftsight:i386 not installed
There were errors in processing:
 DraftSight.deb
andrea@andrea-HP-Pavilion-dv5-Notebook-PC:~$ 

Editor's note: the error messages have been translated and don't match the real ones exactly.

Best Answer

After you install all dependencies mentioned above (that is libdirectfb-extra, libxcb-render-util0, libaudio2) you should install Draftsight using the following command:

sudo dpkg -i --force-architecture,depends ./DraftSight.deb

Obviously you should run this command while inside the folder where you have saved Draftsight.deb.

Worked on Ubuntu 11.04 x64

Related Question