Wine 2.0 says it supports Office 2013. How do I actually install it?
Solution 1:
I installed office 2013 and I used to get a black window after starting it up. I fixed the black screen by following the solution posted in the WineHQ-Forum.
Here's what I did:
Install Wine and Components
First, install wine 2.1 (might als work with 2.0 'winehq-staging')
sudo add-apt-repository ppa:wine/wine-builds
sudo apt-get update
sudo apt-get install --install-recommends winehq-devel
Install 'winbind'
sudo apt install winbind
Create Clean 32bit Prefix for Win7
Crete a clean 32 bit prefix and start up winecfg:
WINEPREFIX=~/.wine/Office2013 WINEARCH=win32 winecfg
In the winecfg applications tab select "Windows version: Windows 7" Close wine config and install winetricks
Install Libraries
sudo apt install winetricks
Then start winetricks for your prefix
WINEPREFIX=~/.wine/Office2013 WINEARCH=win32 winetricks
accept "select the default wineprefix" with OK. Now, select "Install Windows DLL components" and go and install msxml6
I also installed the cambria font, but that shouldn't matter.
Don't close winetricks just yet, you most likely want to fix the black screen bug.
Fix Black Window
In order to fix the black window that impedes Office 13 to be used, add the HKCU\Software\Wine\Direct3D\MaxVersionGL new DWORD value 30002 (hexa) to the registry.
Here's how to do this: In Winetricks select Run regedit and wait for the Registry Editor window to open. In the folder tree expand HKEY_CURRENT_USER - Software - Wine and create a new key in the Wine folder. To do so, right click, select new-->key and name it Direct3D. Now create new-->DWORD Value, rename the file to MaxVersionGL and set the value data to 30002 (hexadecimal). Close the Registry Editor window.
It should look like this: Close the Registry Editor window.
Close the winetricks window and run installer:
Install Office 2013
WINEPREFIX=~/.wine/Office2013 WINEARCH=win32 wine ~/PathTo/Office2013Setup.x86.exe
From here, the install runs and completes 100%.
Open one of the Office programs of your choice. They mostly work, but I found that the Word Math Typesetting does not work and Power Point may not start as well due to "not enough memory or system resources". So, still room for improvement.
Solution 2:
In addition to Philippe's answer I installed the following from winetricks:
msftedit
riched20
riched30
riched32
vb6run
That solved the PowerPoint "not enough memory or system resources" issue and black fields issue
Solution 3:
Install Office 2013 pro 32bit
This solution is tested on Ubuntu 17.10 with wine 2.0.2.
Required Dependencies
We need a clean 32bit wine prefix and some packages.
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install cabextract fonts-liberation winbind wine wine32 wine-gecko2.21
- 32bit
wine
installationwinbind
for some samba functionsgecko
for internet content popupscabextract
andwget
for downloadingcorefonts
through winetricksfonts-liberation
for the free alternatives to Arial etc.
Note that I also recommend wine-3.0
due to its DirectX11 Support. To install, use
wget https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'
sudo apt-get update
sudo apt-get install wine-stable winehq-stable
Installation Process
The recipie is now upstream on winetricks. We need a clean 32bit prefix for it. If you do not have one, prepend WINEPREFIX="${HOME}/.wine-office2013pro"
to the wine commands.
First get the newest winetricks:
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks -O ~/Downloads/winetricks
chmod u+x ~/Downloads/winetricks
and then use the recipie on a 32bit wine prefix.
WINEARCH=win32 wine wineboot
~/Downloads/winetricks office2013pro
First start
The installed desktop files are located in
~/.local/share/applications/wine/Programs/Microsoft Office 2013
There should be a welcome messages that connects to the internet (only on wine-3.0) and lets you activate the product.
Microsoft Word 2013 will start fine. Although, there are certainly some bugs in it.
Microsoft PowerPoint 2013 has some unresolved issues like the black slides. Sometimes it also refuses to start at first. If so, do not press reboot when asked, as it will exit wine.
Product Activaton
On wine-3.0
activation is possible over the internet.
On wine-2.0
the product can be activated via telephone. The phone number is found here. For us, it is 866-421-7141