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

0 Members and 1 Guest are viewing this topic.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 12492
  • Karma: 306
  • 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: 1661
  • Karma: 49
  • 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: 12492
  • Karma: 306
  • 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: 199
  • Karma: 5
  • Gender: Male
  • Getting older
    • 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
Peppermint OS 4

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 12492
  • Karma: 306
  • 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: 199
  • Karma: 5
  • Gender: Male
  • Getting older
    • 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
Peppermint OS 4

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 12492
  • Karma: 306
  • 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: 199
  • Karma: 5
  • Gender: Male
  • Getting older
    • 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
Peppermint OS 4

Offline andreuebe

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Open and Edit DWG files in 32bit and 64bit Linux with DraftSight
« Reply #8 on: June 21, 2013, 03:31:21 pm »
Dear

i am trying:

andreuebe@dtic-HP-Pro-3410-Series:~/Downloads/DEBIAN$ sudo ./preinst

The terms of contract window appear, I accepted but is showed the error bellow:

access control disabled, clients can connect from any host
access control disabled, clients can connect from any host
access control disabled, clients can connect from any host
access control enabled, only authorized clients can connect
access control enabled, only authorized clients can connect
access control enabled, only authorized clients can connect
andreuebe@dtic-HP-Pro-3410-Series:~/Downloads/DEBIAN$

Anyone could help me?

Regards


Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 12492
  • Karma: 306
  • 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 #9 on: June 21, 2013, 06:40:38 pm »
Which distro/version/architecture ?

eg.
Ubuntu 12.04 64bit
WARNING: You are logged into reality as 'root'

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

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1251
  • Karma: 111
  • Gender: Male
    • View Profile
    • Awards
Re: Open and Edit DWG files in 32bit and 64bit Linux with DraftSight
« Reply #10 on: June 21, 2013, 09:24:04 pm »
Interesting. I have just installed it (using GDebi) on Debian based SolydX(XFCE) by downloading the Ubuntu version from here .
It did tell me that libdirectfb-extra need to be installed, which I did with:
Code: [Select]
sudo apt-get install libdirectfb-extra
then just clicked the install button. Entered password when prompted then watched the terminal as it installed.
Incidentally I got the same "access control enabled, only authorized clients can connect" but continued to complete the install.

I must say, that after using it for a few minutes I am very impressed with it.
I thought it might be worth to try using GDebi (if you are on a debian based distro)

Offline galaxytdm

  • Ubuntu 11.04
  • Full Member
  • ***
  • Posts: 224
  • Karma: 4
  • Gender: Male
  • Something Something dark side
    • View Profile
    • Awards
Re: Open and Edit DWG files in 32bit and 64bit Linux with DraftSight
« Reply #11 on: June 22, 2013, 10:26:40 am »
Thanx for that Mark, downloaded and installed with no problems.
Just for the record though, I have been using Qcad. I went to use it the other day and found it wasn't there (must have uninstalled it but don't remember doing it), I did find librecad though (don't remember installing that either) and that seemed to work very well indeed.
If you need help ask a professional, then act upon their advice.
Anything less and you're just wasting peoples time.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 12492
  • Karma: 306
  • 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 #12 on: June 22, 2013, 10:49:28 am »
No problem .. glad to hear the instructions still seem to work, I started this topic ages ago :)
WARNING: You are logged into reality as 'root'

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

Offline galaxytdm

  • Ubuntu 11.04
  • Full Member
  • ***
  • Posts: 224
  • Karma: 4
  • Gender: Male
  • Something Something dark side
    • View Profile
    • Awards
Re: Open and Edit DWG files in 32bit and 64bit Linux with DraftSight
« Reply #13 on: June 22, 2013, 02:02:36 pm »
Ha, so you did, I hadn't noticed that.
If you need help ask a professional, then act upon their advice.
Anything less and you're just wasting peoples time.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal