Microsoft Office 2010 on openSUSE 13.1 64bit

Posted: February 7, 2013 in linux
Tags: , , , ,

This Post has moved here

Yes people, this really does work (and very well).

1. Install the latest wine from the community repo.

sudo zypper ar http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_13.1/ wine
sudo zypper ref
sudo zypper dup -r wine
sudo zypper in wine samba-winbind

2. Install office
WINEARCH=win32 WINEPREFIX=~/.office wine /setup/directory/setup.exe

3. The office apps should now be in your menu, if not… (change OUTLOOK.EXE for whatever you’re opening)
WINEARCH=win32 WINEPREFIX=~/.office wine ~/.office/drive_c/Program Files/Microsoft Office/Office14/OUTLOOK.EXE &

4. Add a library override for riched20:
WINEARCH=win32 WINEPREFIX=~/.office winecfg
Go to the Libraries tab, type “riched20” in the “New override for library” box, then click Add, then Apply.

If you need to configure Outlook:
First open Outlook, and tell it to NOT configure mail at this time (configuring mail within Outlook appears to be broken).
WINEARCH=win32 WINEPREFIX=~/.office wine control
Click on Mail. The rest is the same as if you were configuring on Windows.

Here are some more specifics for actually installing Office: http://appdb.winehq.org/objectManager.php?sClass=version&iId=17336
Only the 32-bit installer works. I happen to be using MS Office 2010 Professional Plus.

Screenshot from 2013-02-07 09:54:49

Comments
  1. Nameslow says:

    Thank You very much!

  2. fabalthazar says:

    If you have openSUSE 12.3 64bit, don’t forget to install the samba-winbind package if not already installed.
    $ sudo zypper install samba-windbind
    Otherwise installation will fail.
    Works very well on a fresh openSUSE 12.3 64bit installation!

  3. tom says:

    Any suggestions on how to deal with the pkcs11 error in openSUSE 12.2?

    p11-kit: couldn’t load module: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory

  4. David Mulder says:

    FYI: I’ve noticed disabling cached exchange mode helps outlook to load more smoothly (assuming you’re using an exchange account). Outlook kept crashing on me while trying to download the cache.

  5. David Mulder says:

    Forgot something important here. Sometimes you need to create a native dll override for riched20 i order to open emails in Outlook.
    So, open winecfg:
    WINEARCH=win32 WINEPREFIX=~/.office winecfg
    Go to the Libraries tab, type “riched20” in the “New override for library” box, then click Add, then Apply.

  6. Willem says:

    Thank you very much, it worked well on OpenSUSE 13.1 KDE. One question, I don’t see Office listed in the “Uninstall Wine software” application – how does one uninstall?

    • David Mulder says:

      Hmm… Good question. I don’t see it in mine either. You could simply delete the bottle, but that will leave the icons in your menu. Anyone else know the answer?

  7. Hakamy says:

    Alhamdulillah it works. In openSUSE 13.2, we don’t need to install samba-windbind

  8. manuel says:

    hey if i try to install office, i got the message that wine cannot find /setup/directory/setup.exe

  9. Phyo says:

    can I use that method for Office 2016 on leap 42 ?