Archives For wine

Wine 3.0 Released with Direct3D 10 and 11 Support

Last updated: January 25, 2019

Wine Stable

The Wine team announced the new stable release Wine 3.0 a day ago a large number of improvements and following great changes:

  • Direct3D 10 and 11 support.
  • The Direct3D command stream.
  • The Android graphics driver.
  • Improved DirectWrite and Direct2D support.

“because of the annual release schedule, a number of features that are being worked on have been deferred to the next development cycle. This includes in particular Direct3D 12 and Vulkan support, as well as OpenGL ES support to enable Direct3D on Android.”, the Wine team announced.

For detailed changes, read the announcement.

Wine running windows app in Linux

How to Install Wine 3.0 in Ubuntu:

Wine has an official apt repository contains packages for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.10.

Wine 3.0 binary packages are in the process of being built. Once it’s published in apt repository, do following steps to install it:

1. Open terminal via Ctrl+Alt+T or by searching it from app launcher. When it opens, run command to add the repository key:

wget -nc https://dl.winehq.org/wine-builds/winehq.key && sudo apt-key add winehq.key

Type your password (no visual feedback while typing due to security reason) when it asks and hit Enter.

2. Add wine repository via command:

sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

For Linux Mint 18.x, use following command instead (replace xenial with trusty for 17.x):

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'

3. Finally check updates and install wine stable packages:

sudo apt-get update

sudo apt-get install --install-recommends winehq-stable

NOTE: If you get the unmet dependencies issue while installing Wine 3.0, try aptitude instead via command:

sudo aptitude install winehq-stable

The command tells you which packages broke the installation. This usually caused by wrong dependency versions. You can then manually fix the dependencies via Synaptic package manager.

For more details, see the official documentation.

Uninstall:

To remove wine-stable package, run command in terminal:

sudo apt-get remove --autoremove wine-stable wine-stable-amd64

To remove Wine repository, launch Software & Updates utility and navigate to Other Software tab.

Install Google Sketchup Ubuntu 14.04

I’ve posted a tutorial about how to install Google SketchUp 2013 in Ubuntu 13.04, but it seems to be outdated. So I decide to write this how-to and hope it will help those who are trying to get Google SketchUp Make 2014 working in Ubuntu 14.04 LTS through wine.

UPDATE 2024: This tutorial is outdated! It does no longer work in current Ubuntu releases!

First of all, press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the commands below one by one to install the latest development Wine 1.7 from its PPA:

sudo add-apt-repository ppa:ubuntu-wine/ppa

sudo apt-get update

sudo apt-get install wine1.7

Once wine is installed, config it by running:

winecfg

In “Wine Configuration” window, you may:

  • Change Windows Version to Windows 7 in the bottom of the Applications tab.
  • Under Libraries tab, select ‘Riched20’ library from the drop-down list and add it

wine-configuration

Now download the Windows package of SketchUp EXE from the official link below:

Download Google SketchUp

Right-click on the EXE and select open it via Wine:

open-with-wine

Follow the install wizard and finally you’ll get SketchUp installed with shortcut icons on your desktop.

Tips:

1. On my 64 bit Ubuntu 14.04, SketchUp 2014 hangs after choosing a template. This has been reported as a bug and seemed to be fixed in Wine 1.7.19. However, I still get this error.

The workaround is disable Ruby API by launching SketchUp via:

wine "C:\Program Files (x86)\SketchUp\SketchUp 2014\SketchUp.exe" "/DisableRubyAPI"

Or, in the Properties window of the desktop shortcut, add /DisableRubyAPI to the end of command area:

disablerubyapi

2. If sketch up doesn’t work because of a problem with a graphics card

1. Run below command to bring up Registry Editor:

wine regedit

2. Navigate to HKEY_CURRENT_USER -> Software -> Google -> SketchUp version -> GLConfig -> Display

3. Change the value of HW_OK to 1 (so that it shows up as 0×00000001 (1)

Want to install and use Google Sketchup on Ubuntu 13.04 Raring? Well, this simple tutorial will show you how to do it. With the help of Wine software, you can install and use Windows software easily in Ubuntu.

Wine is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, including Ubuntu Linux. It’s free and open-source software. Wine now is getting a lot better at handling Windows software on Linux systems.

To get started with installing Sketchup 2013 in Ubuntu, download the lastest version of wine. To do that, press Ctrl + Alt + T on your keyboard to open the terminal. When it opens, run the commands below to add its PPA.

sudo add-apt-repository ppa:ubuntu-wine/ppa

Then run below command to update package lists and install wine1.5 (Now the latest wine1.7 is recommended):

sudo apt-get update; sudo apt-get install wine1.5

Once wine is installed, run below command to configure it so that Sketchup could be installed. You may need to log out and log back:

winecfg

Next, navigate to Libraries tab, then select ‘Riched20’ library from the drop-down list and add it. When done, click OK

wine-configuration

Download Google Sketchup from http://sketchup.google.com/intl/en/download/gsu.html. Then navigate to the Downloads folder and right-click on the EXE to ‘Open with Wine Windows Program Loader’.

open-with-wine

Follow the setup wizard and finally you’ll get the shortcut on the desktop and Unity dash.

sketchup

That’s it. Enjoy!

UPDATE: If Sketchup hangs after choosing a template, try launching it with /DisableRubyAPI as a workaround. Or read the new post about install Sketchup 2014 in Ubuntu 14.04.