How To Install libqtruby4shared-dev on Debian 9

In this tutorial we learn how to install libqtruby4shared-dev on Debian 9. libqtruby4shared-dev is internal library for Qt 4 Ruby bindings – development

Introduction

In this tutorial we learn how to install libqtruby4shared-dev on Debian 9.

What is libqtruby4shared-dev

libqtruby4shared-dev is:

This package provides the development files of the internal Qt Ruby library.

This is part of the Qt Ruby module.

There are three methods to install libqtruby4shared-dev on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libqtruby4shared-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libqtruby4shared-dev using apt-get by running the following command:

sudo apt-get -y install libqtruby4shared-dev

Install libqtruby4shared-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libqtruby4shared-dev using apt by running the following command:

sudo apt -y install libqtruby4shared-dev

Install libqtruby4shared-dev 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libqtruby4shared-dev using aptitude by running the following command:

sudo aptitude -y install libqtruby4shared-dev

How To Uninstall libqtruby4shared-dev on Debian 9

To uninstall only the libqtruby4shared-dev package we can use the following command:

sudo apt-get remove libqtruby4shared-dev

Uninstall libqtruby4shared-dev And Its Dependencies

To uninstall libqtruby4shared-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libqtruby4shared-dev

Remove libqtruby4shared-dev Configurations and Data

To remove libqtruby4shared-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libqtruby4shared-dev

Remove libqtruby4shared-dev configuration, data, and all of its dependencies

We can use the following command to remove libqtruby4shared-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libqtruby4shared-dev

Dependencies

libqtruby4shared-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libqtruby4shared-dev package on Debian 9 using different package management tools: apt, apt-get and aptitude.