How To Install ruby-celluloid-io on Debian 10

Learn how to install ruby-celluloid-io on Debian 10 with this tutorial. ruby-celluloid-io is Ruby library providing an event-driven IO system for Celluloid actors

Introduction

In this tutorial we learn how to install ruby-celluloid-io on Debian 10.

What is ruby-celluloid-io

ruby-celluloid-io is:

Celluloid::IO provides an event-driven IO system and sockets useful for building fast and scalable network applications that integrates directly with the Celluloid actor library, making it easy to combine both threaded and evented concepts.

Celluloid::IO is ideal for implementing services which handle large numbers of mostly-idle connections, such as Websocket servers or chat/messaging systems.

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

sudo apt-get -y install ruby-celluloid-io

Install ruby-celluloid-io Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ruby-celluloid-io

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

sudo aptitude -y install ruby-celluloid-io

How To Uninstall ruby-celluloid-io on Debian 10

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

sudo apt-get remove ruby-celluloid-io

Uninstall ruby-celluloid-io And Its Dependencies

To uninstall ruby-celluloid-io and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove ruby-celluloid-io

Remove ruby-celluloid-io Configurations and Data

To remove ruby-celluloid-io configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge ruby-celluloid-io

Remove ruby-celluloid-io configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ruby-celluloid-io

Dependencies

ruby-celluloid-io have the following dependencies:

References

Summary

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