Skip to content

Instantly share code, notes, and snippets.

@DerEros
Last active June 23, 2024 10:44
Show Gist options
  • Save DerEros/6d028d6d43b893ba57aa23328dd2b1f4 to your computer and use it in GitHub Desktop.
Save DerEros/6d028d6d43b893ba57aa23328dd2b1f4 to your computer and use it in GitHub Desktop.
Installing and Running Office 365 on Wine

NOTE: THIS IS NOT A WORKING TUTORIAL I never got this to work and gave up. If you find any useful bit, go ahead an use them though.

Installing and Running Office 365 on Wine

My personal notes while trying to get Office 365 to install and run on my workstation.

Feel free to extract any useful information. Keep in mind that this is information is provided without any guarantees ... blah blah ... might kill your cat or format your wive ...

Here's some context on the system that I'm working with:

  • Arch Linux (x64)
  • NVidia Graphics with proprietary driver
  • Multilib repo active
  • Wine Staging 4.9.1
  • Samba installed
  • lib32-nvidia-utils, lib32-gstreamer, lib32-gst-plugins-good, lib32-mpg123

Create Wine prefix

Use a fresh prefix to make sure no other apps affect us. Using 32bit since it's better tested and usually more stable.

WINEPREFIX=~/.wine-prefix/office WINEARCH=win32 wineboot -i

Add some libraries

Not sure if all of these are needed. Some I installed "just in case".

WINEPREFIX=~/.wine-prefix/office WINEARCH=win32 winetricks corefonts 
WINEPREFIX=~/.wine-prefix/office WINEARCH=win32 winetricks msxml6 
WINEPREFIX=~/.wine-prefix/office WINEARCH=win32 winetricks gdiplus 
WINEPREFIX=~/.wine-prefix/office WINEARCH=win32 winetricks dotnet472 
WINEPREFIX=~/.wine-prefix/office WINEARCH=win32 winetricks vcrun2017 
@anthonym01
Copy link

The latest version of office fixed this "bug", apparently apps can tell if they're running in wine now

@DerEros
Copy link
Author

DerEros commented Feb 25, 2021

Thanks for the update. I will give it another try. Never succeeded on the first try.

@SystematicError
Copy link

wine 7 is now out, updated guide perhaps? or does this still work?

@lucenarenato
Copy link

top

@ifeelagood
Copy link

bruh i name my directory ~/.wineprefix too

@asdf8dfafjk
Copy link

@SystematicError I don't see a guide at all, just some env vars lol :-)

@toramanlis
Copy link

@SystematicError I don't see a guide at all, just some env vars lol :-)

env vars are followed by commands. it's just for settting the environment for the command to run.

@julio25-Linux
Copy link

They don't work anymore, the folders have been moved and other things, I'm using wine 8.0 and I followed this tutorial: https://ruados.github.io/articles/2021-05/office365-wine
Maybe someone could update it for that version

@skjerns
Copy link

skjerns commented Mar 1, 2023

They don't work anymore, the folders have been moved and other things, I'm using wine 8.0 and I followed this tutorial: https://ruados.github.io/articles/2021-05/office365-wine Maybe someone could update it for that version

the tutorial also did not work for me

are there any currently working tutorials for installing and using O365 with wine?

@DerEros
Copy link
Author

DerEros commented Mar 4, 2023

Hi all,

I should have taken this down a long time ago. I never really got it to work and gave up. Employer gave me a Windows laptop, so I started using that for Office and Linux for actual work.

Gonna add a comment to prevent others from getting any hopes of finding a working tutorial :)

@derivativeoflog7
Copy link

derivativeoflog7 commented Jan 24, 2024

Has anyone tried with ohook?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment