How To Install ruby-buff-shell-out on Ubuntu 18.04
Introduction
In this tutorial we learn how to install ruby-buff-shell-out
on Ubuntu 18.04.
What is ruby-buff-shell-out
ruby-buff-shell-out is:
This library provides and platform agnostic way of executing shell commands on the local system.
This means it can be used with MRI, JRuby, Rubinius and probably with another Ruby platform implementations.
There are three methods to install ruby-buff-shell-out
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-buff-shell-out 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-buff-shell-out
using apt-get
by running the following command:
sudo apt-get -y install ruby-buff-shell-out
Install ruby-buff-shell-out Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ruby-buff-shell-out
using apt
by running the following command:
sudo apt -y install ruby-buff-shell-out
Install ruby-buff-shell-out 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-buff-shell-out
using aptitude
by running the following command:
sudo aptitude -y install ruby-buff-shell-out
How To Uninstall ruby-buff-shell-out on Ubuntu 18.04
To uninstall only the ruby-buff-shell-out
package we can use the following command:
sudo apt-get remove ruby-buff-shell-out
Uninstall ruby-buff-shell-out And Its Dependencies
To uninstall ruby-buff-shell-out
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove ruby-buff-shell-out
Remove ruby-buff-shell-out Configurations and Data
To remove ruby-buff-shell-out
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge ruby-buff-shell-out
Remove ruby-buff-shell-out configuration, data, and all of its dependencies
We can use the following command to remove ruby-buff-shell-out
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-buff-shell-out
References
Summary
In this tutorial we learn how to install ruby-buff-shell-out
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.