• TwitterFacebookGoogle PlusLinkedInRSS FeedEmail

Install Microsoft Fonts Opensuse Linux

4/5/2019 

In an office or production environment, sharing documents between different applications and operating systems is a common issue. If you need to create, open, and edit Microsoft Word documents in Linux, you can use LibreOffice Writer or AbiWord. Both are robust word processing applications that can read and write files in Word .doc and .docx formats.

If you need command-line tools that extract the text from Word files, Antiword (.doc files) and docx2txt (.docx) are useful programs to have at your disposal.

In this tutorial, we'll look at these four applications and how you can use them. We'll walk through installing them on several of the most popular Linux distributions, including Debian, Ubuntu, Fedora, OpenSUSE, CentOS, and Arch Linux. We'll also help with installing the core Microsoft TrueType fonts on your Linux system.

  • Antiword (.doc -> text)
  • Docx2txt (.docx -> text)

LibreOffice

LibreOffice is a free, open-source, actively maintained and frequently updated office productivity suite that is compatible with Microsoft Office applications, including Microsoft Word. You can save your LibreOffice Writer documents in .doc or .docx format, and then either opens correctly in Microsoft Word.

Installing LibreOffice

LibreOffice can be installed using your package manager. To install it, open a terminal and use the following command appropriate for your operating system:

Debian 8, Ubuntu 15

Fedora 23

OpenSUSE 10

CentOS 7

Arch Linux 2016

Once LibreOffice is installed, it should appear in the Applications menu of your GUI. You can also run it from a terminal with the command:

AbiWord

AbiWord is another free and open-source word processor. It has a clean, simple interface developed for almost twenty years. Like LibreOffice, it can open, edit, and save Microsoft Word .doc and .docx files. Unlike LibreOffice, Abiword is not a complete office suite, so it has a smaller footprint and consumes fewer system resources.

Installing AbiWord

Debian 8, Ubuntu 15

Fedora 23

OpenSUSE 10

CentOS 7

Arch Linux 2016

Antiword

Antiword is a command-line tool that can convert the contents of a .doc file to plain text.

Note

Antiword only converts .doc files. If you need to convert a .docx file, see docx2txt in the next section.

Using Antiword

Running antiword with the name of a Word .doc file will output the plain text of the file to standard output.

Antiword does a great job of formatting tables. It also has options for including images as PostScript objects and outputting to PDF.

You can redirect the output to a text file:

or, if you want to open it directly in a text editor, you can pipe the text to vim:

or pico:

Installing antiword

Debian 8, Ubuntu 15

Fedora 23

OpenSUSE 10

CentOS 7

Docx2txt

Docx2txt is a command-line tool that converts .docx files to plain text. (It does not convert .doc files.)

To print the contents of a .docx file to the terminal screen, or redirect the output to a file, call docx2txt and specify a dash as the output file name. In this example, notice the dash at the end of the command:

To convert a .docx file and output to a text file, use the command form:

or:

To open the .docx text in vim, use the command form:

To open it in nano:

To install doc2txt, follow the instructions for your version of Linux below:

Debian 8

Ubuntu 15

Fedora 23

Fedora's repositories do not offer a package for docx2txt, but you can install it manually:

Download the source from SourceForge at https://sourceforge.net/projects/docx2txt/. Extract the archive:

You need to make sure that perl, unzip and make are installed on your system, so install or upgrade those packages now:

Then, run make as the root user to install:

Docx2txt is now installed as docx2txt.sh. For instance, to convert the file word-document.docx to a text file, you can run:

The converted text file will automatically be saved as word-document.txt.

OpenSUSE 10

SUSE repositories do not offer a package for docx2txt, but you can download it from SourceForge at https://sourceforge.net/projects/docx2txt/. Extract the archive:

You need to make sure that perl, unzip and make are installed on your system, so install or upgrade those packages now:

Then, run make as root to install:

Docx2txt is now installed as docx2txt.sh. For instance, to convert the file word-document.docx to a text file, you can run:

The converted text file will automatically be saved as word-document.txt.

CentOS 7

CentOS repositories do not offer a package for docx2txt, but you can download it from SourceForge at https://sourceforge.net/projects/docx2txt/. Extract the archive:

You need to make sure that perl, unzip and make are installed on your system, so install or upgrade those packages now:

Then, run make as root to install:

Docx2txt is now installed as docx2txt.sh. For instance, to convert the file word-document.docx to a text file, you can run:

The converted text file will automatically be saved as word-document.txt.

Arch Linux 2016

Installing Microsoft-Compatible Fonts

The core Microsoft fonts are available on Linux, and you should install them if you are going to be working with Microsoft Word files — especially if they were created on a Windows system. The core fonts include:

  • Andale Mono
  • Arial
  • Arial Black
  • Calabri
  • Cambria
  • Comic
  • Courier
  • Impact
  • Times
  • Trebuchet
  • Verdana
  • Webdings

To install them, follow these steps:

Debian 8, Ubuntu 15

Fedora 23

Download the msttcore installer RPM package from SourceForge.

Install packages required for installation:

Then install the local RPM package:

OpenSUSE 10

Download the msttcore installer RPM package from SourceForge.

Install packages required for installation:

Then install the local RPM package:

CentOS 7

Download the msttcore installer RPM package from SourceForge.

Install packages required for installation:

Then install the local RPM package:

Arch Linux 2016

Download the msttcore installer RPM package from SourceForge.

Install packages required for installation:

Extract the contents of the local RPM package:

This command extracts the raw contents of the RPM file and creates two directories, etc and usr that correspond to your /etc and /usr directories. The font files themselves are located in usr/share/fonts/msttcore.

Additional information

Ever since people have been using Linux, questions about using Microsoft Office on the platform have been prevalent, and new users have been puzzled as to how they can get this popular office suite running for themselves.

Over the years there have been many different ways to get Microsoft Office working. In this article we’ll cover the easiest way to get Microsoft Office on your Linux machine.

Getting the installer

Microsoft Office 2013 is what this tutorial will focus on. This is because Office 2016 does not work well with Wine. Go to this link, make a Microsoft account (or log in), and download the Office 2013 program. Make sure to download only the 32-bit version, even if your system is 64-bit.

Installing PlayOnLinux

Using the Wine tools to get Windows programs is not a difficult process. With enough effort and Wine tinkering, anyone can get a Windows program up and running on Linux. Though, for many new Linux users, Wine can be tedious and irritating to use without any direction.

This is where PlayOnLinux comes in. It is a “wine wrapper” and makes things easier. Basically it’s a tool that takes the underlying technology of Wine and adds some easy-to-use GUI tools for installing a myriad of Windows-based games and even programs (like MS Office).

The PlayOnLinux tool is available in most modern Linux distribution package repositories. Install it by opening your package manager or software store and searching for “playonlinux” or from the terminal (in Ubuntu):

Using PlayOnLinux to install Microsoft Office

Inside PlayOnLinux there are many different buttons and options. The only one that matters at the moment is the “Install” button. After you click it, what follows is a window with a search box. In the search area, type “Microsoft Office.”

Searching for this term brings up several versions of Microsoft Office. Each result is an installation profile, and once the user clicks on one, PlayOnLinux will create a Wine environment and walk through the installation process.

Within the results, select “Microsoft Office 2013” and then the “Install” button. What follows is a warning that “this program is currently in testing.” This means that the PlayOnLinux profile for Office 2013 is under testing and may experience some hiccups. Select OK to continue.

This brings up a Windows-like installation wizard. Read the directions and select the “Next” button to be brought to the next part of the installer. PlayOnLinux asks the user to provide the installation file.

Provide the installation program from where it was downloaded earlier in the tutorial or click the “Use DVD-ROM(s)” option, and install MS Office 2013 that way instead.

Once the install process starts, PlayOnLinux will set up a contained Wine environment and place Microsoft Office inside of it. From here, Microsoft Office will be accessible from the Linux desktop.

Known issues with Office 2013

At times Office 2013 may fail to install. This is because the 64-bit version doesn’t work. For Office 2013 to work on Linux and Wine, the 32-bit version must be used.

Additionally, the Office installer may fail to install with PlayOnLinux and even crash. This isn’t necessarily the fault of the Office installer and most likely a problem with the Office 2013 PlayOnLinux script that installs the program itself. If this happens, it is best to just restart PlayOnLinux and try again.

WineHQ

Installing Windows programs on Linux is never a foolproof process. Issues often come up. This is why when using Wine, users should pay attention to WineHQ. It is a website that catalogs hundreds of Windows programs, how they work on Wine and how users can fix issues they may be having to get programs running correctly.

Alternatives

Though it is possible to get Microsoft Office running on Linux with the help of Wine, it is not the only way to use the Office Suite. If you’ve had trouble getting any version of this office suite running, there is an alternative.

For a while now Microsoft has had a Google Docs alternative known as Office 365. This program is not perfect and isn’t as good as its desktop counterpart. However, if this method of installing Microsoft Office has failed you, this is another option.

If Office 2013 and 365 has failed for you on Linux, and you’re looking for better alternatives, check out Libre Office. It’s a well known Linux-first alternative to the Microsoft Office suite, and the developers work really hard to make it familiar and compatible with Microsoft technologies.

Additionally, there is WPS Office, a suite that is designed to look much like Microsoft Office, and there is also FreeOffice. Along with all of this, here is a list of five free alternatives to Microsoft OneNote (a note-taking app) and five good alternatives to Microsoft Outlook.

Conclusion

Switching to Linux doesn’t mean you have to give up your Windows applications. The existence of Wine (and PlayonLinux) has made installing and using Windows applications (in this case, Microsoft Office 2013) very easy. Unless you really need some proprietary features that are specific to Microsoft Office, we do recommend you try out alternative office suites, like LibreOffice, as they are quite stable and capable as well.

Ebooks