LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-29-2019, 10:36 PM   #1
jchap1590
LQ Newbie
 
Registered: Aug 2019
Posts: 16

Rep: Reputation: Disabled
running AutoCAD and/or macOS applications on Linux


I searched the forum before creating this thread and found a couple previous threads pertaining to CAD programs for Linux (Any decent CAD programs for Linux? and CAD program for Ubuntu on Linux Mint),
but nothing specifically came up about AutoCAD in particular. Through reading those 2 threads, I learned of FreeCAD and LibreCAD, but neither seems to suit my needs.

I'm a current AutoCAD for Windows user and I'm growing to hate Windows 10 more and more by the day, which brings me to Linux.

My requirements are very basic:
  • 2D (preferably non-parametric) design
  • must be able to open, edit, and save to .dwg file format
the main issues are that
  1. I am working remotely for a company which primarily using AutoCAD and am exchanging files so working exclusively with DWGs is therefore paramount
  2. opening a DWG in AutoCAD that was last saved by any application other than AutoCAD will return an error stating "the file is not a TrustedDWG"
  3. AutoCAD for Windows is heavily dependent on .NET framework
issues #1&2 rule out FreeCAD, which is compatible with AutoDesk DXF format (close, but still a no-go). and I don't see any documentation on what file formats LibreCAD works with, but issue #2 rules it out regardless.

basically, the only 2 options I'm aware of are to run AutoCAD from within a Windows VM or to figure out how to run AutoCAD for Mac on Linux if at all possible.
because I'm trying to migrate to Linux in order to get away from Windows, running a VM would be illogical so that really leaves me with only one option. perhaps one day AutoDesk will transition AutoCAD to rely on .NET Core instead,
but for now I simply ask 'how can I run a MacOS application on Linux?' - a subject which near as I can tell has not been broached on this forum so at a minimum this thread is being created to open a dialogue.

Last edited by jchap1590; 08-29-2019 at 10:44 PM.
 
Old 08-30-2019, 02:15 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
There is a project called darling which basically is an emulation layer but it is just beginning to be able to run GUI programs. As far as I know autocad does not work using wine unless you are running a really old version but I have not checked its database lately.

Running Windows is probably your only option at the moment.
 
Old 08-30-2019, 05:51 AM   #3
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by michaelk View Post
Running Windows is probably your only option at the moment.
And running that in a well-protected VM would be my advice.
 
1 members found this post helpful.
Old 08-30-2019, 06:22 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
The only thing I know about AutoCAD is a signature from a fellow internet dweller:
Quote:
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
They post almost daily, but haven't changed that signature in ~10 years.
 
Old 08-30-2019, 02:45 PM   #5
jchap1590
LQ Newbie
 
Registered: Aug 2019
Posts: 16

Original Poster
Rep: Reputation: Disabled
So there's no chance of running the Mac version on Linux, or even on something like FreeBSD? I understand that Unix and Unix-like OS's are probably beyond the scope of this forum

Last edited by jchap1590; 08-30-2019 at 02:55 PM.
 
Old 08-30-2019, 03:08 PM   #6
jchap1590
LQ Newbie
 
Registered: Aug 2019
Posts: 16

Original Poster
Rep: Reputation: Disabled
I found out that FreeCAD does support DWG import/export via ODA File Converter.
I'm trying to test it out on Windows right now, but I don't understand the UI of FreeCAD.. there are no drawing tools in the ribbon or menus.
it also doesn't appear to have command-line input. in AutoCAD, for example, I just have to type L and press enter to start the line command

Click image for larger version

Name:	FreeCAD.PNG
Views:	64
Size:	53.3 KB
ID:	31249

Click image for larger version

Name:	ODA File Converter.PNG
Views:	44
Size:	20.0 KB
ID:	31250
 
Old 08-30-2019, 03:11 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
No, MacOS uses the Mach-0 executable file format but linux and FreeBSD use ELF. Basically you need an emulator to convert the system calls from one OS to the other. Someone is developing an emulator called darling as posted but it isn't ready for prime time While it appears that CLI programs run but GUIs are not there yet.
 
Old 08-30-2019, 04:50 PM   #9
jchap1590
LQ Newbie
 
Registered: Aug 2019
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
Which version of autocad?
2020.
Quote:
What works:
Installer, but it doens't install AutoCAD Core.

What does not work:
Installing AutoCAD.
Even running from a Windows instalation don't work, shows "Problem reading acadres.dll resource file"
also,
Quote:
Latest Rating: Garbage
lol
 
Old 08-30-2019, 04:55 PM   #10
jchap1590
LQ Newbie
 
Registered: Aug 2019
Posts: 16

Original Poster
Rep: Reputation: Disabled
I'm going to test DraftSight 2019 for Fedora on Fedora 30 Workstation

and I'll also test DraftSight for Windows on Debian 10 with WINE
my problem with this is DraftSight is $199/year for the version I would want and I already have a license for AutoCAD 2020, which is $1600USD/year per PC

Last edited by jchap1590; 08-30-2019 at 05:02 PM.
 
Old 08-30-2019, 05:16 PM   #11
jchap1590
LQ Newbie
 
Registered: Aug 2019
Posts: 16

Original Poster
Rep: Reputation: Disabled
well, even just testing out opening DWGs saved by DraftSight with AutoCAD 2020 has proved problematic

Click image for larger version

Name:	DraftSight 2019 for Windows_DWG test.PNG
Views:	49
Size:	98.0 KB
ID:	31251

the problem is not that I can't open DraftSight-create DWGs in AutoCAD, but that the "Foreign DWG File" message appears and it's unacceptable for me to send clients files resulting in such

Last edited by jchap1590; 08-30-2019 at 05:19 PM.
 
Old 08-30-2019, 05:36 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
I guess Autodesk now embeds something in the file the other programs haven't figured out yet. Maybe wite to the authors of Freedesk and the others to see if they are willing to "fix" the problem.
 
Old 08-30-2019, 05:41 PM   #13
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
I'd think that the tricks to getting some Adobe products on wine should work with autocad but why bother. There are some programs out there that are windows and simply better than any linux alternative. I've never used a Mac but I'd think that someone out there uses some Mac program and happy with it.

However, this page may have a few other choices to look at. https://all3dp.com/1/free-autocad-viewers/
 
Old 08-30-2019, 06:00 PM   #14
jchap1590
LQ Newbie
 
Registered: Aug 2019
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
I guess Autodesk now embeds something in the file the other programs haven't figured out yet. Maybe wite to the authors of Freedesk and the others to see if they are willing to "fix" the problem.
It has been for some time, apparently. DWG Support in Freemium and Free Software

Basically, AutoCAD is (or at least was) the gold standard of CAD from the very beginning of CAD itself. AutoDesk knows this and so they've basically got the CAD community, or at least the DWG file format, by the balls and have licensed use of DWGs in a way which essentially makes it propietary.
 
Old 08-30-2019, 06:07 PM   #15
jchap1590
LQ Newbie
 
Registered: Aug 2019
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
I'd think that the tricks to getting some Adobe products on wine should work with autocad
Why would that be? AutoCAD is developed by AutoDesk, not Adobe

Quote:
Originally Posted by jefro View Post
However, this page may have a few other choices to look at. https://all3dp.com/1/free-autocad-viewers/
I need a drafting and design program, not just a viewer
 
  


Reply

Tags
autocad, macos



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 15 open source applications for MacOS LXer Syndicated Linux News 0 07-10-2018 08:10 AM
LXer: Linux Foundation Head Calls 2017 ‘Year of the Linux Desktop’…. While Running Apple’s macOS Himself LXer Syndicated Linux News 0 09-14-2017 03:33 AM
Need to open a ".dwg" autocad file. What autocad programs are available for U8.04? patrickgpg Linux - Software 2 07-16-2009 07:26 AM
AutoCAD and 3d MAX in Linux torille Linux - Software 4 01-13-2009 11:14 AM
Run MacOS X applications under Linux martinkunev Linux - General 5 10-22-2007 12:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration