How To Install ruby-bootstrap-form on Ubuntu 18.04

In this tutorial we learn how to install ruby-bootstrap-form on Ubuntu 18.04. ruby-bootstrap-form is makes it easy to style forms using Twitter Bootstrap 3+

Introduction

In this tutorial we learn how to install ruby-bootstrap-form on Ubuntu 18.04.

What is ruby-bootstrap-form

ruby-bootstrap-form is:

bootstrap_form is a rails form builder that makes it super easy to create beautiful-looking forms using Twitter Bootstrap 3+. This library makes it super easy to integrate twitter bootstrap-style forms into your rails application.

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

sudo apt-get -y install ruby-bootstrap-form

Install ruby-bootstrap-form Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ruby-bootstrap-form

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

sudo aptitude -y install ruby-bootstrap-form

How To Uninstall ruby-bootstrap-form on Ubuntu 18.04

To uninstall only the ruby-bootstrap-form package we can use the following command:

sudo apt-get remove ruby-bootstrap-form

Uninstall ruby-bootstrap-form And Its Dependencies

To uninstall ruby-bootstrap-form and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove ruby-bootstrap-form

Remove ruby-bootstrap-form Configurations and Data

To remove ruby-bootstrap-form configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge ruby-bootstrap-form

Remove ruby-bootstrap-form configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ruby-bootstrap-form

References

Summary

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