How To Install convmv on Debian 9

In this tutorial we learn how to install convmv on Debian 9. convmv is filename encoding conversion tool

Introduction

In this tutorial we learn how to install convmv on Debian 9.

What is convmv

convmv is:

convmv can convert a single filename, a directory tree or all files on a filesystem to a different encoding. It only converts the encoding of filenames, not files contents. A special feature of convmv is that it also takes care of symlinks: the encoding of the symlink’s target will be converted if the symlink itself is being converted.

It is also possible to convert directories to UTF-8 which are already partially UTF-8 encoded.

Keywords: rename, move

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

Install convmv Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install convmv

Install convmv Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install convmv

Install convmv 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 convmv using aptitude by running the following command:

sudo aptitude -y install convmv

How To Uninstall convmv on Debian 9

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

sudo apt-get remove convmv

Uninstall convmv And Its Dependencies

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

sudo apt-get -y autoremove convmv

Remove convmv Configurations and Data

To remove convmv configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge convmv

Remove convmv configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge convmv

Dependencies

convmv have the following dependencies:

References

Summary

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