How To Install ruby-clutter-gtk on Ubuntu 18.04

In this tutorial we learn how to install ruby-clutter-gtk on Ubuntu 18.04. ruby-clutter-gtk is Clutter-Gtk bindings for the Ruby language

Introduction

In this tutorial we learn how to install ruby-clutter-gtk on Ubuntu 18.04.

What is ruby-clutter-gtk

ruby-clutter-gtk is:

Clutter-Gtk is an integration library for the Clutter toolkit providing access and integration for the GTK+ library. Clutter-Gtk allows embedding a Clutter scene graph into a GTK+ application; retrieving themeing information; integrate GTK+ data structures and object classes with Clutter actors.

This package contains libraries for using Clutter-Gtk with the Ruby language.

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

sudo apt-get -y install ruby-clutter-gtk

Install ruby-clutter-gtk Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ruby-clutter-gtk

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

sudo aptitude -y install ruby-clutter-gtk

How To Uninstall ruby-clutter-gtk on Ubuntu 18.04

To uninstall only the ruby-clutter-gtk package we can use the following command:

sudo apt-get remove ruby-clutter-gtk

Uninstall ruby-clutter-gtk And Its Dependencies

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

sudo apt-get -y autoremove ruby-clutter-gtk

Remove ruby-clutter-gtk Configurations and Data

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

sudo apt-get -y purge ruby-clutter-gtk

Remove ruby-clutter-gtk configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ruby-clutter-gtk

References

Summary

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