How To Install recode on Debian 10

Learn how to install recode on Debian 10 with this tutorial. recode is Character set conversion utility

Introduction

In this tutorial we learn how to install recode on Debian 10.

What is recode

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.

There are three methods to install recode on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install recode Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install recode using apt-get by running the following command:

sudo apt-get -y install recode

Install recode Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install recode using apt by running the following command:

sudo apt -y install recode

Install recode Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install recode using aptitude by running the following command:

sudo aptitude -y install recode

How To Uninstall recode on Debian 10

To uninstall only the recode package we can use the following command:

sudo apt-get remove recode

Uninstall recode And Its Dependencies

To uninstall recode and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove recode

Remove recode Configurations and Data

To remove recode configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge recode

Remove recode configuration, data, and all of its dependencies

We can use the following command to remove recode configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge recode

Dependencies

recode have the following dependencies:

References

Summary

In this tutorial we learn how to install recode package on Debian 10 using different package management tools: apt, apt-get and aptitude.