Pagina 1 di 1

Draftsight ubuntu 12.04 LTS 64 bit senza problemi

Inviato: sabato 8 settembre 2012, 14:06
da The_Rooster
Ciao a Tutti!
Per una volta invece di chiedere aiuto proverò ad aiutare..
Ho visto che molti hanno avuto problemi ad installare Draftsight sul proprio ubuntu a 64 bit.. Dopo numerosi tentativi ho trovato una guida utile per installarlo senza problemi (che allego).

Codice: Seleziona tutto

DraftSight and Ubuntu 12.04 LTS 64bit
Ubuntu 12.04 LTS will be released on April 26 with some important and useful features like multiarch-support. However some 32bit packages still have installation problems on 64bit systems because they don't follow the new specifications. One of the packages that need some tricks in order to install it on a 64 bit Ubuntu 12.04 system is the current V1R1.4 of DraftSight.
Normally I wouldn't provide any workarounds for beta or experimental versions of Ubuntu or any other distro  for one simple reason: If a distro is under active development many things will be changed until the final release.
But thanks to Normand who informed me in this post that some users are already trying to install DraftSight on Ubuntu 12.04 LTS and considering that the development status is nearly at the end, I will make an exception.
So here are the instructions, don't be afraid of the number of steps, it's  really a very easy process.

Step 1:
Download Draftsight and make a copy of draftsight.deb in your Home folder. A copy is needed because you will make some changes in the .deb file so keep the original file as a backup. Just a right click on draftsight.deb and select copy to Home folder and you're ready.



Step 2:
Open a terminal simply by pressing Ctrl+Alt+T and type:
ar x draftSight.deb control.tar.gz
This command extracts the control.tar.gz compressed archive from the .deb file. Keep the terminal open you will use it for one more time.

Step 3:
Extract the control.tar.gz compressed archive to your home folder. From Nautilus right click on it and select "Extract here". You will see a folder named "control"  inside your Home folder.


Step 4:
Open the control folder and then the control file inside it with gedit (Text Editor).

Step 5:
Now you must be careful! You have to delete from the list of dependencies libdirectfb-extra. Simply select with the mouse: "libdirectfb-extra (>=1.2.7-2)" the space before it and the comma after it in order to keep the correct syntax (see the screenshot below). Save the file and close gedit.

Step 6: 
From Nautilus select all the contents of the control folder ( Simply press Ctrl+A), right click on one of the selected items and select "Compress".

Step 7:
In the dialog box that opens select as "Location" your Home folder.

Step 8:
You will see a warning that a file with the same name already exists. Select to overwrite it.

Step 9:
Go back to your open terminal and type:
ar r draftSight.deb control.tar.gz
This command will put back the modified control.tar.gz compressed archive into your draftsight.deb file

Step 10:
Right click on your modified draftsight.deb file and select "Open with Gdebi Package Installer". If you don't have gdebi already installed, install it because DraftSight's installation is successful only with gdebi.(or via terminal with dpkg but this is more complicated for new users :-) )

Step 11: 
Install DraftSight. Normally you will not take any error messages.

Step 12:
DraftSight still needs some extra software in order to run. So install with Ubuntu Software Center or Synaptic ia32-libs  and libdirectfb-extra.

Enjoy DraftSight on Ubuntu 12.04 LTS 64bit!
ecco anche il link
Per chi non sa l'inglese ho già seguito io tutte le procedure e basta installare il .deb con gdebi.il file lo trovate qui
Spero di esservi stato utile.. :D
A presto :ciao:

Re: Draftsight ubuntu 12.04 LTS 64 bit senza problemi

Inviato: sabato 8 settembre 2012, 14:17
da z_owl
http://forum.ubuntu-it.org/viewtopic.ph ... 9#p3789749
Step 5:
Now you must be careful! You have to delete from the list of dependencies libdirectfb-extra. Simply select with the mouse: "libdirectfb-extra (>=1.2.7-2)" the space before it and the comma after it in order to keep the correct syntax (see the screenshot below). Save the file and close gedit.
Falso, Draftsight richiede comunque quella dipendenza e deve essere installata nella versione 32 bit, infatti bisogna installare "ia32-libs"
Step 10:
Right click on your modified draftsight.deb file and select "Open with Gdebi Package Installer". If you don't have gdebi already installed, install it because DraftSight's installation is successful only with gdebi.(or via terminal with dpkg but this is more complicated for new users :-) )
Visto che comunque più di un passaggio lo faccio da terminale che senso ha installare applicazioni inutili?
Step 12:
DraftSight still needs some extra software in order to run. So install with Ubuntu Software Center or Synaptic ia32-libs and libdirectfb-extra.
Come volevasi dimostrare: le dipendenze servono...

Perché complicarsi la vita installando prima il software e poi le dipendenze?

Re: Draftsight ubuntu 12.04 LTS 64 bit senza problemi

Inviato: domenica 16 settembre 2012, 15:44
da m3nhir
avevo provato ad installare draftsight sulla mia 12.04 usando il comando

Codice: Seleziona tutto

sudo dpkg -i --force-architecture draftsight.deb
ma mi dava quell'errore sulla libreria anche se era già installata. Tutte le altre menzionate prima lo sono già.
seguendo la procedura e cancellando dalla lista la libreria segnalata come mancante (ma installata correttamente)
l'installazione è ok. ;D

Re: Draftsight ubuntu 12.04 LTS 64 bit senza problemi

Inviato: domenica 16 settembre 2012, 20:57
da z_owl
Ok, appena posso provo in un sistema pulito...

Re: Draftsight ubuntu 12.04 LTS 64 bit senza problemi

Inviato: domenica 8 giugno 2014, 13:43
da gpgiuit
mi dice impossibile istallare libgl1-mesa-glx:i386
ho ubuntu 12.04 lts e un sistema 64 bit
ho anche provato a installare l'ultima versione di draftsight ma non va

mi aiutate? E' per lavoro :(