How to Install Microsoft Office Suite 2010 in Ubuntu 12.04 Using Wine 1.5

You probably already have LibreOffice Office Suite installed in Ubuntu and you’re happy with it. Well, more power unto you. This brief tutorial is going to show those of you who need Microsoft Office 2010 installed in Ubuntu 12.04 (Precise Pangolin). Even though LibreOffice is a great productivity suite, in some situations, M$ Office will be required in order to get your work done. If you need to edit or collaborate on MS Office documents, use Outlook with Exchange without missing some features, or install and use OneNote, you’ll definitely need Microsoft Office. Using Wine, you can install and use Microsoft Office Suite in Linux systems, including Ubuntu. It’s not perfect, but good and can get the job done.

So, without wasting anymore of your time, lets’ get going.

Objectives:

  • Install Microsoft Office in Ubuntu 12.04 (Precise Pangolin)
  • Enjoy!

 

To get started, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens, run the commands below to add Wine PPA.

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

 

office_wine_precise

 

Next, run the commands below to update your system and install the latest version of Wine

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

 

office_wine_precise_1

 

After that, go to Dash and launch Winetricks.

 

office_wine_precise_2

 

When Winetricks opens, choose ‘Select the default wineprefix’ and click ‘OK’

 

office_wine_precise_3

 

Then choose ‘Install a Windows DDL or component’ and click ‘OK’

 

office_wine_precise_4

 

Next, select both ‘dotnet20’ and ‘msxml6’  from this screen to install.

 

office_wine_precise_5

 

After installing those two components, go back to Winetricks and choose to install a font.

 

office_wine_precise_7

 

Next, choose to install corefonts

 

office_wine_precise_8

 

After installing, the corefonts, go back to Winetricks and choose ‘Run winecfg’

 

office_wine_precise_9

 

Then select ‘Libraries’ tab and make sure these DLLs are added. The select each DDL and click ‘Edit’ and change the overrides for each DDL to ‘Native’ (Windows)

 

office_wine_precise_10

 

After that, close out of Winetricks insert your Office CD/DVD or ISO and double click ‘setup.exe’.

 

office_wine_precise_11

 

Next, click ‘Install Now’  . After installing, remove the CD/DVD and begin using Office.

 

office_wine_precise_12

 

To launch Microsoft Excel, press Ctrl – Alt – T to open Terminal. Then run the line below

wine "C:/Program Files/Microsoft Office/Office14/excel.exe"

 

office_wine_precise_13

 

To launch Microsoft Word, run the line below

wine "C:/Program Files/Microsoft Office/Office14/winword.exe"

 

PowerPoint, copy and paste the line below

 

wine "C:/Program Files/Microsoft Office/Office14/powerpnt.exe"

 

Enjoy!

 

office_wine_precise_14

Please share if you like it on:



47 Comments

  1. FUNZIONA! Se avete problemi col Setup.exe basta andare sul terminale scrivere wine e trascinare il Setup dentro il terminale. Se ancora avete problemi fate l’installazione da root (su* > invio > wine > e trascinate dentro il terminale il Setup dal DVD di Office), ricordate poi che l’Office (e i documenti che salverete) si troverà nello user del root e per accedervi > sudo nautilus
    Poi sistemate i privilegi e il resto, però non demordete perché funge!

    *SU: se è la prima volta che utilizzate “su”, impostate prima la password > sudo passwd > digitate la password scelta > fatto > riscrivete su > procedete come sopra

    IT WORKS! If you find problems with the Setup.exe, just open the Terminal, write wine and drag into the Terminal the Setup from the Office DVD directory. If you still have problems, proceed with the installation as root (su* > enter > wine > drag and drop the Office Setup into Terminal), and remember that the Office (with all the documents you will save) will be into root user directory > sudo nautulus.
    Theh fix privileges and other stuff, but don’t give up because this guide is perfect and it works!

    *SU: if you never get the password > sudo passwd > write the password > done > start again with su > proceed as above

  2. This tutorial didn’t work for me.

    First I got an error from WineTricks while trying to install dotnet20 it gave me the message “Mono does not appear to be installed”.

    After I installed mono and tried to install dotnet20 it asked me to uninstall mono. After I did it I got an error from Microsoft .NET 2.0 Setup which told me “This product is not supported on a 64-bit operating system”.

  3. I have installed a 64 bit version of Ubuntu. Unfortunately, ‘dotnet20’ and ‘msxml6’ cannot be installed on the 64 bit version of Ubuntu. In other words, I’m stuck.

    Any suggestions besides installing a 32 bit Ubuntu ?

  4. Si I’m installing office 2010 (not asking for key during install for some reason I don’t know), it succeeded !
    These are some unexpected steps :
    – When tried to install dotnet20 it opened firefox and a folder, I downloaded the dotnet file from firefox and moved it to the opened folder. Then I launched winetricks again and selected dotnet20 and msxml6 AGAIN. This time it showed me a nano something error, but then it started installing dotnet20 and succeeded. I believe the “nano something” is some kind of alternative to replace dotnet20, and is maybe called by the dotnet20 installer to check whether some dotnet version is already installed. Who cares ? :p
    – only msxml6 dll was present in the library tab. But I went ahead with installation anyway to see if it is already included somehow (I had the feeling that installing those two missing dll would lead to some conflicts).
    – double clicking the setup may lead the archive manager to try to open setup.exe. Instead I opened it with wine by right clicking the setup icon. ( now installation is progressing, crossing finger :p )
    – the “getting bored” step happens every time, but I never expect it.
    – OK installation has finished successfully
    – I tried running word using the given command, it said path doesn’t exist, so I just typed “wine explorer”, and it opened the windows explorer, then I browsed to the path and double clicked winword.exe, then it worked ! youpi :D

    • I tried powerpoint but it didn’t run after the log screen, so I just installed the riched20 and gdiplus dll and changed them to “native” and it worked. one last thing “riched20″ needs also to be downloaded manually.

      • Thank you soooo much anas for telling how to fix powerpoint on linux via wine. I had the same problem as you but thanks to your solution it works.
        I can’t thank you enough!!!!

  5. Thank you!

    I got this working on my netbook with PeppermintOS. The only issue I have to mention is saving to .pdf files in word – some of the font gets messed up, but other than that, it’s fine.

  6. Could not complete the installation process; when attempting to install dotnet20 and msxml6 an error cam up stating that it was not intended for 64-bit machines…I have installed Ubuntu 12.04.1 64bit. Guidance please…

  7. Hey there,
    Everything worked more or less easily until I got stuck when I tried to run the setup.exe
    I then tried the suggestions above (riched30, installing it as root with the drag and drop function etc.). nothing works, instead the archive opens and says there is an error because the file might be damaged or not found (however, i did successfully install office on a different comupter that runs on microsoft, so it can’t be the reason).
    I am totally new to Ubuntu, am happy to get some help:-)

  8. I am getting this comment:sha1sum mismatch! Rename /home/justyna/.cache/winetricks/dotnet20/l_intl.zip and try again> What am I supposed to do ? i cannot install neither dotnet20 nor Windows DDL or component.

  9. I had to change things a bit, but i finally installed office 2010 on my lubuntu 14.04. I had failed using playonlinux previously which was why I decided to give this tutorial a try.

    HELP,
    I only needed onenote but i also installed word just in case. So word works smooth enough but onenote wont even start because “desktop experience feature” is needed to use it. I dont know what that is. Everywhere the tutorials about installing it are based windows. how do I do that on lubuntu 14.04? pllz help. thanks

  10. I successfully instaled Excel 2010. Now I have a probelm how to open work books in Excel from this site. It always open empty file instead of book.
    My second question is how to safe it in Ubuntu to keep original book look?
    Thanks !!

    • Can you help me with simillar problem. I installed MS, but can not start it. It asks for activation key. When I put one, it still does not finish instalation succesfully. Do you have idea what should I do next>
      Thanks,
      Ljiljana

  11. many thanks @Stefan I’ve tried the main method (without installing winbind) and office installing stopped many times with error, then I read your comment that I should install Winbind and voilla! (^_^) install complete without any error.

  12. same for me! many thanks @richard for the great tutorial and @Stefan: winbind did the trick!

    These options worked for me:
    msxml6 –> native
    riched20 –> native
    no gdiplus!
    no sudo!

    Installation worked like a charm. But I have 2 problems I am struggling with
    a) activiation is not working.
    b) when I start word, I always get the “configuring Office Home & Business 2010 for first start”

    Do you have any thoughts on that?

Leave a Reply

Your email address will not be published. Required fields are marked *