How To Install ruby-systemu on Ubuntu 18.04
Introduction
In this tutorial we learn how to install ruby-systemu
on Ubuntu 18.04.
What is ruby-systemu
ruby-systemu is:
Systemu is a Ruby library to handle spawned processes in a platform independent fashion. This library will capture stdout and stderr and track child process pid.
There are three methods to install ruby-systemu
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 ruby-systemu 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-systemu
using apt-get
by running the following command:
sudo apt-get -y install ruby-systemu
Install ruby-systemu Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ruby-systemu
using apt
by running the following command:
sudo apt -y install ruby-systemu
Install ruby-systemu 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 ruby-systemu
using aptitude
by running the following command:
sudo aptitude -y install ruby-systemu
How To Uninstall ruby-systemu on Ubuntu 18.04
To uninstall only the ruby-systemu
package we can use the following command:
sudo apt-get remove ruby-systemu
Uninstall ruby-systemu And Its Dependencies
To uninstall ruby-systemu
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove ruby-systemu
Remove ruby-systemu Configurations and Data
To remove ruby-systemu
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge ruby-systemu
Remove ruby-systemu configuration, data, and all of its dependencies
We can use the following command to remove ruby-systemu
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-systemu
References
Summary
In this tutorial we learn how to install ruby-systemu
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.