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
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
After that, go to Dash and launch Winetricks.
When Winetricks opens, choose ‘Select the default wineprefix’ and click ‘OK’
Then choose ‘Install a Windows DDL or component’ and click ‘OK’
Next, select both ‘dotnet20’ and ‘msxml6’ from this screen to install.
After installing those two components, go back to Winetricks and choose to install a font.
Next, choose to install corefonts
After installing, the corefonts, go back to Winetricks and choose ‘Run winecfg’
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)
After that, close out of Winetricks insert your Office CD/DVD or ISO and double click ‘setup.exe’.
Next, click ‘Install Now’ . After installing, remove the CD/DVD and begin using Office.
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"
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!

error while double click on setup.exe
newer windows is needed :/
Click configure wine and change the windows version to Windows 7
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
Excellent, thanks!
For anyone not able to type the product key here’s the solution:
http://www.playonlinux.com/en/topic-4302-product_key_problem_When_installing_office_2007.html
All the links on that page are broken. Instead, under Winetricks, go to “Install Windows DLL or Component” and select “riched30.” Then go to “Install Windows DLL or Component” and select “Run Winecfg.” Go to the Libraries tab. Edit riched30 so that it is native.
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”.
Same problem here, having a look into it.
http://craigacgomez.blogspot.com/2012/09/installing-microsoft-office-2010-in.html
Does the trick for me
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 ?
HOW DOES IT WORK??????????
it gives a lot of errors in intalling fonts and after install in libraries only msxml6 appers after editing it when i run setup.exe it fails
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!!!!
Many thanks!!! Works like a charm…
My machine is Ubuntu 12.04.1 32bit
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.