Author Topic: Open and Edit DWG files in 32bit and 64bit Linux with DraftSight  (Read 8769 times)

0 Members and 1 Guest are viewing this topic.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8877
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Ever wanted to open and edit .DWG files in Linux... I've just come across DraftSight:
http://www.3ds.com/products/draftsight/free-cad-software

Free* CAD Software, that has a Linux edition :)
(*Standalone license. Activation required.)

The only issue I had was that it is 32bit ONLY (at least the .deb version is)... the good news, it CAN be installed in 64bit Ubuntu/Mint and no doubt Debian.

Ubuntu 64bit installation instructions -

Download the DraftSight.deb file from here:
http://www.3ds.com/products/draftsight/download-draftsight/
and place it in your home directory.

First you'llneed a few packages installing, so open a terminal and enter:
Code: [Select]
sudo apt-get install ia32-libs libdirectfb-extra libxcb-render-util0 libaudio2
then cd to your home directory:
Code: [Select]
cd ~
then try a forced install:
Code: [Select]
sudo dpkg -i --force-architecture DraftSight.deb
Now test the application...

In GNOME 2.x it'll be in the Applications>Graphics menu.
In Unity, search the Applications lens for DraftSight.

If you get errors whils installing, as I did...

Create a temporary directory in you home directory called tempds
Code: [Select]
mkdir ~/tempds
move the DraftSight.deb into it:
Code: [Select]
mv ~/DraftSight.deb ~/tempds/DraftSight.deb
cd into the tempds directory:
Code: [Select]
cd ~/tempds
and extract the DraftSight.deb contents:
Code: [Select]
dpkg-deb -x DraftSight.deb ~/tempds && dpkg-deb -e DraftSight.deb ~/tempds/DEBIAN

Now you need to copy the ~/tempds/opt/dassault-systemes directory to /opt :
Code: [Select]
sudo cp -r ~/tempds/opt/dassault-systemes /opt
and the ~/tempds/var/opt directory to /var :
Code: [Select]
sudo cp -r ~/tempds/var/opt /var

Now cd onto the ~/tempds/DEBIAN directory:
Code: [Select]
cd ~/tempds/DEBIAN

And run these final 2 commands to finish the install:
Code: [Select]
sudo ./preinst
and
Code: [Select]
sudo ./postinst

That's it, you're done... test the application works, if it does you can safely delete the tempds directory.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1648
  • Karma: 48
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Open and Edit DWG files in 32bit and 64bit Linux with DraftSight
« Reply #1 on: August 17, 2011, 12:22:33 am »
This will be very useful for mocking up some plans of mine! I used to use CAD a lot on windows. Thanking you muchly Mark!
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8877
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Open and Edit DWG files in 32bit and 64bit Linux with DraftSight
« Reply #2 on: August 17, 2011, 12:28:43 am »
As you're running the 32bit version of Ubuntu (I think), just download the DraftSight.deb and double-click to install :)

You only have to do the above for 64bit Ubuntu/Mint/Debian.
« Last Edit: August 17, 2011, 12:45:18 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline donwatson

  • Full Member
  • ***
  • Posts: 131
  • Karma: 5
  • Gender: Male
  • I've just joined!
    • View Profile
    • Awards
Re: Open and Edit DWG files in 32bit and 64bit Linux with DraftSight
« Reply #3 on: November 21, 2012, 11:30:20 am »
Hi Mark,
I have just found this and it looks as if it could be useful to me.
I am running Peppermint 3 will I be able to 'just download the DraftSight.deb and double-click to install :)'

take care
Don W
I use Solidworks eDrawings to view .EASM files.
Dassault Systemes Corporation seem to be the head honcho in a group that includes Solidworks, 3ds and DraftSight ?
« Last Edit: November 21, 2012, 11:50:15 am by donwatson »
AMD Athlon (tm) 64 Processor 3000+
1.80 Ghz   1.00Gb of RAM
NVIDIA GeForce 6200 display adaptor
Linux Peppermint 3

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8877
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Open and Edit DWG files in 32bit and 64bit Linux with DraftSight
« Reply #4 on: November 21, 2012, 01:05:20 pm »
If you have Peppermint 32bit .. then quite probably it will just install if you get the .deb

If  you have Peppermint 64bit .. then you'll probably have to follow the instructions above.

But any problems, give me a shout.

If you're not sure if you have 32bit or 64bit .. post the output from:
Code: [Select]
uname -a
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline donwatson

  • Full Member
  • ***
  • Posts: 131
  • Karma: 5
  • Gender: Male
  • I've just joined!
    • View Profile
    • Awards
Re: Open and Edit DWG files in 32bit and 64bit Linux with DraftSight
« Reply #5 on: November 22, 2012, 03:19:07 pm »
Hi Mark,
Here is the output you asked for

Linux ldwatson 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:41:14 UTC 2012 i686 athlon i386 GNU/Linux

Hope this helps

take care
Don W
AMD Athlon (tm) 64 Processor 3000+
1.80 Ghz   1.00Gb of RAM
NVIDIA GeForce 6200 display adaptor
Linux Peppermint 3

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8877
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Open and Edit DWG files in 32bit and 64bit Linux with DraftSight
« Reply #6 on: November 22, 2012, 03:34:31 pm »
Yup, you're running 32bit .. so DraftSight *should* just install and work :)
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline donwatson

  • Full Member
  • ***
  • Posts: 131
  • Karma: 5
  • Gender: Male
  • I've just joined!
    • View Profile
    • Awards
Re: Open and Edit DWG files in 32bit and 64bit Linux with DraftSight
« Reply #7 on: November 22, 2012, 09:34:54 pm »
Thanks Mark,
It is running ok, but will take a while to get used to.
The programme seems to insist on using Imperial measurement every time I start up, while I insist on using Metric.
I will have a read through the Help File and see what I can do.

take care
Don W
PS I am having problems with VLC now so I will find a Forum that suits.

take care
Don W
AMD Athlon (tm) 64 Processor 3000+
1.80 Ghz   1.00Gb of RAM
NVIDIA GeForce 6200 display adaptor
Linux Peppermint 3

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal