How To Install gammaray-dev on Ubuntu 18.04
Introduction
In this tutorial we learn how to install gammaray-dev
on Ubuntu 18.04.
What is gammaray-dev
gammaray-dev is:
GammaRay is a tool for examining the internals of a Qt application and to some extent also manipulate it. GammaRay uses injection methods to hook into an application at runtime and provide access to a wide variety of interesting information. It provides easy ways of navigating through the complex internal structures you find in some Qt frameworks, such as QGraphicsView, model/view, QTextDocument, state machines and more.
This package contains header files used for building 3rd party GammaRay plugins.
There are three methods to install gammaray-dev
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 gammaray-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 gammaray-dev
using apt-get
by running the following command:
sudo apt-get -y install gammaray-dev
Install gammaray-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install gammaray-dev
using apt
by running the following command:
sudo apt -y install gammaray-dev
Install gammaray-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install gammaray-dev
using aptitude
by running the following command:
sudo aptitude -y install gammaray-dev
How To Uninstall gammaray-dev on Ubuntu 18.04
To uninstall only the gammaray-dev
package we can use the following command:
sudo apt-get remove gammaray-dev
Uninstall gammaray-dev And Its Dependencies
To uninstall gammaray-dev
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove gammaray-dev
Remove gammaray-dev Configurations and Data
To remove gammaray-dev
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge gammaray-dev
Remove gammaray-dev configuration, data, and all of its dependencies
We can use the following command to remove gammaray-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gammaray-dev
References
Summary
In this tutorial we learn how to install gammaray-dev
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.