Technical Anshu
Tutorials Blog
🐧 Ubuntu + Wine Guide

Install Microsoft Office on Ubuntu Using Wine Complete Guide

You can run Microsoft Office on Ubuntu with Wine, and the setup itself really does take just a few minutes. But read this first — only older Office versions behave well, and activation is a gamble. This guide gives you the full working method and the honest limits, together.

✍️ Technical Anshu🐧 Ubuntu and Linux⏱️ 8 minute read
🎥 Watch the video — Microsoft Office on Ubuntu using Wine, the full method shown live

The video shows the fast route — install Wine, prepare it, and run the Office setup. This page writes that same method down in copy-paste form so you can follow it at your own speed. One honest warning before the steps — Wine runs Office 2007 and Office 2010 (32 bit) reasonably well. Office 2013 needs patience. Office 2016 is unreliable, and the Microsoft 365 desktop apps do not install under Wine at all. For those, the web apps are the real answer, and they are covered in this same series.

Terminal — Ubuntu
$ sudo dpkg --add-architecture i386 $ sudo apt update $ sudo apt install wine64 wine32 winetricks $ WINEARCH=win32 WINEPREFIX=$HOME/.wine-office winecfg $ WINEPREFIX=$HOME/.wine-office winetricks corefonts msxml6 riched20 $ WINEPREFIX=$HOME/.wine-office wine $HOME/Downloads/setup.exe
The whole method in six commands — a separate 32 bit prefix, the support components, then the installer.
1

Install Wine and Winetricks

Ubuntu carries Wine in its own software repository, and that build is fine for Office. Three commands install everything, including the 32 bit half that Office needs.

  1. Enable 32 bit packages with sudo dpkg --add-architecture i386
  2. Refresh with sudo apt update
  3. Install with sudo apt install wine64 wine32 winetricks
  4. Confirm with wine --version — any recent Wine 8, 9 or 10 line is good

A newer Wine from the WineHQ repository can help stubborn installers, but try the Ubuntu build first. Most Office failures are not about the Wine version — they are about the prefix, which is the next step.

2

Create a Separate 32 Bit Prefix for Office

A Wine prefix is a self-contained fake Windows folder. Giving Office its own prefix keeps its settings away from every other Wine app, and making it 32 bit is the single most important choice in this whole guide — most Office installers fail in 64 bit prefixes.

  1. Run WINEARCH=win32 WINEPREFIX=$HOME/.wine-office winecfg
  2. When Wine offers to install Mono or Gecko, click Install and let it finish
  3. In the configuration window, set Windows Version to Windows 7 for Office 2010, then click OK

From now on, every command for this Office install starts with WINEPREFIX=$HOME/.wine-office. Forget that prefix once and you install into the wrong fake Windows — a very common reason the method looks broken.

3

Install the Components Office Needs First

Office expects Windows libraries that a fresh Wine prefix does not have. Winetricks installs proper copies in one go. Do this before the Office installer, not after it fails.

  1. Run WINEPREFIX=$HOME/.wine-office winetricks corefonts msxml6 riched20
  2. corefonts brings the Microsoft fonts — Arial, Times New Roman, Verdana
  3. msxml6 is required by the Office installer itself
  4. riched20 is the rich text library Office editing depends on — its native copy also unlocks installer screens that otherwise freeze

Small installer windows will pop up one after another. Click through them patiently — the whole set takes a few minutes on a normal connection.

4

Run the Office Installer

Now run your genuine Office setup — from a downloaded installer file or a disc image — inside the prepared prefix.

  1. File on disk — WINEPREFIX=$HOME/.wine-office wine $HOME/Downloads/setup.exe
  2. From an ISO — mount it first with sudo mount -o loop office2010.iso /mnt, then run WINEPREFIX=$HOME/.wine-office wine /mnt/setup.exe
  3. In the wizard, enter your product key if asked and choose Install Now

Starting the installer is the fast part — the full install still takes 10 to 20 minutes, and the progress bar may pause for long stretches. Leave it alone. If it ends with an error message instead, do not retry blindly — the fixes for that exact failure are in the install failure guide in this series.

Microsoft Office Setup — the error many people meet
Microsoft Office Professional Plus 2010

Microsoft Office Professional Plus 2010 has encountered an error during setup.

The most common installer failure message under Wine — it usually means the prefix or components were wrong, not the Office disc.
5

First Launch and What to Expect

Installed Office apps appear in your Ubuntu app grid under a Wine group — Word, Excel and PowerPoint launch from there like normal programs. The first launch is slow while Wine builds caches; later launches are quicker.

  1. Open Word once and let it finish its first-run setup completely
  2. Turn off hardware graphics acceleration in File, Options, Advanced — this prevents the most common Wine crashes
  3. Save a test document, close, and reopen it before trusting the setup with real work

Activation may fail online even with a genuine key — that is a known Wine weakness, covered honestly in the activation guide in this series. Your documents are never inside the prefix; they stay in your normal Linux folders, safe whatever happens to Wine.

🔴 The honest bottom line — this is a compatibility trick, not official support. Microsoft does not support Office on Linux, so expect small glitches — rendering quirks, add-ins that fail, and Outlook being the weakest app of the set. If Office is your full-day earning tool, a Windows virtual machine or dual boot is the dependable route. Those guides are in this series too.

🎥 See the Wine Method in the Video

The complete installation from the video — Wine setup, prefix and Office installer, shown live on Ubuntu.

▶️ Watch Full Video
❓ Frequently Asked Questions

Does Microsoft 365 install on Ubuntu with Wine

No. The Microsoft 365 desktop installer does not complete under Wine, so there is nothing to activate or run. Use the Microsoft 365 web apps in your browser, or run Windows in a virtual machine for the full desktop apps.

Which Office version works best with Wine

Office 2010 in its 32 bit edition. WineHQ AppDB rates recent test reports for it as Gold, and Office 2007 is close behind. Both still show occasional glitches, so keep expectations realistic.

Do I need a licence for Office on Wine

Yes. Wine changes nothing about licensing — you need a genuine Office licence for the version you install. Even then, online activation often fails under Wine, which is covered in the activation guide in this series.

This guide is based on the Technical Anshu video linked above • Stuck on a step? Ask in the video comments — you will get a reply 🙏