How to install Microsoft Office* on Linux using Wine

How to install Microsoft Office* on Linux using Wine

Abhishek Kumar's photo
Abhishek Kumar
·Jul 24, 2022·

4 min read

Linux is awesome! You can do anything you want with it like resurrect your old computer, create a home server or even a cloud storage for yourself. Even though with it's super awesome feature set the one thing it is missing is modern proprietary software support, I mean try installing latest Nvidia drivers on your machine without breaking it and you'll see how tough this process can be (at least in my personal experience).

I do support the Open Source software's and I myself use several of them but you do have to agree if you're a working professional that most companies often use either Google Workspace Suite or Microsoft Office Suite. Now you can use LibreOffice or OpenOffice to get through but it's really hard to work in a collaborative environment with these apps.

To solve this problem you can either use Windows in a Virtual Machine but it might affect your performance because VMs are quite resource hungry or you can dual boot your system, but I find it painful. Another method you can use to install Microsoft Office is with Wine and that's what I'm using here.

Wine stands for Wine is Not an Emulator. The name pretty much explains itself but still let me give you an overview about how it works. Wine is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, macOS, & BSD. What it simply means is that Wine converts Windows code in real time to POSIX instruction set without being a resource hog. It feels like you're running these apps natively, though there are lags here and there but overall the experience is like running apps on native environments. Now there are some Software's that won't work with Wine and some requires a little bit of tweaking but in my experience you will be fine.


Things you should know : I'm using Office 2016 because I tried installing Office 2021 several times and it failed every time. Also you won't be able to install Office 365 with this method but you sure can try and do let me know if you get any success.


Steps to install Wine :

  • Visit Wine's official website

winehq_web.png

  • Go to the Downloads page and select the OS you have installed on your system, I'm using Fedora:

wine_options.png

  • First you have to add Wine's repository to your system, for that just copy-paste the commands given on the website :

wine_copy_paste.png

  • Now you have successfully added the repo, it's time to download the Wine software itself, you can see that there are three options available "Stable, Development, and Staging", I'm using the Stable version because of it being stable but you can use whatever you want:

wine_stable_install.png

  • Press y to Install:

wine_install_y.png

  • If you see no errors during installation that means wine is successfully installed on your system. To confirm just type :

wine --version

and you'll get an output of something like this :

wine - 7.0

Now it's time to install Microsoft Office:

  • Open the folder/ location where you have your setup files saved. You can either double click on the setup file just like you do in Windows or you can right click on the setup file and choose Open with Wine like this :

Screenshot (19).png

  • Wine might prompt you with a dialog box to Install .NET, you have to press yes because .NET Framework is important to install Windows applications and then you'll see the installation setup.

office_std_install.png

  • Now you can install the program yourself, just like you would on a Windows machine :

office_std_install01.png

  • It will take some time to install all the Office apps :

office_std_install02.png

  • If everything went smooth without any errors, you will be prompted with Success message:

office_std_installed.png

  • Once the installation is finished, you can open the Installed apps by Visiting the app drawer:

Screenshot (16).png

( I'm using XFCE version of Fedora thus my app drawer might look different from yours if you're using other Desktop Environment like GNOME or KDE)

  • You can be prompted to Configure Microsoft Office when you open any Office app for the first time like this:

office_std_config.png

  • Don't worry it'll take less than 2 minutes, After successful configuration, it will show another message:

office_std_config02.png

  • Now you can use your Microsoft Office Apps like they are natively installed on your system.

  • Here's Excel:

Screenshot_2022-07-23_08-44-34.png

  • Word:

Screenshot_2022-07-23_08-46-22.png

  • Even OneDrive and OutLook work as well:

Screenshot_2022-07-23_08-48-35.png


Screenshot_2022-07-23_08-48-56.png

I know this setup process is not perfect and it probably won't work on your system either but at least now you know that VMs are not the only solution and you can try and install other Windows application on your system using Wine. If you're interested in Gaming and don't know how to Run Windows games on Linux, you can check out Lutris or wait for my next article. If you have any query, feel free to comment down or text me on Twitter.

Did you find this article valuable?

Support Abhishek Kumar by becoming a sponsor. Any amount is appreciated!

Learn more about Hashnode Sponsors
 
Share this