How To Install libmono-profiler-gui-thread-check on Ubuntu 18.04

In this tutorial we learn how to install libmono-profiler-gui-thread-check on Ubuntu 18.04. libmono-profiler-gui-thread-check is Mono profiler library to debug GUI threading issues

Introduction

In this tutorial we learn how to install libmono-profiler-gui-thread-check on Ubuntu 18.04.

What is libmono-profiler-gui-thread-check

libmono-profiler-gui-thread-check is:

This package provides the gui-thread-check Mono profiler library. This library is used to find incorrect thread usage in GTK# applications. The gui-thread-check library is only activated if explicitly passed to the Mono runtime by adding –profile=gui-thread-check as parameter.

GTK# 3.0 is a CLI (.NET) language binding for the GTK+ 3.0 toolkit and related libraries.

There are three methods to install libmono-profiler-gui-thread-check 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 libmono-profiler-gui-thread-check Using apt-get

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

sudo apt-get update

After updating apt database, We can install libmono-profiler-gui-thread-check using apt-get by running the following command:

sudo apt-get -y install libmono-profiler-gui-thread-check

Install libmono-profiler-gui-thread-check Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libmono-profiler-gui-thread-check using apt by running the following command:

sudo apt -y install libmono-profiler-gui-thread-check

Install libmono-profiler-gui-thread-check 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 libmono-profiler-gui-thread-check using aptitude by running the following command:

sudo aptitude -y install libmono-profiler-gui-thread-check

How To Uninstall libmono-profiler-gui-thread-check on Ubuntu 18.04

To uninstall only the libmono-profiler-gui-thread-check package we can use the following command:

sudo apt-get remove libmono-profiler-gui-thread-check

Uninstall libmono-profiler-gui-thread-check And Its Dependencies

To uninstall libmono-profiler-gui-thread-check and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libmono-profiler-gui-thread-check

Remove libmono-profiler-gui-thread-check Configurations and Data

To remove libmono-profiler-gui-thread-check configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libmono-profiler-gui-thread-check

Remove libmono-profiler-gui-thread-check configuration, data, and all of its dependencies

We can use the following command to remove libmono-profiler-gui-thread-check configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libmono-profiler-gui-thread-check

References

Summary

In this tutorial we learn how to install libmono-profiler-gui-thread-check package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.