w2l command not found

In this troubleshooting guide we learn how to fix w2l command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

w2l: command not found

or when using sudo you get the following error message

sudo: w2l: command not found

Solutions to w2l: command not found

How To Fix w2l: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu w2l is provided by writer2latex package.

writer2latex is:

Writer2LaTeX is a java utility to convert OpenOffice.org/LibreOffice documents – in particular documents containing formulas – into other formats. It is actually a collection of four converters, i.e.:

  1. Writer2LaTeX converts documents into LaTeX 2e format for high quality typesetting.
  2. Writer2BibTeX extracts bibliographic data from a document and stores it in BibTeX format (works together with Writer2LaTeX).
  3. Writer2xhtml converts documents into XHTML 1.0 or XHTML 1.1+MathML 2.0 with CSS2.
  4. Calc2xhtml is a companion to Writer2xhtml that converts Calc documents to XHTML 1.0 with CSS2 to display your spreadsheets on the web.

To fix this problem, we can install more using the command below.

sudo apt-get -y install writer2latex

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install writer2latex.

sudo apt -y install writer2latex

Or if you have aptitude installed you can use the following command.

sudo aptitude install writer2latex

Summary

In this tutorial we learn how to fix w2l command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.