howto · tips and tricks · ubuntu

How to install Microsoft Office 2010 and Visio 2010 on Ubuntu

PlayOnLinux vs Office 2010

Although Linux operating system comes with an awesome office application suite called LibreOffice (OpenOffice is the original ones), but some users still prefer to use Microsoft’s Office application suite. So there is were PlayOnLinux enters.

PlayOnLinux is a useful piece of software based on Wine which allows you to easily install many Windows applications with relative ease (is considered a graphical frontend for Wine). PlayOnLinux is free and does not require a Windows licence for use.

In this tutorial you’ll see how to Install Microsoft Office 2010 and Microsoft Visio 2010 on Ubuntu (or any Ubuntu based distro like Mint, Zorin OS, etc) using PlayOnLinux.

Install PlayOnLinux

This will install the latest version of PlayOnLinux.

Add keys to repository:

$ wget -qO- "http://deb.playonlinux.com/public.gpg" | sudo apt-key add -

For Trusty (Ubuntu 14.04):

$ sudo wget http://deb.playonlinux.com/playonlinux_trusty.list -O /etc/apt/sources.list.d/playonlinux.list

For Xenial (Ubuntu 16.04):

$ sudo wget http://deb.playonlinux.com/playonlinux_xenial.list -O /etc/apt/sources.list.d/playonlinux.list

For install another versions of Ubuntu checkout here.

Update repository and install PlayOnLinux:

$ sudo apt-get update
$ sudo apt-get install playonlinux

Requirements for PlayOnLinux:

$ sudo apt-get install xterm winbind

Install and Activate Microsoft Office 2010

Requirements:

 Install Microsoft Office 2010

  1. Click “Install” button or “Install a program” on PlayOnLinux.
  2. On “Office” Tab, scroll down and select “Microsoft Office 2010”. Click “Install”.
  3. Ok to dialog warning, 3x Next, select “Use DVD-ROM(s)”, select “Other”, then Next.
  4. On field “Where is mounted your CD-ROM?”. Enter the full path for your MS Office 2010 installations files (Use Nautilus or Nemo file manager for that, press CTRL+L to see and copy the path location) and Next to continue.
  5. Proceed the install of MS Office as usual.
  6. “Microsoft Office 2010 has been installed successfully”. Then click Next to finish the installation.

Note: The application will install “wine” and .NET. You might be prompted to also install Wine Mono. Install where requested. If asked if you wish to reboot Windows, you have answer YES!

Open any Office application to make sure is working! Then close it and go to the next step.

Starting the KMS Server to “activate” MS Office/Visio

NOTE: In a period of time (180 days) after Microsoft Office 2010 expired. Each time you open the required to activate the dialog box appears, very annoying. At this time we need to reactivate, toss a lot after the discovery of the solution is to reset the Office/Visio, SO IS NOT A TRUE ACTIVATION.

  1. Open PlayOnLinux, select “Microsoft Word 2010″(or any other from Office 2010 or Visio) from list of installed applications on right.
  2. Click on “Configure” botton and click on the “Miscellaneous” Tab.
  3. “Run a Windows Executable (.exe) in this virtual drive” and select the file for “HEU KMS Activator” (HEU_KMS_Activator_v11.2.0.exe)
  4. With “HEU KMS Activator” openned, click on the “Addition” Tab
  5. Click on “Connect to Server” and wait to dialog “Connected successfully! KMS Name Set: 127.0.0.2”. Click Ok.
  6. Don’t close the app “HEU KMS Activator” keep it opened until the the activation is complete!

Activate MS Office 2010

This procedure will modify the registry to allow to activate the Office. To accomplice that, “HEU KMS Activator” (our KMS Server) is need to be running. Check steps on Starting the KMS Server to “activate” MS Office/Visio

Set KMS Server on Registry and activate [MS Office 2010]

  1. Click “Install” button or “Install a program” on PlayOnLinux.
  2. On “Office” Tab, scroll down and select “Microsoft Office 2010 Activation”. Then click “Install”.
  3. Ok to dialog warning, 3x Next, select “Volume Activation (KMS)”.
  4. On field “Insert address of license server” input 127.0.0.2 the Next.
  5. On field “Insert port of license server” input 1688 the Next.
  6. Then click Yes to Finish the registry. Then Next for last.
  7. Now open any MS Office 2010 application to see if activation works by looking under File –> Help.
    Note: Open and close any MS Office 2010 application two times, must be activated at the second opened!

Close “HEU KMS Activator” if your activation is successfully!

Install and activate Microsoft Visio 2010

Requirements:

Install Visio

  1. Click “Install” button or “Install a program” on PlayOnLinux.
  2. On “Office” Tab, scroll down and select “Microsoft Visio 2010”. Click “Install”.
  3. Ok to dialog warning, 3x Next, select “Use DVD-ROM(s)”, select “Other”, then Next.
  4. On field “Where is mounted your CD-ROM?”. Enter the full path for your Visio installations files (Use Nautilus or Nemo file manager for that, press CTRL+L to see and copy the path location) and Next to continue.
  5. Proceed the install of Visio as usual.
  6. “Microsoft Visio 2010 has been installed successfully”. Then click Next to finish the installation.

Note: The application will install “wine” and .NET. You might be prompted to also install Wine Mono. Install where requested. If asked if you wish to reboot Windows, you have answer YES!

Open the Visio to make sure is working! Then close Visio and go to the next step.

Start KMS server for activation

Follow the steps on  Starting the KMS server to “activate” MS Office/Visio

Set KMS Server on Registry and activate [Visio]

In order to activate Visio with a KMS you will have to edit a number of registry values:

  1. Open PlayOnLinux, again select “Microsoft Visio 2010” from list of installed applications on right.
  2. Choose “Configure”.
  3. Click on the “Wine” Tab.
  4. Click “Registry Editor”.
  5. Import the registry on menu Registry > Import Registry File (file “set-kms-server-office.reg” – compressed password “need4bit$”) Note: there is no confirmation of registry import on Registry Editor or edit the registry on your own. Close Registry Editor after done.
  6. Start Visio again and check if the activation worked by looking under File –> Help. Note: Open and close Visio two times, must be activated at the second opened!

Close “HEU KMS Activator” if your activation is successfully!

Optional Steps

Associate to Microsoft Office 2010

This commands will allow to open any Microsoft Office document (not system wide – from Word, Excel, Powerpoint and Visio) from any File Manager (like Nautilus, Neno, Thunar, etc.):

$ xdg-mime default “Microsoft Word 2010.desktop” application/msword application/vnd.openxmlformats-officedocument.wordprocessingml.document application/vnd.openxmlformats-officedocument.wordprocessingml.template application/vnd.ms-word.document.macroEnabled.12 application/vnd.ms-word.template.macroEnabled.12

$ xdg-mime default “Microsoft Excel 2010.desktop” application/vnd.ms-excel application/vnd.openxmlformats-officedocument.spreadsheetml.sheet application/vnd.openxmlformats-officedocument.spreadsheetml.template application/vnd.ms-excel.sheet.macroEnabled.12 application/vnd.ms-excel.template.macroEnabled.12 application/vnd.ms-excel.addin.macroEnabled.12 application/vnd.ms-excel.sheet.binary.macroEnabled.12

$ xdg-mime default “Microsoft Powerpoint 2010.desktop” application/vnd.ms-powerpoint application/vnd.openxmlformats-officedocument.presentationml.presentation application/vnd.openxmlformats-officedocument.presentationml.template application/vnd.openxmlformats-officedocument.presentationml.slideshow application/vnd.ms-powerpoint.addin.macroEnabled.12 application/vnd.ms-powerpoint.presentation.macroEnabled.12 application/vnd.ms-powerpoint.template.macroEnabled.12 application/vnd.ms-powerpoint.slideshow.macroEnabled.12

$ xdg-mime default “Microsoft Visio 2010.desktop” application/visio application/x-visio application/vnd.visio application/visio.drawing application/vsd application/x-vsd image/x-vsd zz-application/zz-winassoc-vsd application/x-visiotech

Install Service Pack 2 for MS Office 2010

Service Pack 2 (SP2) for Microsoft Office 2010 32-Bit Edition contains new updates which improve security, performance, and stability. Additionally, the SP is a roll-up of all previously released updates.

Download the SP2 (KB2687455) in acording with your MS Office language:
https://www.microsoft.com/download/details.aspx?id=39667

  1. Open PlayOnLinux, select “Microsoft Word 2010″(or any other from Office 2010) from list of installed applications on right.
  2. Click on “Configure” botton and click on the “Miscellaneous” Tab.
  3. “Run a Windows Executable (.exe) in this virtual drive” and select the file “officesp2010-kb2687455-fullfile-x86-pt-br.exe” (for my language is a pt-br package)
  4. Proceed the install of SP2 as usual. When asked “Do you want to reboot now to complete the instalation of this package?” Click “Yes” to finish and ignore the error message “Error in POL_Wine… Wine seems to have crashed…” clicking Next.
  5. Open any MS Office 2010 application to see if worked by looking under File –> Help. Check if the version number of Office 2010 SP2 is greater than or equal to 14.0.7015.1000

Solve some annoying crashs on Word or Visio

Force to use version wine 1.7.55 on MS Office 2010 and Visio to improve stability:

  1. Open PlayOnLinux, select “Microsoft Word 2010″(or any other from Office 2010 or Visio) from list of installed applications on right.
  2. Click on “Configure” botton and click on the “General” Tab.
  3. Select “+” on Wine version. On “PlayOnLinux wine versions manager” search and select on “Available Wine version” the version “1.7.55” and press “>”. On wizard press “Next” to download and install the version 1.7.55. After install close the “PlayOnLinux wine versions manager”.
  4. Now on “PlayOnLinux configuration”, select “1.7.55” on field “Wine version”. Then close the window.
  5. Open any MS Office 2010/Visio application to see if working.

Fix accents on Office 2010

  1. Remove ibus package: sudo apt-get remove ibus
  2. Open “input method” application on your menu.
  3. Click ‘Ok’ then ‘Yes’ and select ‘none’ from the list.
  4. Reboot your Ubuntu.

Now you can use Office with accents!

Windows fonts on Office?!

Checkout how to Install Microsoft Windows fonts on Ubuntu [The Ultimate Guide]!

Updates

  • 09-08-2017 – Add “Associate to Microsoft Office 2010” steps.
  • 27-05-2018 – Fixed some dead links and reupload files missing.

Sources:
Re: Ubuntu 14.04 Office 2010 on wine Greek without accents
Ubuntu14.04 install and “activate” Office2010ProPlus with Visio2010 (15.11.20Updated)
askubuntu: Activate Office 2010 running in PlayOnLinux with a KMS server
How to activate office 2010 on PlayOnLinux
What are the Microsoft Office MIME Types?
File Extension .VSD Details

Deixe um comentário