How To Install ruby-async-http on Kali Linux

In this tutorial we learn how to install ruby-async-http on Kali Linux. ruby-async-http is HTTP client and server library

Introduction

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

What is ruby-async-http

ruby-async-http is:

An asynchronous client and server implementation of HTTP/1.0, HTTP/1.1 and HTTP/2 including TLS. Support for streaming requests and responses. Built on top of async and async-io. falcon provides a rack-compatible server.

There are three methods to install ruby-async-http 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-async-http 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-async-http using apt-get by running the following command:

sudo apt-get -y install ruby-async-http

Install ruby-async-http Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ruby-async-http

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

sudo aptitude -y install ruby-async-http

How To Uninstall ruby-async-http on Kali Linux

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

sudo apt-get remove ruby-async-http

Uninstall ruby-async-http And Its Dependencies

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

sudo apt-get -y autoremove ruby-async-http

Remove ruby-async-http Configurations and Data

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

sudo apt-get -y purge ruby-async-http

Remove ruby-async-http configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ruby-async-http

Dependencies

ruby-async-http have the following dependencies:

References

Summary

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