How To Install ruby-character-set on Debian 11

In this tutorial we learn how to install ruby-character-set on Debian 11. ruby-character-set is Build, read, write and compare sets of Unicode codepoints

Introduction

In this tutorial we learn how to install ruby-character-set on Debian 11.

What is ruby-character-set

ruby-character-set is:

Many parts can be used independently, e.g.:

  • CharacterSet::Character
  • CharacterSet::Parser
  • CharacterSet::Writer
  • RangeCompressor

There are three methods to install ruby-character-set on Debian 11. 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-character-set 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-character-set using apt-get by running the following command:

sudo apt-get -y install ruby-character-set

Install ruby-character-set Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ruby-character-set

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

sudo aptitude -y install ruby-character-set

How To Uninstall ruby-character-set on Debian 11

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

sudo apt-get remove ruby-character-set

Uninstall ruby-character-set And Its Dependencies

To uninstall ruby-character-set and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove ruby-character-set

Remove ruby-character-set Configurations and Data

To remove ruby-character-set configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge ruby-character-set

Remove ruby-character-set configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ruby-character-set

Dependencies

ruby-character-set have the following dependencies:

References

Summary

In this tutorial we learn how to install ruby-character-set package on Debian 11 using different package management tools: apt, apt-get and aptitude.