How To Install reel on Ubuntu 18.04
Introduction
In this tutorial we learn how to install reel on Ubuntu 18.04.
What is reel
reel is:
Reel is a fast, non-blocking “evented” web server built on http_parser.rb, websocket_parser, Celluloid::IO, and nio4r. Thanks to Celluloid, Reel also works great for multithreaded applications and provides traditional multithreaded blocking I/O support too.
Connections to Reel can be either non-blocking and handled entirely within the Reel::Server thread (handling HTTP, HTTPS, or UNIX sockets), or the same connections can be dispatched to worker threads where they will perform ordinary blocking IO. Reel provides no built-in thread pool, however you can build one yourself using Celluloid.pool, or because Celluloid already pools threads to begin with, you can simply use an actor per connection.
There are three methods to install reel 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 reel Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install reel using apt-get by running the following command:
sudo apt-get -y install reel
Install reel Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install reel using apt by running the following command:
sudo apt -y install reel
Install reel 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 reel using aptitude by running the following command:
sudo aptitude -y install reel
How To Uninstall reel on Ubuntu 18.04
To uninstall only the reel package we can use the following command:
sudo apt-get remove reel
Uninstall reel And Its Dependencies
To uninstall reel and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove reel
Remove reel Configurations and Data
To remove reel configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge reel
Remove reel configuration, data, and all of its dependencies
We can use the following command to remove reel configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge reel
References
Summary
In this tutorial we learn how to install reel package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.