How To Install ruby-mp3tag on Kali Linux

In this tutorial we learn how to install ruby-mp3tag on Kali Linux. ruby-mp3tag is Ruby library for manipulating ID3V1.1 tags in MP3

Introduction

In this tutorial we learn how to install ruby-mp3tag on Kali Linux.

What is ruby-mp3tag

ruby-mp3tag is:

mp3tag.rb is a ruby class to read ID3v1.0 an ID3v1.1, and write ID3v1.1 tags in MP3 files. These tags save meta information about the music piece such song name, artist, album, genre, track number and a comment.

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

Install ruby-mp3tag Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ruby-mp3tag

Install ruby-mp3tag Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ruby-mp3tag

Install ruby-mp3tag Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install ruby-mp3tag

How To Uninstall ruby-mp3tag on Kali Linux

To uninstall only the ruby-mp3tag package we can use the following command:

sudo apt-get remove ruby-mp3tag

Uninstall ruby-mp3tag And Its Dependencies

To uninstall ruby-mp3tag and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove ruby-mp3tag

Remove ruby-mp3tag Configurations and Data

To remove ruby-mp3tag configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge ruby-mp3tag

Remove ruby-mp3tag configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ruby-mp3tag

Dependencies

ruby-mp3tag have the following dependencies:

References

Summary

In this tutorial we learn how to install ruby-mp3tag package on Kali Linux using different package management tools: apt, apt-get and aptitude.