swath command not found

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

Introduction

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

swath: command not found

or when using sudo you get the following error message

sudo: swath: command not found

Solutions to swath: command not found

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

In Ubuntu swath is provided by swath package.

swath is:

Swath is a general-purpose utility for analyzing word boundaries in Thai text and inserting predefined word delimiter codes. It can be used as a filter for Thai LaTeX files so the lines are wrapped properly when processed with babel-thai macros. Other formats that swath can also handle include HTML, RTF and plain text.

This package contains the swath program.

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

sudo apt-get -y install swath

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

You can also use apt command to install swath.

sudo apt -y install swath

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

sudo aptitude install swath

Summary

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