<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Winetricks on Wimpy's World</title><link>https://blog.wimpys.world/tags/winetricks/</link><description>Recent content in Winetricks on Wimpy's World</description><generator>Hugo -- gohugo.io</generator><language>en-gb</language><managingEditor>martin@wimpress.com (Martin Wimpress)</managingEditor><webMaster>martin@wimpress.com (Martin Wimpress)</webMaster><lastBuildDate>Tue, 29 Jan 2013 16:16:47 +0000</lastBuildDate><atom:link href="https://blog.wimpys.world/tags/winetricks/rss.xml" rel="self" type="application/rss+xml"/><item><title>Microsoft Office 2010 on Arch Linux and Ubuntu</title><link>https://blog.wimpys.world/posts/microsoft-office-2010-on-arch-linux-and-ubuntu/</link><pubDate>Tue, 29 Jan 2013 16:16:47 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/microsoft-office-2010-on-arch-linux-and-ubuntu/</guid><description>&lt;p&gt;We have a mix of Linux and Windows users at work. My department use Linux
and the rest of the business use Windows. We been running a mixture of
&lt;a href="http://www.libreoffice.org/"&gt;LibreOffice&lt;/a&gt; and &lt;a href="http://office.microsoft.com/en-GB"&gt;Microsoft Office&lt;/a&gt;,
which works pretty well until you start trying to collaborate, then it gets
messy pretty quickly.&lt;/p&gt;
&lt;p&gt;So, it was decided at the end of 2012 to migrate everyone, including the
Linux users, to Microsoft Office 2010.&lt;/p&gt;
&lt;p&gt;What follows is an installation guide for &lt;a href="http://www.winehq.org/"&gt;Wine&lt;/a&gt; and
the &lt;a href="http://office.microsoft.com/en-gb/try/"&gt;60 day trial version of Office Home and Business 2010&lt;/a&gt;
on Arch Linux and Ubuntu. Most of this information was sourced from the Wine AppDB&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=17336"&gt;http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=17336&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="wine-for-ubuntu-1204-lts-or-better"&gt;Wine for Ubuntu 12.04 LTS (or better)&lt;/h1&gt;
&lt;p&gt;Install Wine on Ubuntu as follows.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:ubuntu-wine/ppa
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get update
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install ttf-mscorefonts-installer samba wine1.5 wine-gecko1.8 wine-mono
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For 64-bit also install the following.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install ia32-libs
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id="wine-for-arch-linux"&gt;Wine for Arch Linux&lt;/h1&gt;
&lt;div class="alert alert-info"&gt;&lt;strong&gt;Update&lt;/strong&gt; I updated this section on August 8th 2013 to reflect recent changes in Arch Linux&lt;/div&gt;
&lt;p&gt;Install Wine on Arch Linux as follows.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo pacman -S --needed icoutils libwbclient libxslt lib32-mpg123 p11-kit lib32-p11-kit samba wine winetricks wine-mono wine_gecko
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo packer -S --noedit --noconfirm ttf-ms-fonts
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For 64-bit also install the following.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo packer -S --noedit --noconfirm lib32-libwbclient lib32-libxslt
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id="installing-office-2010"&gt;Installing Office 2010&lt;/h1&gt;
&lt;p&gt;Once Wine is installed, installing Office 2010 is the same for Arch Linux and Ubuntu.&lt;/p&gt;
&lt;p&gt;Create a clean wine prefix.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;WINEPREFIX&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="si"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;HOME&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;/.msoffice2010&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;WINEARCH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;win32&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;winecfg
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Click the &lt;code&gt;Libraries&lt;/code&gt; tab, select &lt;code&gt;riched20&lt;/code&gt; and click &lt;code&gt;Add&lt;/code&gt;. The default entry
should read &lt;code&gt;riched20 (native, builtin)&lt;/code&gt;. Click &lt;code&gt;Apply&lt;/code&gt;, then click &lt;code&gt;OK&lt;/code&gt;. This will
ensure that PowerPoint starts and selection boxes display correctly.&lt;/p&gt;
&lt;p&gt;Install &lt;code&gt;libxml6&lt;/code&gt; and &lt;code&gt;corefonts&lt;/code&gt; with &lt;code&gt;winetricks&lt;/code&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;winetricks msxml6 corefonts
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Start the Office 2010 setup. In the example below &lt;code&gt;X17-75058.exe&lt;/code&gt; is the name of the
60 day trial version of Office Home and Business 2010 that I downloaded.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wine X17-75058.exe
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Follow the installation wizard, we are only interested in running the essentials,
Word, Excel and PowerPoint. This is what I selected during the install.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Enter your serial number.&lt;/li&gt;
&lt;li&gt;Leave ticked &lt;code&gt;Attempt to automatically activate my product online.&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;code&gt;Continue&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Tick &lt;code&gt;I accept the terms of this agreement&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;code&gt;Continue&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;code&gt;Customise&lt;/code&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft Access (Trial) [Not Available]&lt;/li&gt;
&lt;li&gt;Microsoft Excel [Run all from My Computer]&lt;/li&gt;
&lt;li&gt;Microsoft OneNote [Not Available]&lt;/li&gt;
&lt;li&gt;Microsoft Outlook [Not Available]&lt;/li&gt;
&lt;li&gt;Microsoft PowerPoint [Run all from My Computer]&lt;/li&gt;
&lt;li&gt;Microsoft Publisher (Trial) [Not Available]&lt;/li&gt;
&lt;li&gt;Microsoft Visio Viewer [Run from My Computer]&lt;/li&gt;
&lt;li&gt;Microsoft Word [Run all from My Computer]&lt;/li&gt;
&lt;li&gt;Office Shared Features [Defaults]&lt;/li&gt;
&lt;li&gt;Office Tools [Defaults]&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;code&gt;Instal Now&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;code&gt;Close&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That&amp;rsquo;s it. Office 2010 is installed and should be associated with the appropriate
file types.&lt;/p&gt;
&lt;h2 id="some-issues"&gt;Some Issues&lt;/h2&gt;
&lt;p&gt;Here are some of the issues we noticed running Office 2010 under Wine.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Always install Office 2010 into it&amp;rsquo;s own &lt;code&gt;WINEPREFIX&lt;/code&gt;. You are less likely to run into problem that way.&lt;/li&gt;
&lt;li&gt;Online updates do not work. Fortunately, the trial installer has SP1 integrated.&lt;/li&gt;
&lt;li&gt;If you purchase Office 2010 licenses you can still use the trial installer with your purchased license key(s).&lt;/li&gt;
&lt;li&gt;We did test a trial of &lt;a href="http://www.codeweavers.com/"&gt;CrossOver&lt;/a&gt;. However, it wouldn&amp;rsquo;t activate Office 2010 on Arch Linux but did activate on Ubuntu.&lt;/li&gt;
&lt;li&gt;Files saved to &lt;code&gt;cifs&lt;/code&gt; mounts are set read-only. This might be a Wine issue or due to the unusual way we have our file server configured, we are still investigating.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="uninstalling-office-2010"&gt;Uninstalling Office 2010&lt;/h2&gt;
&lt;p&gt;Should you ever need to, you can uninstall Office 2010 as follows.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;rm -rfv &lt;span class="si"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;HOME&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;/.msoffice2010/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;rm -rfv ~/.local/share/applications/wine-extension-*
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;rm -rfv ~/.local/share/applications/wine/Programs/Microsoft&lt;span class="se"&gt;\ &lt;/span&gt;Office/
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description><summary>Install Microsoft Office 2010 on Arch Linux and Ubuntu</summary></item></channel></rss>