I had installed Office 2010 32bit on Ubuntu 12.04 before using guides such as this. However, due to package changes, I was not able to replicate the same on Ubuntu 15.04.
How does one install Office 10 using Wine?
12 Answers
Short version
Switching to the latest Wine version (1.7) and installing winbind were additional steps needed.
Long version
The instructions are for Ubuntu 15.04 64bit. This borrows heavily from Crag Gomez's guide, so thanks to him for a lot of these instructions.
Install the latest version of Wine -
dotnet20installations cause issues otherwisesudo add-apt-repository ppa:ubuntu-wine/ppa sudo apt-get update && sudo apt-get upgrade sudo apt-get install wine winetricksInstall mesa OpenGL - may already exist, so the below commands would simply state that.
sudo apt-get install mesa-utils mesa-utils-extra libgl1-mesa-glx:i386 libgl1-mesa-devCreate softlinks for the 32bit OpenGL librariies (needed only for 64 bit systems)
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/mesa/libGL.so sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so /usr/lib/i386-linux-gnu/libGL.soCreate a new
WINEPREFIXfor Office - this will be the directory that contains your files. You can use any directory, but I followed the standard Wineprefix directory (add your username).export WINEPREFIX="/home/<username>/.wineprefixes/office2010/"
Additionally, create that directory:
mkdir -p /home/<username>/.wineprefixes/office2010/Set the
WINEARCHto 32 bit. Office 10 32 bit is the version that works best.export WINEARCH="win32"Install
winbind. Office installation stops midway if this is not donesudo apt-get install winbindInstall
dotnet20,msxml6andcorefontsmodules using winetricks.Once you run the command you will be asked if you want to install a Mono package as well as a Gecko package - select no for both.
wine-monoandwine-geckoshould have already been installed when you installedwinewinetricks dotnet20 msxml6 corefontsDo the actual Windows install.
Browse to the folder with the installation media and run
wine setup.exeChange settings for libraries in the wineprefix after installing
- Run
winetricks - Select Run winecfg. select the "Libraries" tab.
- You should see msxml6 (native, built-in) in the Existing overrides section. Highlight it and click Edit and select Native (Windows) and click OK. Now, it should show up as *msxml6 (native).
- Then add the
riched20andgdipluslibraries from the New override for library section and make sure these are also set as "Native"
- Run
Your office programs should show up in the Unity lenses.
My machine is 64 bit and all the steps in the first answer worked for me, but in some winetricks commands I had to write something like the following:
env WINEPREFIX=~/.wine32 winetricks dotnet20and I did the same for remaining msxml6 corefonts