Skip to content

Use Microsoft Office in Linux using WINE and Bottles

License

Notifications You must be signed in to change notification settings

DaasRam/msoffice-bottle

 
 

Repository files navigation

MS Office 2010

Use Microsoft Office 2010 in Linux using WINE and Bottles.

Screenshot_20240701_123107

Video Tutorial:

YOUTUBE_TUTORIAL

Prerequisite:
Flatpak
Bottles installed by Flatpak

Permissions:
Give drive permissions using flatseal or do from commandline

flatpak override com.usebottles.bottles --user --filesystem=xdg-data/applications
flatpak override com.usebottles.bottles --user --filesystem=home
  1. Download WINE Runner:
mkdir -p ~/.var/app/com.usebottles.bottles/data/bottles/runners/pol-8.2 && \
wget https://www.playonlinux.com/wine/binaries/phoenicis/upstream-linux-x86/PlayOnLinux-wine-8.2-upstream-linux-x86.tar.gz \
-O /tmp/PlayOnLinux-wine-8.2-upstream-linux-x86.tar.gz && \
tar -xz -C ~/.var/app/com.usebottles.bottles/data/bottles/runners/pol-8.2 --strip-components=1 \
-f /tmp/PlayOnLinux-wine-8.2-upstream-linux-x86.tar.gz && \
rm /tmp/PlayOnLinux-wine-8.2-upstream-linux-x86.tar.gz
  1. Create a new bottle using Bottles named office2010
  2. Environment Custom.
  3. From Custom Runner: pol-8.2. Architecture: 32-bit.
  4. Configaration: Select office2010.yml.
  5. Click Create.

Screenshot_20240701_113937

Unfortunately for some bug, DLL override doesn't get imported from yml. So, we do this manually.

  1. From bottle office2010 -> Setting -> DLL Overrides -> add gdiplus & riched20.

Screenshot_20240701_114718

  1. That's it. Now install 32-bit version of MS Office 2010. Find the executable and run with Bottles.

File Integrations

Copy files word.desktop, powerpoint.desktop, excel.desktop files from office2010-file-integrations
to ~/.local/share/applications Change Icon path by changing to your username.
Or do run this command:

mkdir -p ~/.local/share/applications && \
curl -o ~/.local/share/applications/Office-Excel-2010.desktop https://raw.githubusercontent.com/tazihad/msoffice-bottle/main/office2010-file-integrations/Office-Excel-2010.desktop && \
curl -o ~/.local/share/applications/Office-Powerpoint-2010.desktop https://raw.githubusercontent.com/tazihad/msoffice-bottle/main/office2010-file-integrations/Office-Powerpoint-2010.desktop && \
curl -o ~/.local/share/applications/Office-Word-2010.desktop https://raw.githubusercontent.com/tazihad/msoffice-bottle/main/office2010-file-integrations/Office-Word-2010.desktop

Office 2013, 2016

Wine runner pol-4.3:

mkdir -p ~/.var/app/com.usebottles.bottles/data/bottles/runners/pol-4.3 && \
wget https://www.playonlinux.com/wine/binaries/phoenicis/upstream-linux-x86/PlayOnLinux-wine-4.3-upstream-linux-x86.tar.gz \
-O /tmp/PlayOnLinux-wine-4.3-upstream-linux-x86.tar.gz && \
tar -xz -C ~/.var/app/com.usebottles.bottles/data/bottles/runners/pol-4.3 --strip-components=1 \
-f /tmp/PlayOnLinux-wine-4.3-upstream-linux-x86.tar.gz && \
rm /tmp/PlayOnLinux-wine-4.3-upstream-linux-x86.tar.gz

About

Use Microsoft Office in Linux using WINE and Bottles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published