You are on page 1of 4

Dizwell Informatics

News from Nowhere

Install Of ce 2010 on Ubuntu 16.04

From time to time, I need proper Word 2010; using LibreOf ce doesnt keep my recruiting agent
happy, apparently. I previously documented installing proper Of ce 2010 onto Linux Mint 17, but
since Im now running Ubuntu 16.04, I had to modify my instructions a little. What follows
worked for me, anyway.

To begin with, if you havent already done so, you will need to install Wine, the Windows
compatibility layer that allows Windows software to run on Linux. Type all these commands as
yourself:

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


sudo apt-get update && sudo apt-get upgrade
sudo apt-get install wine1.8 winetricks

Next, install mesa OpenGL to improve graphics operations:

sudo apt-get install mesa-utils mesa-utils-extra libgl1-mesa-glx:i386 libgl1-mesa-dev

If, like me, you are running on a 64-bit version of Ubuntu, you need to create softlinks for the 32bit OpenGL libraries

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.so

Now we create a new WINEPREFIX for Of ce. This is Wines way of saying what directory shall I store your Windows software in.
It can be of pretty much any name you fancy, but I like mine tucked into a directory called wineof ce hanging off my home
directory, but hidden. Hence:
export WINEPREFIX="/home/hjr/.wineoffice/"

Additionally, set the WINEARCH to 32 bit. Wine doesnt currently cope with running the 64-bit version of Of ce 2010 very well, so
32-bit it has to be:

export WINEARCH="win32"

As mentioned in my previous article for Of ce-on-Mint, you now need to install winbind, because the Of ce installer keels over,
half-way through, if you dont:

sudo apt-get install winbind

Install some more prerequisite les:

winetricks dotnet20 msxml6 corefonts

This will pull more software down from the Net, and will trigger two Windows-looking installation wizards. Click through each in
turn. If you are asked to install a Mono and/or a Gecko package, decline to do so, since these have already been installed as part
of wine. (Though I wasnt actually asked to do so in the rst place, Ive ready that it can happen).

And now, nally, you are ready to perform the actual Of ce installation. My installation media comes as an ISO le, which I mount
as follows:

sudo mount -o loop en_office_professional_plus_2010_x86_x64_dvd_515529.iso /mnt

Now its just a question of navigating to the appropriate directory within the /mnt directory and launching setup.exe. Do
remember: it has to be the 32-bit installer; 64-bit will not work:

cd /mnt/x86
wine setup.exe

Click through the installer and be patient. I also allowed the installer to perform automatic product activation (which worked, Im
happy to say).

Once the installation is nished, type:

winecfg
(That needs to be done in the same session in which you previously set the WINEPREFIX environment variable, so that the
con guration tool picks up the correct wine bottle to work with. If you start a new terminal session, re-export your WINEPREFIX
as before to set it prior to launching the con guration tool. If you dont get the wine pre x right beforehand, youll end up
con guring the default wine bottle, which wont be the right one).

Click the Libraries tab. Currently, there will be only a single entry for *msxml6 (native,built-in). Click on it to select it, then click
[Edit]. Click on the Native (Windows) option and then [OK].

Now click in the New override for library combo box and type rich. Click the down-arrow. That should now display an item called
riched20. Click [Add].

In the same override combo box, now type gdip. Click the down-arrow. You should now see an item called gdiplus. Click on it and
then click [Add].

Finally, click on both the new entries in turn and when each is highlighted, click [Edit]. For each, click the Native (Windows) option.
Your libraries tab should end up looking like this:

Now in the Dash, you can select the Applications lens and type word and see the Of ce Word icon displayed, or exc and see the
Of ce Excel icon. Drag what you need to the launcher and you have a convenient way to launch either.

Copyright Notice

Copyright 2003-2017
Howard Rogers, Dizwell Informatics
All rights reserved
Proudly powered by WordPress Theme: StartRight by Create and Code.

You might also like