Sketchup on Linux: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
=Debian=
=Debian=
==Installation==
==Installation==
===Install latest wine===
Enable contrib repos.


We saw above that the debian repositories provide an outdated version of wine. The latest version can be installed from the wine website.
===Install PlayOnLinux===


To install the latest version of wine download the deb packages from the following url
   # apt-get install playonlinux
http://dev.carbon-project.org/debian/wine-unstable/
 
Download the correct packages from the amd64 or x86 category depending on your system architecture.
 
Next we shall install gdebi which can be used to install the deb packages. The dpkg command can also be used to install the deb packages, but it does not install the dependencies automatically. gdebi does this.
 
   # apt-get install gdebi
 
Now, we shall use gdebi to install all the deb files downloaded in the previous step. However first we need to install a few additional packages.
 
  # aptitude install libc6-dev-i386 oss-compat lib32z1
  # aptitude install libc6-i386
  # aptitude install ia32-libs
 
Now install wine debs.
 
  # gdebi libwine-*
  # gdebi wine-*
 
So now wine should be installed properly. Check the version to confirm
 
  # wine --version
  wine-1.5.5
 
Note that if you installed wine from debian repositories previously, then you need to remove it first.
 
  # aptitude remove libwine-bin:i386
 
Now launch the wine configuration window like before. It would prompt you to download gecko. Click OK to download gecko. This is used to render webpages in the applications.
 
Next, when launching wine applications it would show a message like this
 
It appears that libnss-mdns is installed on your system,
but lib32nss-mdns is not. Please note that Wine will not be
able to access the Internet unless you either install
lib32nss-mdns (or ia32-libnss-mdns), or uninstall libnss-mdns.
 
Fix this by installing the necessary packages.
 
  # aptitude install lib32nss-mdns
 
Now wine applications should start without any notice or messages.
 
After doing all the above, if you encounter dependency errors, then try using the following command
 
  # apt-get install -f
 
It installs the necessary packages from broken packages and attempts to fix broken dependency errors.
Now you should have wine installed properly on your Debian machine.


Launch it and choose to install Google Sketchup


===Install Sketchup Make 2013===
*Download "SketchUp Make 2013" (free version): http://www.sketchup.com/download/all
*Download "SketchUp Make 2013" (free version): http://www.sketchup.com/download/all
*Install from sketchup executable for windows by right clicking on the .exe and selecting 'Wine Windows Program Loader'
*Install from sketchup executable for windows by right clicking on the .exe and selecting 'Wine Windows Program Loader'
Line 71: Line 24:


==Further Information==
==Further Information==
* [https://www.shapeways.com/tutorials/sketchup_3d_printing_export_to_stl_tutorial SketchUp STL export tutorial]
* [https://www.sculpteo.com/en/tutorial/prepare-your-model-3d-printing-sketchup/ SketchUp STL export tutorial]
* [http://sketchupdate.blogspot.de/2013/01/stls-for-3d-printing-in-and-out-of.html STL's for 3D printing: in-and-out of SketchUp in two clicks]
* [http://sketchupdate.blogspot.de/2013/01/stls-for-3d-printing-in-and-out-of.html STL's for 3D printing: in-and-out of SketchUp in two clicks]
* [http://www.binarytides.com/install-wine-debian-wheezy/ Installing latest copy of Wine]

Latest revision as of 18:17, 18 June 2018

Debian

Installation

Enable contrib repos.

Install PlayOnLinux

  # apt-get install playonlinux

Launch it and choose to install Google Sketchup

Install Sketchup Make 2013

  • Download "SketchUp Make 2013" (free version): http://www.sketchup.com/download/all
  • Install from sketchup executable for windows by right clicking on the .exe and selecting 'Wine Windows Program Loader'
  • You will most likely get the "SketchUp was unable to initalize OpenGL" message the first time you try to run sketchup, download File:Force sketchup hw accel.reg to your home directory and install by launching a terminal and typing
 wine regedit /s force_sketchup_hw_accel.reg

Troubleshooting

If you have trouble installing or running SketchUp on Wine, you might try using these registry settings files to correct the problem. To use one, just download it into your home directory, launch a terminal and type

 wine regedit /s filename

where filename is the name of the registry file.

  • "SketchUp was unable to initalize OpenGL": If you see this error, download File:Force sketchup hw accel.reg
  • SketchUp crashes on start with no error message: Force off the "Welcome to SketchUp" dialog with File:Disable welcome.reg
  • SketchUp crashes on or shortly after startup; either the main window is displayed, or you have already disabled the Welcome screen: Force off the "Snappy Instructor" dialog with File:Disable instructor.reg

Further Information