How To Install krename on Debian 9

In this tutorial we learn how to install krename on Debian 9. krename is powerful batch renamer for KDE

Introduction

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

What is krename

krename is:

KRename is a very powerful batch file renamer for KDE which can rename a list of files based on a set of expressions. It can copy/move the files to another directory or simply rename the input files.

There are three methods to install krename 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 krename Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install krename

Install krename Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install krename

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

sudo aptitude -y install krename

How To Uninstall krename on Debian 9

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

sudo apt-get remove krename

Uninstall krename And Its Dependencies

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

sudo apt-get -y autoremove krename

Remove krename Configurations and Data

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

sudo apt-get -y purge krename

Remove krename configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge krename

Dependencies

krename have the following dependencies:

References

Summary

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