How To Install libmygui-dev on Ubuntu 18.04

In this tutorial we learn how to install libmygui-dev on Ubuntu 18.04. libmygui-dev is Fast, simple and flexible GUI for OpenMW - development files

Introduction

In this tutorial we learn how to install libmygui-dev on Ubuntu 18.04.

What is libmygui-dev

libmygui-dev is:

MyGUI is a GUI library which aims to be fast, flexible and simple GUIs in C++. Features include Layout Editor. Multicolour text. Per pixel cut. Changing alpha support for widgets (also in states configuration). Interface localisation. Fast RTTI for safe casts. Tool tips. Animated cursors and pictures. User xml resources. Truetype fonts and fonts from texture. Widgets controllers (moving, fading and so on). Flexible configuration in xml config file. Subskins with tiling, with direct access to texture. Possibility to store any data in widgets items. Skin themes. Wrappers for fast UI development. Drag’n’drop.

This package contains the headers and static libraries needed to develop programs using MyGUI.

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

sudo apt-get -y install libmygui-dev

Install libmygui-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmygui-dev

Install libmygui-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 libmygui-dev using aptitude by running the following command:

sudo aptitude -y install libmygui-dev

How To Uninstall libmygui-dev on Ubuntu 18.04

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

sudo apt-get remove libmygui-dev

Uninstall libmygui-dev And Its Dependencies

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

sudo apt-get -y autoremove libmygui-dev

Remove libmygui-dev Configurations and Data

To remove libmygui-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libmygui-dev

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

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

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

References

Summary

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