Ubuntu 14.04 LTS is the new LTS version of Ubuntu and it will be available on its final state later this month. 64-bit LTS versions are ideal for someone who wants to built a modern CAD workstation but unfortunately DraftSight comes on a 32-bit version only. Ubuntu provides support for running 32-bit applications on a 64-bit OS but DraftSight's installer doesn't support this functionality which is known as multiarch support. However the installation of DraftSight on a 64-bit Ubuntu 14.04 LTS system is possible with a few tweaks.
DraftSight actually needs some 32bit libraries to be installed as well, in order to install and run it successfully. This was easy in older versions of Ubuntu. You only had to install ia32-libs with your package manager. However, ia32-libs are no longer available on Ubuntu. So you need to determine which 32bit libraries you need and install them manually. This happens because DraftSight's installer doesn't come with a complete list of dependencies. If its dependencies list was complete you would be able to install it without problems on a 64bit Ubuntu system (that's the point of multiarch support).
So in order to install DraftSight on 64 bit Ubuntu 14.04 LTS you have to do the following:
This step is optional but these two programs will make your life easier. Synaptic is an advanced package manager and GDebi is an application for the installation of standalone .deb files.DraftSight actually needs some 32bit libraries to be installed as well, in order to install and run it successfully. This was easy in older versions of Ubuntu. You only had to install ia32-libs with your package manager. However, ia32-libs are no longer available on Ubuntu. So you need to determine which 32bit libraries you need and install them manually. This happens because DraftSight's installer doesn't come with a complete list of dependencies. If its dependencies list was complete you would be able to install it without problems on a 64bit Ubuntu system (that's the point of multiarch support).
So in order to install DraftSight on 64 bit Ubuntu 14.04 LTS you have to do the following:
- Install Synaptic and GDebi:
- Install the necessary 32bit libraries:
libgtk2.0-0:i386
libcanberra-gtk-module:i386
libaudio2:i386
libstdc++6:i386
libglu1-mesa:i386
libgl1-mesa-glx:i386
Without some extra 32bit libraries DraftSight will fail to install
Of course DraftSight needs more 32bit libraries in order to run but these will be installed automatically by installing the above packages. In order to install these libraries with Synaptic you have to use its search tool to find the above packages. Then you have to right click on the package you want to install and select the option "Mark for Installation". Once you have complete this process for all the above packages click on Apply button to proceed with the installation of all the necessary libraries.
Notice for users of binary graphics drivers:
If you install the drivers provided by the official Ubuntu repositories you will not face any problems. However, if you are used to install these drivers manually by downloading them from vendor's website don''t forget to install also the 32-bit compatibility drivers. Usually the installer asks about installing these drivers (This affects mainly Nvidia users).
- Modify DraftSight's installer:
- Open a terminal (Ctrl+Alt+T)
- Execute ar x draftSight.deb control.tar.gz
- Unzip the control.tar.gz compressed archive
- Move into the control folder and open control file
- Delete xdg-utils and save the file. Be careful with the syntax of this file. If you don't know how to keep the correct syntax of this file visit this link.
- Ctrl+A to select all the files inside the control file
- Right click and select Compress
- Compress the selected files as control.tar.gz and choose to save it inside your Home folder. You will be prompted to overwrite the existing archive.
- Go back to the terminal and execute ar r draftSight.deb control.tar.gz
Modifying DraftSight's installer
- Install DraftSight
Enjoy!!!
Finally it works with Ubuntu 14.04 LTS 64-bit
With a few tweaks you can apply the default desktop's theme.
Hi.
ReplyDeleteWhich tweaks did you do to apply Ubuntu's default desktop theme to Draftsight? Thanks in advance.
Martin
It's a little bit tricky so I will write a new detailed post about it.
DeleteIt will be ready probably next week.
what if most of the libs doesn't appears the i386 option on synaptic filter? =/
ReplyDeleteSynaptic has filters in order to locate easily your available packages.
DeleteFilters are categorized so you have to select from the right pane Architecture--> arch:i386 as a filter in order to find them.
selecting libgl1-mesa-glx:i386 in Synaptic, it wants to uninstall a bunch of packages, namely:
ReplyDeletexserver-common-lts-raring deinstall
ubuntu-desktop deinstall
xserver-xorg-input-all-lts-raring deinstall
xserver-xorg-video-vmware-lts-raring deinstall
xserver-xorg-video-modesetting-lts-raring deinstall
xserver-xorg-video-ati-lts-raring deinstall
xserver-xorg-video-r128-lts-raring deinstall
xserver-xorg-video-nouveau-lts-raring deinstall
xserver-xorg-input-mouse-lts-raring deinstall
xserver-xorg-core install
x11-xserver-utils-lts-raring deinstall
xserver-xorg-input-evdev-lts-raring deinstall
xserver-xorg-video-all-lts-raring deinstall
libgl1-mesa-glx install
libgl1-mesa-glx:i386 install
xserver-xorg-video-cirrus-lts-raring deinstall
xserver-xorg-input-synaptics-lts-raring deinstall
libgl1-mesa-glx-lts-raring deinstall
libgl1-mesa-glx-lts-raring:i386 deinstall
libglapi-mesa install
libglapi-mesa:i386 install
xserver-xorg-video-mach64-lts-raring deinstall
xserver-xorg-video-s3-lts-raring deinstall
xserver-xorg-video-vesa-lts-raring deinstall
xserver-xorg-video-tdfx-lts-raring deinstall
xserver-xorg-video-sisusb-lts-raring deinstall
xserver-xorg-video-radeon-lts-raring deinstall
xserver-xorg-video-trident-lts-raring deinstall
libxatracker1-lts-raring deinstall
xserver-xorg-input-evdev install
xserver-xorg-input-wacom-lts-raring deinstall
xserver-xorg-video-mga-lts-raring deinstall
libgl1-mesa-dri-lts-raring deinstall
libgl1-mesa-dri-lts-raring:i386 deinstall
xserver-xorg-lts-raring deinstall
xserver-xorg-video-fbdev-lts-raring deinstall
xserver-xorg-core-lts-raring deinstall
xserver-xorg-input-vmmouse-lts-raring deinstall
xorg deinstall
xserver-xorg-video-neomagic-lts-raring deinstall
xserver-xorg-video-openchrome-lts-raring deinstall
xserver-xorg-video-sis-lts-raring deinstall
xserver-xorg-video-savage-lts-raring deinstall
xserver-xorg-video-intel-lts-raring deinstall
libglapi-mesa-lts-raring deinstall
libglapi-mesa-lts-raring:i386 deinstall
xserver-xorg-video-siliconmotion-lts-raring deinstall
'sudo apt-get install libgl1-mesa-glx:i386' fails due to unsatisfied depenencies:
I seguenti pacchetti hanno dipendenze non soddisfatte:
libgl1-mesa-glx:i386 : Dipende: libglapi-mesa:i386 (= 8.0.4-0ubuntu0.7)
Raccomanda: libgl1-mesa-dri:i386 (>= 7.2)
running Ubuntu 12.04:amd64 with linux-generic-lts-saucy-eol-upgrade kernel
some i386 libraries are already installed due to Skype
as libgl1-mesa-glx-lts-raring:i386 is already installed I will try leaving that instead of libgl1-mesa-glx:i386 and update
I confirm that leaving libgl1-mesa-glx-lts-raring:i386 instead of libgl1-mesa-glx:i386 works fine.
Deletethank you for the guide
You need one version of libgl1-mesa-glx:i386 to be installed in your computer. If you already have an updated package ( in your case libgl1-mesa-glx-lts-raring:i386) you don't need to install any other libgl1-mesa-glx package
Deleteit worked! :) as a charm, on debian wheezy
ReplyDeletethanks
In synaptic I can not find:
ReplyDeletelibcanberra-gtk-module:i386
Great
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteEasy way to install draftSight without modifying draftSight.deb package: http://askubuntu.com/a/466562/95068
ReplyDeleteI tested on my Linux Mint 17 64 bit (which is based on Ubuntu 14.04) machine:
Just run
$ sudo apt-get install libuuid1:i386 libice6:i386 libsm6:i386 libxt6:i386 libaudio2:i386 libgtk2.0-0:i386 libcanberra-gtk-module:i386 libcanberra-gtk0:i386 libglu1-mesa:i386
When the above command finished, double click on downloaded "draftSight.deb" and everything went fine.
I was looking for a good reason to update from Kubuntu 12.04 to 14.04. Thanks for giving me a definitive reason to stick with 12.04.
ReplyDelete