I tried installing Office 2007 in Ubuntu with Wine but it was throwing an error after installing and also when I tried to open a PowerPoint document and save it. Has anybody gotten Office 2007 installed without any issues? Please help me.
2I'd suggest just using LibreOffice, which should have come free with your Ubuntu out of the box. I haven't found anything I could do in Office that I couldn't do in LibreOffice just as easily.– user70540Jun 25, 2012 at 14:55
5But is not as good as office 2007...everyone will accept it– user49848Jun 25, 2012 at 15:00
1"but it was throwing an error" --> Yup, very useful information here...– RobinJJun 25, 2012 at 15:03
5@Don this question is not about LibreOffice, but about M$ office.– don.joeyJan 28, 2013 at 9:23
2@user49848 You can install MS Office 2007, through playonlinux. Open a Terminal with Ctrl+Alt+T and type ` sudo apt-get install playonlinux`. For detailed instructions follow this link.– efthialexFeb 19, 2013 at 20:54
You can install MS Office 2007, with the help of PlayOnLinux. PlayOnLinux is a graphical front-end for the Wine software compatibility layer which aims to simplify the installation of Windows-based applications.
1. Installation of PlayOnLinux
You can install PlayOnLinux from Ubuntu Software Center
or open a Terminal with Ctrl + Alt + T and type:
sudo apt-get install playonlinux and fill in your password.
yes and hit Enter ↵ to install the package.
After a while you will need to accept the EULA of
mscorefonts. To select the OK option, hit ⇆ TAB and then Enter ↵.
When the installation process is finished open PlayOnLinux from dash
The first time you open it, click Next to set up the PlayOnLinux environment.
After that everything is set up.
2. Mount *.iso or CD-ROM
At this momment, you need to mount the
.iso or place in the CD that contains the MS Office 2007.
If you have a
.iso file open a Terminal and type
sudo mkdir /media/office07 With this command you'll create a folder with the name office07 in /media.
sudo mount -o loop ~/filename.iso /media/office07 to mount the image into our new directory.
3. Install MS Office 2007
Now switch on PlayonLinux window and click on the button Install to install a new software.
Next, go on the category Office, choose Microsoft Office 2007 and click in the button Install.
After some time you will be asked to install Gecko Installer. Hit the Install button.
When the installation of Gecko Installer is finished you will have to choose where is your CD/.iso is mounted and click Next.
At last continue as usually
When you finish with installation you will have three new shortcuts in your desktop (Word, Excel, Powerpoint)
great, i feel i'll be needing that soon. in case you come about testing that feature with multiple wine versions that i mentioned in the other comment, please update your answer in the future. i'll do the same in case i am in the position to talk about that. i'm very happy msoffice in linux becomes so easy and a last reason to mess with the other OS is gone– user47206Feb 20, 2013 at 12:28
what version of wine have you tested? what do you think about the regressions reported here? (appdb.winehq.org/objectManager.php?sClass=version&iId=4992). have you met this kind of problem?– user47206Feb 21, 2013 at 10:26
@cipricus PlayOnLinux automatically installs Office 2007 under wine 1.2.3. I didn't face any issues the last 6 months. Feb 21, 2013 at 10:40
Can you move the shortcuts to the Unity Launcher?– jobukkitJun 22, 2013 at 13:01
@com.BOY Yes you can. Take a look at this post : askubuntu.com/questions/159103/… Jun 23, 2013 at 11:47
Definitely yes, in Wine 1.5.
Details on the WineHQ site: here.
That is my source, I'll add instructions from there.
(Pay attention to what they say there, like: "There are many howtos for installing Office 2007 floating about the internet. These howtos are rarely maintained by their authors, and because of the rapid rate of Wine development, even ones that were accurate at the time they were posted quickly become outdated.
In the case of Office 2007, many of these outside howtos call for installing a long list of winetricks that are unnecessary to install in current Wine. Some of these tweaks can, in fact, prevent Office apps from working properly.
The only howto for installing Office 2007 that is supported here is the one on this page."
"No overrides are needed to install Microsoft Office 2007. However to get Microsoft Office 2007 to run correctly once it has been installed some overrides may be necessary. See below for instructions."
"Do not install riched20 with winetricks. Office 2007 installs its own version of riched20.")
Because myself had already installed those long lists of winetricks mentioned above, I had to uninstall and reinstall Wine completely before proceeding as stated below.
The problems appear with certain versions of Wine.
The solution is to keep oneself updated to the WineHQ instructions.
Latest versions of Wine are best. Also, latest versions of Office (2007 and 2010) are easier to install than the older ones.
The safest would be to install Office 2007 after a fresh installation of Wine 1.5 (present latest: I will update in time).
sudo add-apt-repository ppa:ubuntu-wine/ppa sudo apt-get update sudo apt-get install wine1.5
Go to Menu, 'Configure Wine' and make sure your version of wine is set to Windows XP.
Install Office 2007. (Open the disk and right click on setup.exe and select "Open with wine windows program loader.") The progress bar in the installer window may stop when it reaches about 2/3 of the way. The installation is continuing, even though the progress bar is not moving. Wait for it to finish.
In 'Configure Wine', under the Libraries tab in the area labeled "New override for library" type in
riched20.dll and click on Add.
You will see it appear in the list below. Now select the
riched20 in the list that we just added and click on the Edit button.
Set it to Native (Windows) and click OK.
This will allow Powerpoint and the other applications to run correctly.
What comes bellow I did it beyond what what the above site says, so it might involve certain risks. It seems that it is very important not to use winetricks and so on before installing as stated here and at the WineHQ address.
Optionally, what I did was to install all fonts and improve appearance like here.
Also, I like to have the classic menus (XP/2003) at hand, added in a tab beside the new ones: there are different addons for that but the one I use in Windows7 doesn't seem to work in Wine so I have installed this, which is add-supported. (Please give me a comment with a link to one that is cleaner and works as expected if you find one.)
The SaveAsPDFandXPS add-in appears to be working as expected.
You could give playonlinux a try. It has fairly decent office 2007 tools. Just start playonlinux and install office 2007 using either cd or an .exe file. Under 12.10 it works relatively fine, but it does not support typing Hebrew, Arabic and so (unless you configure them). Also installing add-ons (bibliography managers and the like) is all but obvious.
considering the possibility of regressions in wine, using different wine versions at the same time would be great: and playonlinux might be able to provide this (have not tried it myself but this feature surely deserves to be tested): ubuntu.igameilive.com/2010/02/…– user47206Feb 19, 2013 at 23:44
also: askubuntu.com/q/245900/47206– user47206Feb 19, 2013 at 23:49
wine supports installing Office 2007. I recently installed it on my laptop and as you said, it didn't give any errors while installing but when you try to save and close the document, it pops up 2-3 error messages, which if you read carefully, can be safely ignored. However, as you said, PowerPoint does not seem to start easily from the
dash. To open PowerPoint, open a Terminal and go the path where you have installed
Office and type
To locate where you have installed Office, type
on the terminal, which will indirectly give you the path where Office is installed.
If you are not able to open a document, then please post the output of
wine /home/$USER/.wine/drive_c/Program\ Files\ \(x86\)/Microsoft\ Office/Office12/PPTVIEW.EXE
of whatever path Office is installed on as a comment to this answer.
I have no error on saving as far as I can tell. See my answer with that WineHQ link - there seem to be a lot of errors possible outside the framework that is clearly stated there: no winetricks in order to install, and so on. fresh wine install is what i've used– user47206Feb 19, 2013 at 20:01
Are you talking about the messages that you get on terminal when you install/open one of these applications like Word or Excel or PowerPoint? If yes, you can safely ignore them, as they are not error messages, they are either warnings or simple execution time messages.– jobinFeb 19, 2013 at 20:05
I have no errors or message errors whatsoever: I was referring to possible errors like the ones you report, which might be related to not following strictly these instructions (appdb.winehq.org/objectManager.php?sClass=version&iId=4992)– user47206Feb 19, 2013 at 20:07
Yes, I was addressing you @cipricus. Sorry not to have mentioned you. Then that's great, great going!– jobinFeb 19, 2013 at 20:09
As of Wine 1.6.2 through Wine devel 1.9.16, Excel 2007 runs without any Play on Linux. Macros work, but there are few weird oddities:
The file open/save dialogs lack any attributes - only the filenames are displayed. This is a know issue dating since 2013.
The exact same .xlsx file that opens perfectly fine in the exact same copy of MS Office 2007 installed in an XP SP3 VM, fails to open in Excel on Wine, with the message that it found "unreadable content" (trying to recover fails with
The workbook cannot be opened or repaired by Microsoft Except because it is corrupt.):