How To Install ruby-vagrant-cloud on Ubuntu 20.04

In this tutorial we learn how to install ruby-vagrant-cloud on Ubuntu 20.04. ruby-vagrant-cloud is Vagrant Cloud API Library

Introduction

In this tutorial we learn how to install ruby-vagrant-cloud on Ubuntu 20.04.

What is ruby-vagrant-cloud

ruby-vagrant-cloud is:

This package provides a client library that allows one to create, modify and delete boxes, versions and providers in the Vagrant cloud. The main entry point is an object referencing a Vagrant cloud account. Ruby-Versions: all

There are three methods to install ruby-vagrant-cloud on Ubuntu 20.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-vagrant-cloud 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-vagrant-cloud using apt-get by running the following command:

sudo apt-get -y install ruby-vagrant-cloud

Install ruby-vagrant-cloud Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ruby-vagrant-cloud

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

sudo aptitude -y install ruby-vagrant-cloud

How To Uninstall ruby-vagrant-cloud on Ubuntu 20.04

To uninstall only the ruby-vagrant-cloud package we can use the following command:

sudo apt-get remove ruby-vagrant-cloud

Uninstall ruby-vagrant-cloud And Its Dependencies

To uninstall ruby-vagrant-cloud and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove ruby-vagrant-cloud

Remove ruby-vagrant-cloud Configurations and Data

To remove ruby-vagrant-cloud configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge ruby-vagrant-cloud

Remove ruby-vagrant-cloud configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ruby-vagrant-cloud

References

Summary

In this tutorial we learn how to install ruby-vagrant-cloud package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.