Skip to content

Instantly share code, notes, and snippets.

@perenecabuto
Last active August 29, 2015 14:21
Show Gist options
  • Save perenecabuto/8002eccae9106e9ff809 to your computer and use it in GitHub Desktop.
Save perenecabuto/8002eccae9106e9ff809 to your computer and use it in GitHub Desktop.
Install-sketchup-debian.sh
#!/bin/bash
# http://ubuntuhandbook.org/index.php/2014/06/install-google-sketchup-ubuntu1404/
# http://help.sketchup.com/en/article/115548
# http://dl.trimble.com/sketchup/SketchUpMake-en.exe
# http://tech.gaeatimes.com/index.php/archive/how-to-make-wine-apps-match-your-gtk-theme/
INSTALL_FILE=/tmp/SketchUpMake-en.exe
DOWNLOAD_URL=http://dl.trimble.com/sketchup/SketchUpMake-en.exe
wget -c $DOWNLOAD_URL -O $INSTALL_FILE
sudo apt-get update
sudo aptitude install wine wine32 winetricks
export WINEARCH=win32
winetricks dotnet40
winetricks gdiplus
winetricks comctl32
winecfg
wine $INSTALL_FILE
[Desktop Entry]
Name=SketchUp 2015
Exec=env WINEPREFIX="$HOME/.wine" wine C:\\\\Program\\ Files\\\\SketchUp\\\\SketchUp\\ 2015\\\\SketchUp.exe
Type=Application
StartupNotify=true
Icon=9C49_SketchUp.0
Comment=
Path=
Terminal=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment