Saturday, January 9, 2021

How to Install Sketchup 2017 Make in Linux

Bottom Line Up Front:  This post provides a how-to install SketchUp Make 2017 in Linux using Wine.  The result is fully function with everything I tested, including the "sketchup-webhelper.exe" program.  Installation is time consuming, but woth it. 



Background:  Recently, due to COVID, I have found myself down the YouTube rabbit hole and interested in traditional hand-tool woodworking.  It is interesting.  A common tool people use is Sketchup to create to scale 3-d models for their projects.  I was disappointed to learn that it does not have a Linux version and there is no TRUE alternative to Sketchup in Linux.  I tried an alternative first then gave up and tried sketchup after a quick YouTube tutorial to get me over the short learning curve for basic usage.  I decided that Sketchup was fantastic and worth using.

The options I had were:

1.  Use a different program.  The closest native program was FreeCAD; however, the learning curve is quite steep.  I already said it was not intuitive for me.  It does have some features that Sketchup doesn't; however, I will return to learn it if/when I need that capability.

2.  Boot into Windows to install / run there.  That is OK, but my primary useage and programs are in Linux, so it is a bit inconvenient to do that.  Still, my dual boot session does have it installed.

3.  The Web version of SketchUp worked fine; however, once the trial period expires, the functionality is more limited than the SketchUp Make 2017 free version.  I also did not see myself using Sketchup enough to justify a subscription.

4.  Try using WINE to install and run SketchUp Make 2017.  WINE works and I do keep it installed on my computer.  Heck, I use it for some of my older windows programs and games but not everything works flawlessly in Wine.  For that reason, I try to stick with native Linux software.  

Given the choices I had, I opted to try WINE.  The project keeps improving and getting better all the time and programs that used to fail suddenly start working sometimes.  

My initial search for using Sketchup Make under Wine looked promising.  Some posts said it was garbage (people to try the standard install and quit if the installation software fails).  Some posts said it installed but some items didn't work.  I did fine one that  said it worked flawlessly.  I set out to install SketchUp Make 2017 and it was a tough start.  I had errors from the start trying to get it installed and I spent hours upon hours between my primary computer and a second computer.  I was successful and everything works in my installation with minor exceptions.  Here is a screen shot of Sketchup in Linux running with the 3D Warehouse and Plugin Warehouse visibly running.



This BLOG post is to share my success installing the program in an effort to make it less tedious for you, as it is a tedious process to begin with.  I did post my results at WINEhq.org; however, it won't be long before my notes are hidden and people don't look at my post.  Hopefully Google will pick this post up in their search engine.

When finished, what works?:

Everything I have tested.  That includes the SketchUp Warehouse part of the program ( sketchup-webhelper.exe ). .  A quick list of most items I have tested: 

  • Installation
  • Drawing Tools
  • Plug-ins (Most... although the plugin from Sketucation website did not work... but plugins from there were downloaded and installed (Fredo6 series primarily).
  • Opening
  • Saving
  • Editing
Installation:

Up front, this process takes a while, but it is worth it.  If you try and run the installation file, it will fail on its own.  It took me well over 8 hours and a few different attempts to get a near-flawless installation for the software.  The following steps should work.  I am using Ubuntu Linux 20.04 LTS and my instructions are based on that.  If you are using a different distribution your packages may be named different.

1.  Preparation:

Before you install anything, I recommend you head over to www.sketchup.com and click login.  Create a Tremble account.  That is necessary because Sketchup Make 2017 no longer supports other password validation options. 


Getting started you should have installed Winetricks and Wine (32 & 64 bit versions).  The specific software versions I used for your reference.  These were all installed from my default Linux repository.

- Linux:  Ubuntu 20.04 LTS

- Wine 5.0.3 (from repository)

- Wine Tricks:  0.0+20200412-1 (from repository)

*  For your information, my initial attempt was using "Play On Linux."  Play on Linux did not work easily and when I did get it installed using Play on Linux, the installation had issues as many other reports indicated.

NOTE:  

For a couple steps, WineTricks did not re-open so you may need to 'restart' WineTricks... but give it a little while as some steps run in background take a few minutes.

You will get a lot of warnings because it is a 64 bit arch... but those are OK.  WineTricks is just telling you (excessively) that things may not work as expected in 64-bit software.

NOTE
Received suggestion for command line options to get through this step from "Ian". I am adding this here, for those who would prefer to do it via the CLI. This will cover from Step 2 through the end of Step 6. I have not tried it myself, but I will do if/when I need to reinstall.  

Ian said: "I found I was able to use the command line to issue many of the install commands, which made it easy to restart winetricks on each step, and saved me a lot of dialog clicking."

winetricks prefix=SketchupMake2017 arch=64 &&
winetricks prefix=SketchupMake2017 corefonts &&
winetricks prefix=SketchupMake2017 tahoma &&
winetricks prefix=SketchupMake2017 riched30 &&
winetricks prefix=SketchupMake2017 richtx32 &&
winetricks prefix=SketchupMake2017 vcrun2015 &&
winetricks prefix=SketchupMake2017 dotnet46 


2.  Run WineTricks


3.  Create new Prefix.  Select "Create new wineprefix".  Select architecture 64 and give it a name.  I used "Sketchup2017" but it doesn't really mater.  After you create a prifix, it will be added to the intial Winetricks menu as a option to select as a prefix. You will need to remember that to ensure you select the correct prefix for winetrick if it needs restarted or you need to modify something in the future.  WineTricks should now have the prefix in the windows title bar.   

4. Open Winecfg:  

4.1.  Ensure Wine prefix is set for Windows 7.  



4.2   (OPTIONAL)  Setup a drive for your download folder in your Linux profile.  This will save you a lot of directory navigation later.  Below is my example where I setup my E: drive.  Select Ok and the window will close with Winetricks reappearing.



5.  Install Fonts:  Confirm your prefix (listed in the titlebar).   Select in Wintetricks: "Install a font".  Select "corefonts" and "Tahoma2" and install.  

6.  Install Key Components and Programs.

6.1  riched3.0:  Select in Winetricks: "Install a Windows DLL or component"  Install the following (One at time!) Select riched3.0 from list.  Winetricks my crash, but give it time.  

6.2 richtx32:  Restart winetricks & select your prefix (will be near bottom of list).  Select "install windows dll.:  Select richtx32  (This also fails in script.  Can't tell if they installed or not, as both ended with error of can't find a ocx file... or something to that effect)

6.3  vcrun2015:   Restart winetricks & select your prefix. Select "install windows dll".  Choose  vcrun2015 and install.  The second of the  popups should message you, "Working around wine bug 37781."   That is a good sign.  Don't be alarmed by other messages... you should shortly see a MS installation window.  There are two separate installations, so let the process work out.

6.4  dotnet46:  Restart winetricks and select your prefix if necessary.  Select "install windows dll."  Select and install  dotnet46  (This is a cumulative install so it includes the previous version 4.5.2).  You will see  LOTS OF WARNING MESSAGES....  Keep going.  you will eventually see an extraction and running of dotNet installer.  After it finishes, another file extraction and install should start.   

This next install one will start with a warning that MSInstaller not installed.... but keep going.  They take a while and it appears to hang... but it will finish.  

Do NOT select reboot after installation.  The next thing will be a message indicating winetricks is doing a work-around in progress.   Another running of .NET install preceded by MS warning.  It too will finish.. but it takes a bit.   

DO NOT select reboot now... do it later

6.5  Verify Prefix Settings:  From WineTricks, select "run winecfg" and verify that the default settings are still Windows 7.  If a previous step didn't successful complete, a step may have left it set for XP.  If that is the case, you may want to run through the installation again of vcrun and dotnet.

7. Install Sketchup:  From the Winetricks window, verify the prefix (titlebar) and it is still your sketchup wineprefix.  Then select "run explorer" from the menu options.


7.1  Initially winetricks will re-open followed shortly by the old "Windows File Explorer". Navigate to your downloaded version of Sketchup2107 and run the installation file.  

If you didn't create a drive earlier, you will have to navigate down through the tree to find your file.  The Root partition is listed in explorer with the "/" next to folder.  Clicking the "/" will bring up your computer root directly and you can navigate to where you have stored your download.


7.3  Sketchup Installation Prompts:   

7.3.1.  When prompted to install a prerquisite for Vistual C, say yes... it should only take a moment and then you are into the Sketcup Installation.  

7.3.2.  Installation Location:  I selected the default installation location.  Quickest and easiest.  

7.4.  Linux Desktop:  After the installation completes, you should now see six new icons on your desktop.  Three of these are .lnk (link) files.  You can delete these as they are windows shortcuts.  In Ubuntu Gnome, there are also .desktop versions.  In order to run Sketchup from these icons, you will need to right click each of them and select from the context menu the option to give permission to run to launch the program.

7.5.  Sketchup  

Start Sketchup and enjoy.  

NOTE:  If after installing everything in the above manner, you find that you still have problems with the Warehouse or other plug-ins that use web interfaces, you should try launching from the command line using the following, and if it works for you, modify the Sketchup.desktop file to make it permanent.  Please note, that you will need to ensure that the highlighted parts need to be updated to match your profile and wineprefix name.  Shout out to "uberlinuxguy" (comment below) for this tip, as it sounds like it has helped some people.  I haven not needed to try it yet. 


WINEPREFIX="/home/<USER>/.local/share/wineprefixes/Sketchup2017" WINEDLLOVERRIDES="libglesv2=d" wine C:\\Program\ Files\\SketchUp\\SketchUp\ 2017\\SketchUp.exe


NOTE:  You will need to get a login to the company cause they no longer support using your google ID to login with the warehouse, etc...  

8.  Post Installation Considerations:

8.1  Free Version:  You will initially have a 30-day trial of pro features.  Once those expire, you will still have everything the web version has plus object explorer.  One key feature you will loose is the Solid Tools feature.  While I have not tried at present, my recourse to that feature will be through plug-ins.  There are quite a few free ones out there and there is also a very capable solid tools plugin that is perfect if you aren't intending to do a subscription.  You can purchase a plugin for Solid Tools from Mind Sight Studios.  Their plug-in is called Booltools.  $20 for lifetime.  I have good expectations for this plugin to work.  A link is here (NOT AFFILIATE)  Bool Tools 2 (Mindsight Studios)

8.2  You may also consider using a menu editor to modify the default .desktop files to add them to other groups in your menu system such as Graphics or Office.


If you find this helpful and are needing a VPN, please consider signing up through my referral link with Torguard.  You can get 50% Off for LIFE if you use code:  LinuxFollies50



43 comments:

  1. Great, thanks very much, I tried and it works!!!

    ReplyDelete
  2. thanks. worked for me.

    ReplyDelete
  3. if someone stumbles upon this, I did everything listed but still had issues with any of the components that used webpages. (ie. 3d Warehouse, Extension Warehouse) After much googling, I found out that you need to add this to the environment you are launching Sketchup in

    WINEDLLOVERRIDES="libglesv2=d"

    This disables libglesv2. Fixes the blank Warehouse pages.

    ReplyDelete
    Replies
    1. Thanks for this tip, it solved my problem perfectly on blank warehouse pages.

      Delete
    2. I am very curious, as I did not do that; however, I do have access to the 3d Warehouse and Extension Warehouse.

      Delete
    3. I did update the post with your tip. Thank you.

      Delete
  4. Excellent How-To on installing Sketchup under Wine. I have Wine 6.0, and now have SU running.

    I also needed the tip from @uberlinuxguy, and modified the Sketchup.desktop file to include the command line:
    env WINEPREFIX="/home//.local/share/wineprefixes/Sketchup2017" WINEDLLOVERRIDES="libglesv2=d" wine C:\\Program\ Files\\SketchUp\\SketchUp\ 2017\\SketchUp.exe

    Now my remaining issue is with Sketchucation. The ExtensionStore 4.0.0 window opens, but using my login credentials for Trimble results in this error message: "Some error occured please contact the administrator at sketcucation.com"
    Does anyone have ideas on how to solve this error?

    ReplyDelete
    Replies
    1. correcting this to include my username (you need to change to your username) in the WINEPREFIX:
      WINEPREFIX="/home/patrick/.local/share/wineprefixes/Sketchup2017" WINEDLLOVERRIDES="libglesv2=d" wine C:\\Program\ Files\\SketchUp\\SketchUp\ 2017\\SketchUp.exe

      Delete
    2. Thank you for your feedback. I am glad it was helpful. As for Sketchucation, I just download without using their plug-in and I have been able to install plugins, textures, etc

      Delete
  5. Thank you for this amazing write-up. Everything went smooth, 100%, no errors, even the Extension Warehouse works without any of the additional settings.
    Any idea how to get the "Export to STL" plugin working, it is just a blank, where you must make some selections.
    Here is also a cool trick to avoid the Sketchup welcome page, it also works with 2017 perfect ;)
    http://www.edugeek.net/forums/educational-software/169465-disable-sketchup-2016-welcome-screen.html

    See post #8.

    ReplyDelete
    Replies
    1. I do not have experience with the Export to STL plugin.

      Thank you for the additional tip!

      Delete
    2. same issue for me, the export STL plugin is blank. I'm guessing it needs another font installed but how to tell which one??

      Delete
  6. Excellent tutorial and worked for me the first try. All windows load correctly and already designed a couple of tables!

    ReplyDelete
    Replies
    1. Thank you. It appears to be helping people. I wrote this because what I found on the net didn't help me. I like it when I find something that is accurate and works. I tried to produce the same here because I saw a gap that needed filled. Thanks for the feedback!

      Delete
  7. Thank you for this! I had given up after several failed attempts using other instructions. You convinced me to give it another try and now I have Sketchup running!

    I found I was able to use the command line to issue many of the install commands, which made it easy to restart winetricks on each step, and saved me a lot of dialog clicking. This will get you through step 6:

    winetricks prefix=SketchupMake2017 arch=64 &&
    winetricks prefix=SketchupMake2017 corefonts &&
    winetricks prefix=SketchupMake2017 tahoma &&
    winetricks prefix=SketchupMake2017 riched30 &&
    winetricks prefix=SketchupMake2017 richtx32 &&
    winetricks prefix=SketchupMake2017 vcrun2015 &&
    winetricks prefix=SketchupMake2017 dotnet46

    ReplyDelete
    Replies
    1. Ian, Thanks much. I have updated the post with your comments.

      Delete
    2. This one liner did the trick for me and saved me hours!
      Some checkboxes / OK / continue from time to time but the rest just ran on its own. Very convenient.
      Then the Sketchup install per se went smoothly.
      Thanks a lots for this detailed HOW TO!

      Delete
    3. Your welcome for the How To and again... many thanks to Ian for the 1-Liner. Thanks for confirming it works!!!

      Delete
  8. Thank you so much ! I was planning to buy W10 just to use it.
    I have some issues with windows of some plugins which are blank.

    ReplyDelete
    Replies
    1. I really cannot help you with that issue. You can expect some plugins to not work properly.

      Delete
  9. Hi! guys, I'm trying to install booltools v2, but in the moment that appears the box screen to put a validation code, it appers just a white box! Does anyone else have the same problem? I'm using linuxmint 19.3

    ReplyDelete
    Replies
    1. I am sorry. I really cannot help with plugins. There are plugins that do not work but that would be questions for the publisher of those plugins. Sorry. Wish I could help.

      Delete
    2. Hi again! I've got a solution, I've just tried another boolean plugin and it worked. The name of it is BoolPro 1.0.13.

      Delete
  10. Thanks for this detailed write up. After 2 or 3 failed attempts of installing Sketchup 2017 Make on Ubuntu 20.04, this write up guided me through to success.

    ReplyDelete
    Replies
    1. Doug, thank you for the feedback. I am glad it has helped! :) Happy Linuxing.

      Delete
  11. Thanks so much for the help. I too had tried a few times to get SU to work on Linux. Your instructions are spot on. Worked the first time. Do you happen to know how to change the size of the font used for everything on SU2017 when running in Linux? Thanks.

    ReplyDelete
    Replies
    1. If anyone has a better solution that would be great. Though I didn't want to I changed my screen resolution to take care of the problem for now. Thanks.

      Delete
  12. Thank you sooo much for this!
    This was the one thing that kept me dual booting. Now I can use Linux all day long.

    ReplyDelete
  13. Solved. After the aborted install at "dotnet46" step, I checked the wineconfig I created for Sketchup 2017 and I verifyed that the aborted installation had set the windows XP environment. I changed to windows 7, saved it and resumed the install from "dotnet46" point. I gave up with Sketchup17 and wine months ago. It's important to have a 2017 version running, since it can manage as local files models esported by the web version. Soooo many thanks

    ReplyDelete
    Replies
    1. I am glad you saw the remark that it worked! That happens some time. :)

      Delete
  14. Please help out:
    I've run "ian's batch file".
    The first echo line states:
    Executing mkdir -p /home/ibe/.local/share/wineprefixes
    Using winetricks 20200412 - sha256sum: 7651c93e39fcb080483c38836513bf912273a87ea97d137f6b958ed3d9628c3d with wine-5.0 (Ubuntu 5.0-3ubuntu1) and WINEARCH=win32

    Then (in step 7) on the sketchup install step yields this error:
    Prerequisite check for system component Microsoft Windows failed with the following error message:
    "You're trying to install the 64-bit version of SketchUp on a version of Windows that only supports 32-bit applications.

    so that WINEARCH=win32 option from the batch file output seems a candidate for the problem.

    I'm running
    Ubuntu 20.04.4 LTS
    wine-5.0 (Ubuntu 5.0-3ubuntu1)
    winetricks 20200412
    which agrees with the author's set up.

    Any suggestions ?
    Thanks,

    ReplyDelete
    Replies
    1. Turned out I hadn't installed wine64.
      This is really good stuff.....

      Delete
    2. Hello.
      this works great but it is a long process.
      sketchup is the only reason I use wine.
      something that would be very useful would involve instructions for how to save off a wine install directory tree that included sketchup. Perhaps we could even use a tarball and have a sketchup/wine install with a very short extract script.
      This would (hopefully) avoid a new build when one switches/upgrades machines.

      Delete
  15. This comment has been removed by the author.

    ReplyDelete
  16. Hi everyone! just to inform you that, there's a brazillian youtuber that created an bundle, in appimage of the Sketchup...it's just click and run....his youtube channel is Gamelinux.

    ReplyDelete
    Replies
    1. I thing you're describing what I just asked about -
      a selfcontained SU+wine

      Delete
  17. Thank you after days on not being able to make this work... your instructions worked like a charm!!!

    Winetricks 20220411-next
    Manjaro

    ReplyDelete
  18. Thanks muchly. After a few years on the web version I tried your solution
    Brilliant. Thank you.
    Im on mint 20.3
    what i did if anyone is interested:
    I got the lasted stable from wine hq
    https://wiki.winehq.org/Ubuntu
    as well as winetricks from repos.
    I utilized Ians one liners and that saved a huge amount of time.
    I noticed that using the one liners created a profile in its own right and so it was not necessary to create a profile myself.
    Just go in after and check its on win7.
    Then installed SU as per your instructions.

    rebooted pc and it worked perfectly
    Again many thanks
    https://wiki.winehq.org/Ubuntu

    ReplyDelete
    Replies
    1. Your quite welcome. Thanks for the feedback for myself and other contributors.

      Delete
  19. Cool and I have a neat offer you: How To House Renovation best home renovation companies near me

    ReplyDelete