How To Install renameutils on Ubuntu 18.04

In this tutorial we learn how to install renameutils on Ubuntu 18.04. renameutils is Programs to make file renaming easier

Introduction

In this tutorial we learn how to install renameutils on Ubuntu 18.04.

What is renameutils

renameutils is:

The file renaming utilities (renameutils for short) are a set of programs designed to make renaming of files faster and less cumbersome.

This package consists of five programs - qmv, imv, icp, qcp and deurlname:

qmv (“quick move”) allows file names to be edited in a text editor. The names of all files in a directory are written to a text file, which is then edited by the user. The text file is read and parsed, and the changes are applied to the files.

imv (“interactive move”), is trivial but useful when you are too lazy to type (or even complete) the name of the file to rename twice. It allows a file name to be edited in the terminal using the GNU Readline library.

icp and qcp are similar to imv and qmv but for copying using “cp”.

deurlname removes URL encoded characters (such as %20 representing space) from file names. Some programs such as w3m tend to keep those characters encoded in saved files.

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

Install renameutils Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install renameutils

Install renameutils Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install renameutils

Install renameutils 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install renameutils

How To Uninstall renameutils on Ubuntu 18.04

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

sudo apt-get remove renameutils

Uninstall renameutils And Its Dependencies

To uninstall renameutils and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove renameutils

Remove renameutils Configurations and Data

To remove renameutils configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge renameutils

Remove renameutils configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge renameutils

References

Summary

In this tutorial we learn how to install renameutils package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.