July 13, 2013
Tip: How to Install MS Office with Wine
This article describes how to setup Wine with Slackware 14.0 to be able to run Microsoft Office XP.
Contents
- Install wine
- Install winetricks
- Install cabextract
- Install Fonts
- Install/Configure some Microsoft Packages with winetricks
- Fix msi2 with winecfg
- Mount the Office CD with the Unhide Option
- Start the Office installer
- Start Winword
- Desktop Integration
1. Install wine
$ wget http://connie.slackware.com/~alien/slackbuilds/wine/pkg/14.0/wine-1.5.26-i486-1alien.tgz $ sudo upgradepkg --install-new wine-1.5.26-i486-1alien.tgz
2. Install winetricks
$ wget http://winetricks.org/winetricks $ cp winetricks ~/bin $ chmod +x ~/bin/winetricks
3. Install cabextract
Note: Use version 1.3 or higher! Version 1.2 cannot extract large files and winetricks would fail on some files to extract.
Slackbuilds can be found at slackbuilds.org:
$ wget http://slackbuilds.org/slackbuilds/14.0/system/cabextract.tar.gz $ tar xvzf cabextract.tar.gz $ wget http://www.cabextract.org.uk/cabextract-1.4.tar.gz $ mv cabextract-1.4.tar.gz cabextract/ $ cd cabextract/ $ sudo sh cabextract.SlackBuild $ sudo upgradepkg --install-new /tmp/cabextract-1.4-x86_64-1_SBo.tgz
4. Install Fonts
$ winetricks corefonts $ winetricks allfonts
5. Install/Configure some Microsoft Packages with winetricks
$ winetricks msi2 riched30 vcrun2003 vcrun2005 vb3run
6. Fix msi2 with winecfg
Run »winecfg«
$ winecfg -> Libraries -> msi(native, builtin) -> Edit
and change the order to: builtin, native
7. Mount the Office CD with the Unhide Option
$ sudo mount -t iso9660 -o ro,unhide /dev/cdrom /media/cdrom
8. Start the Office Installer
$ cd /media/cdrom $ wine setup.exe
Then just follow the dialogues as if you would run the installer under Windows.
9. Start Winword
$ wine "$HOME/.wine/drive_c/Program Files/Microsoft Office/Office10/WINWORD.EXE"
10. Desktop Integration
There is an RPM package available under »sourceforge.net/projects/magiclinux-plus/files/update/RPMS.soft« that can be converted to a Slackware package:
$ rpm2txz wine-desktop-1.5.31-1mgc26.i686.rpm $ mv wine-desktop-1.5.31-1mgc26.i686.txz wine-desktop-1.5.31-i686-1mgc26.txz ¹ $ sudo upgradepkg --install-new wine-desktop-1.5.31-i686-1mgc26.txz
¹ rpm2txz does not convert the naming scheme from Redhat style to Slackware style. That's why we rename the package here.
A. References
- How-to Install Microsoft Office 2003 in Linux
- winetricks de - The Official Wine Wiki
- Windowsprogramme unter Linux (Wine)