recode command not found

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

Introduction

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

recode: command not found

or when using sudo you get the following error message

sudo: recode: command not found

Solutions to recode: command not found

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

In Ubuntu recode is provided by recode package.

recode is:

Free recode' converts files between character sets and usages. When exact transliterations are not possible, it may get rid of the offending characters or fall back on approximations. This program recognizes or produces nearly 300 different character sets and is able to transliterate files between almost any pair. Most RFC 1345 character sets, and all libiconv’ character sets, are supported.

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

sudo apt-get -y install recode

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

You can also use apt command to install recode.

sudo apt -y install recode

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

sudo aptitude install recode

Summary

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