Use Microsoft Office 2010 in Linux using WINE and Bottles.
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
- 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
- Create a new bottle using Bottles named
office2010
- Environment
Custom
. - From Custom
Runner: pol-8.2
. Architecture:32-bit
. - Configaration: Select
office2010.yml
. - Click
Create
.
Unfortunately for some bug, DLL override doesn't get imported from yml. So, we do this manually.
- From bottle
office2010
->Setting
->DLL Overrides
-> addgdiplus
&riched20
.
- That's it. Now install 32-bit version of MS Office 2010. Find the executable and run with Bottles.
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
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