Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Use Antiword on Linux

Follow a clear guide to use Antiword on Linux, including setup details, useful tips, and fixes for issues you may encounter Includes practical tips.

Table of Contents

This practical guide walks through how to use Antiword on Linux. It organizes the required steps, settings, and checks so you can complete the task with fewer mistakes.

Antiword is the ideal LibreOffice alternative, running in Terminal, perfect for "slow" computers or systems that do not need a graphical environment.

Continue reading this guide to learn how to use Antiword on Linux.

Antiword is compatible with FreeBSD, BeOS, OS/2, Mac OS X, Amiga, VMS, NetWare, Plan9, EPOC, Zaurus PDA, MorphOS, Tru64/OSF, Minix, Solaris and DOS operating systems.

Use Antiword on Linux - step or example 1

Main Features of Antiword

Antiword lets you view and convert MS Word documents from the command line. We can convert to the formats below:

- Plain text - Text format - PDF - Postscript - XML (only DocBook supported)

Limitations of Antiword

Antiword was last updated in 2005 and is not compatible with DOCX documents. Therefore, users cannot use Antiword to edit their documents.

Install Antiword on Linux

If the Linux distribution you are using has a built-in package management system, you can search for Antiword in one of the repositories.

If not download the. tar. gz archive from the Antiword page on Freecode. Then extract the file, access the antiword-0.37 folder and run the command below:

Make

Sudo Make Install

In the instructions below TipsMake uses a resume example as a sample document. When you open this document in LibreOffice, it looks like this:

Use Antiword on Linux - step or example 2

The most basic way to use Antiword is to display and open documents:

Antiword Resume. Doc

Antiword Resume. Doc - step or example 3

As you can see, the default command doesn't preserve document formatting like font size, italics, and underlining, but the text looks more readable.

To display certain information, we use the "-f" flag in the command:

Antiword -F Resume. Doc

Antiword -F Resume. Doc - step or example 4

The above command does not display the correct WYSIWYG format, rather it displays markup-like syntax. For example, underlined text it displays as _underlined Text_ and bold text with an asterisk *bold text*.

To convert a Word document into a PDF file, we must specify the paper size using the "-a" flag. Antiword supports paper sizes including: 10x14, a3, a4, a5, b4, b5, folio, letter, note, quarto, small size.

If you want, you can use the same paper size when converting to Postscript documents by using the "-p" flag.

For example below, convert a document to small-sized PDF format:

Antiword -a Tabloid Resume. Doc > Resume-tabloid. Pdf

Below is the resulting PDF file displayed in Okular:

Antiword -a Tabloid Resume. Doc > Resume-tabloid. Pdf - step or example 5

The underline and hyperlink in the email address are gone, overall the conversion was successful.

If you want to convert to Postscript, you can use "-L" To print in landscape mode.

The example below will convert the document to DocBook format:

Antiword -X Db Resume. Doc > Resume-docbook. Docbook

The conversion process preserves metadata, including author name and document creation date. The raw XML format looks like this:

Antiword -X Db Resume. Doc > Resume-docbook. Docbook - step or example 6

DocBook files in LibreOffice have the following format:

Antiword -X Db Resume. Doc > Resume-docbook. Docbook - step or example 7

Although it does not look similar to the original Word document, the file structure remains the same.

It can be seen that using Antiword to convert Word files to DocBook format works better than converting to XML format.

The above article TipsMake has just shown you how to use Antiword on Linux. In addition, readers can review some articles available on TipsMake to learn how to install Microsoft Office on Linux.

Review the article using Telegram on Linux command, this is a quite popular cloud-based messaging application, Using Telegram on Linux command Is a difference of the Linux operating system.

FAQ

What do I need before I use Antiword on Linux?

Prepare the required device, software, account access, and any files mentioned in the steps. Back up important data before changing system settings.

Why does the process look different on my device?

Menus and options can vary by operating system, app version, device model, or region. Use the closest matching setting and check the official documentation when needed.

What should I do if a step does not work?

Restart the app or device, confirm permissions and connectivity, update the software, and repeat the step carefully. Avoid unofficial downloads or tools.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.