bomstrip-files command not found

In this troubleshooting guide we learn how to fix bomstrip-files command not found error message

Introduction

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

bomstrip-files: command not found

or when using sudo you get the following error message

sudo: bomstrip-files: command not found

Solutions to bomstrip-files: command not found

How To Fix bomstrip-files: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bomstrip-files is provided by bomstrip package.

bomstrip is:

Bomstrip is a very simple tool that removes BOM’s (byte-order-marks) from UTF-8 files. UTF-8 does not have byte-ordering issues, so there is absolutely no need to have three bytes (the UTF-8-BOM) that do not say anything about the byte-order (since there is nothing to say).

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

sudo apt-get -y install bomstrip

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

You can also use apt command to install bomstrip.

sudo apt -y install bomstrip

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

sudo aptitude install bomstrip

Summary

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