Archives For wine

Wine Stable

After more than a year of development, Wine 2.0 stable was finally released a few hours ago. Here’s how to install it via PPA in Ubuntu 16.10, Ubuntu 16.04, Ubuntu 14.04, and derivatives.

Wine 2.0 release highlights:

  • support for Microsoft Office 2013
  • the 64-bit support on macOS.
  • support for Unicode 9.0
  • better HiDPI scaling
  • GStreamer 1.0 support
  • an updated Gecko engine
  • More Direct3D 10 and 11 features
  • And much more, see the announcement

Install Wine 2.0 (Staging) via official Wine PPA:

The official Wine PPA offers Wine-staging packages that are kinda different to the distro packages.

Wine Staging provides extra features and fixes, but it’s installed to /opt/wine-staging. Thanks to this, you can have both regular Wine version and Wine-Staging in single system.

1. To add the PPA, open terminal (Ctrl+Alt+T) and run the command:

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

For 64-bit system, enable 32-bit architecture (if you haven’t already) via sudo dpkg --add-architecture i386

official-wine-ppa-xenial

2. Then updates and install Wine 2.0 staging via commands:

sudo apt-get update

sudo apt-get install --install-recommends wine-staging

To use Wine-Staging, simply add “/opt/wine-staging/bin/” in the fond of executable, for example:

/opt/wine-staging/bin/wine

/opt/wine-staging/bin/winecfg

For more, see the Wine-Staging usage.

Install Wine 2.0 (regular) in Ubuntu via Ricotz’s PPA:

Rico Tzschichholz is maintaining an unofficial PPA with regular Wine packages. The PPA’s working good though it’s marked as unstable in the name.

1. To add the PPA, open terminal (Ctrl+Alt+T) and run command:

sudo add-apt-repository ppa:ricotz/unstable

ricotz-unstable

2. Remove previous Wine 1.8 or other regular Wine packages via command:

sudo apt remove wine wine1.8 wine-stable libwine* fonts-wine* && sudo apt autoremove

3. Finally update and install Wine 2.0 via:

sudo apt update

sudo apt install wine2.0

How to Uninstall:

To remove Wine 2.0, simply run the apt remove command in terminal with sudo privilege:

sudo apt remove wine2.0 wine-staging && sudo apt autoremove

And you can remove the PPAs by going to Software & Updates utility under Other Software tab.

Wine 1.7.35

Wine 1.7.35, the latest development version of Wine for running Windows applications in Linux, was released a few hours ago.

The 1.7.35 release brings support for OpenGL core contexts, initial support for glyph placement in DirectWrite, and adds more WBEM objects. Also a total of 56 bugs has been fixed in this release. Source code and full list of changes are available at this page.

Wine running windows app in Linux

How to install / upgrade wine 1.7 in Ubuntu:

For Ubuntu users, besides building from the source you have to wait a few days for the official PPA updated for the latest binaries. Ubuntu 15.04, Ubuntu 14.10, and Ubuntu 14.04 are supported so far.

To add the PPA, open terminal from the Dash or by pressing Ctrl+Alt+T on keyboard. When it opens, run command:

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

After that, upgrade Wine by installing available updates via “Software Updater” utility. Or install wine1.7 for the first time by running below two commands one by one:

sudo apt-get update

sudo apt-get install wine1.7

Since Wine PPA is not updating for Ubuntu 12.04, Precise users can use this unofficial PPA to get the latest wine release.

Before adding this PPA, you should remove the official PPA via command:

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

Then add the new PPA for Ubuntu 12.04:

sudo add-apt-repository -r ppa:ricotz/unstable

Finally upgrade Wine1.7 through Update Manager, or install it via the previous two sudo apt-get command.

Wine

The development version of Wine has reached the 1.7.34 release. Now it supports surround sound with DirectSound.

Besides that, Wine 1.7.34 brings:

  • Better text run support in DirectWrite.
  • Many HTML engine fixes.
  • More support for WBEM objects.
  • A few more C/C++ runtime functions.

And there are totally 63 bug fixes in this release:

  • avifil32 limits itself to max of 1024 frames when writing avis
  • Star Trek Klingon Academy 1.02: Ship textures are partly invisible
  • Adobe Photoshop CS2 tools stop working in maximised images
  • DPP (Digital Photo Professional): Instruments window returns to its starting position (in the center) automatically when the image windows is selected
  • X-Lite don`t work with ALSA driver correctly
  • .NET 2.0 SP2 installer fails (RegSvcs.exe bootstrapper expects updated assemblies while GAC update is deferred during install)
  • KP500-Utils-EN.exe fails silently to extract .kdz files
  • Warcraft 3: missing mouse cursor
  • ICQ 7 installer error message
  • Avant Browser needs HTMLElement_get_isTextEdit
  • Unhandled privileged instruction when starting Minitab 16 (Sentinel HASP hardlock.sys kernel driver tries to write to CR4/not handled in ntoskrnl emulate_instruction)
  • pyjamas desktop (python26 + python-comtypes MSHTML.DLL from IE8) fails due to unsupported ReadTypeLib header
  • Total Overdose: choppy audio playback with Diesel Power 3D sound system
  • Multiple 64-bit applications crash on startup (GetLocaleInfo() returns improper TCHAR count for LOCALE_IFIRSTDAYOFWEEK) (PowerGrep v4.x, RegexBuddy 4.x)
  • Compiling Ultracopier 0.4.0.3 inside Qt 5.0.1 results in errors from compiler
  • Trying to download flash from iexplore crashes in jscript
  • javascript basic DOM API functions fail
  • winmm/mci tests hang on PC-BSD
  • SWGEmu crashes everytime it tries to load
  • Artemis 2.0 crashes when loading the splash screen
  • Wine64 does not work on FreeBSD
  • Call of Duty: Ghosts needs psapi/kernel32 K32EnumProcessModulesEx
  • Multiple applications/installers fails due to SWbemLocator::ConnectServer being a stub (PSPad 4.5.7, Nitro PDF Professional 6.2.x, eTax 2008, GOG.com games)
  • Atom Zombie Smasher, Warhammer 40K: Dawn of War GOTY (Winter Assault) on Steam doesn’t start with Wine Mono 4.5.2
  • Loud audio distortion using wine 1.7.6 and up.
  • Macromedia Freehand 9 demo: invalid path for file association default icon causes stack overflow in winemenubuilder
  • BOINC 5.8.16: uninstall fails
  • Multiple applications/installers fail due to WinMGMTS_ParseDisplayName stub (PaintRibbon 1.x, MicroStation V8i)
  • dplayx interactive tests crash
  • Stronghold Kingdoms crashes due to ID3DXFont PreloadCharacters being a stub.
  • WHO Anthro software doesn’t work with Mono 4.5.2 (unimplemented System.Configuration.SettingValueElement.Unmerge)
  • dsound resampler causing clicks in StarCraft when resampling to 48000
  • Microsoft Office 2013 (15.0) and OneNote web installer crashes on unimplemented function IPHLPAPI.DLL.CreateSortedAddressPairs
  • PlayOn 3.9.13 settings tool fails to detect system memory size (needs ‘Win32_OperatingSystem’ WMI class ‘TotalVisibleMemorySize’ property)
  • vSphere 5.5 client ‘hcmon.sys’ driver crashes on unimplemented function ntoskrnl.exe.IoCsqInitialize
  • Hero Lab 5.x fails to retrieve updates
  • Multi Theft Auto: San Andreas 1.3.5 ‘FairplayKD.sys’ driver crashes on unimplemented function ntoskrnl.exe.KeSetSystemAffinityThread
  • Multiple games need X3DAudio1_7.dll (BeamNG v0.3 Tech Demo, Doom 3 BFG Edition)
  • WinHttpReceiveRequest goes into infinite blocking on 304 responses
  • WSAStringToAddress(“2001::1″, AF_INET, …) appears to succeed.
  • MaxQuant 1.4/1.5 (.NET 4.5 app) needs named entry point ‘Shell32.dll.SHILCreateFromPath’ in ‘Windows Vista’ mode
  • winefile command line does not support paths with spaces
  • YouTube Downloader crashes
  • Skype crashes trying to chat with anyone
  • Endless Space crashes on startup
  • Free YouTube to MP3 Converter 3.12 installer crashes on unimplemented function msvcr120.dll._wcsset_s
  • Propellerhead Reason 8 needs COMCTL32.dll.381 LoadIconWithScaleDown()
  • Propellerhead Reason 8 needs mfplat.dll.MFStartup
  • Personal Ancestral File 5 crashes when a new line is added in ‘Notes’ panel
  • Elevated demo silently exits
  • Saya no Uta: sound is all over the place after update
  • Propellerhead Reason 8 installer complains “interface not supported” during install
  • Airport Tycoon 2 demo fails to load with built-in msvcp70
  • Windows 8.1 Media Creation Tool: crashes due to unimplemented function VERSION.dll.GetFileVersionInfoSizeExW
  • N1MM PLUS Logger 1.0 (.NET 4.0 app) crashes on launch (failure to parse registration-free COM/ActiveX info from app manifest)
  • Cannot install Olympus Viewer 3
  • Bus Simulator 2012 crashes on startup
  • Autocad2006 crashes on unimplemented function msvcp70.dll.??0?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAE@PBDH@Z
  • SteuerSparErklärung 2015: crashes when starting a new tax case
  • Unable to license IAR Embedded Workbench Kickstart Edition 6.x/7.x (License Manager needs ‘Win32_ComputerSystemProduct’ WMI class)
  • PTC Mathcad Prime 3.0 Web installer crashes (‘Win32_LogicalDisk’ WMI class needs to provide ‘VolumeName’ property)
  • For loop %~$PATH:I feature works incorrect – PATH variable size limited by MAX_PATH

Install or Upgrade Wine 1.7 in Ubuntu:

The latest release will be made into the official PPA soon, available for Ubuntu 14.04, Ubuntu 14.10 and Ubuntu 15.04.

To add the PPA and install Wine 1.7, press Ctrl+Alt+T on keyboard to open terminal and run below commands one by one:

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

sudo apt-get update

sudo apt-get install wine1.7

If you’ve already added the PPA repository and have an old 1.7 release installed, just run regular updates via Software Updater to keep it up-to-date.

Install Wine Ubuntu 14.10

Run Windows only applications in Ubuntu? Well, here’s how to install the latest Wine development release with bug fixes and new features in Ubuntu 14.10 Utopic.

For those who don’t know about Wine:

Wine (originally an acronym for “Wine Is Not an Emulator”) is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, Mac OSX, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to cleanly integrate Windows applications into your desktop.

Wine began in 1993 under the initial coordination of Bob Amstadt as a way to support running Windows 3.1 programs on Linux. Very early on, leadership over Wine’s development passed to Alexandre Julliard, who has managed the project ever since. Over the years, as the Windows API and applications have evolved to take advantage of new hardware and software, Wine has adapted to support new features, all while being ported to other OSes, becoming more stable, and providing a better user-experience.

An ambitious project by definition, work on Wine would steadily continue for 15 years before the program finally reached v1.0, the first stable release, in 2008. Several releases later, Wine is still under active development today, and although there is more work to be done, millions of people are estimated to use Wine to run their Windows software on the OS of their choice.

Open Windows EXE file with Wine

open Windows .exe file directly with Wine

Install Wine Development in Ubuntu:

While Ubuntu repositories provide the stable Wine 1.6 release, the latest development Wine 1.7 with bug fixes and new supports is available in Wine official PPA. So far, Ubuntu 14.04 and Ubuntu 14.10 are supported.

To add the PPA, press Ctrl+Alt+T to open terminal. When it opens, paste the command below and hit Enter to run:

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

Type in your user password when it asks.

After added the PPA, install Wine1.7 from Synaptic Package Manger after clicking Reload button. Or just run the commands below in terminal:

sudo apt-get update

sudo apt-get install wine1.7

That’s it.

When a future release is out and made into the PPA, running regular system update via Software Updates will automatically upgrade the wine1.7 to the latest.

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.

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)