How To Install libumlib-dev on Ubuntu 18.04

In this tutorial we learn how to install libumlib-dev on Ubuntu 18.04. libumlib-dev is View-OS in user space - Development files

Introduction

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

What is libumlib-dev

libumlib-dev is:

View-OS is a novel approach to the process/kernel interface. The semantics of each system call can be assigned process by process giving the user the right to decide which view of the system each process has to join. Each process can “see” a different file system structure, networking resources, processor, devices. Moreover some of the resources can be provided by the user him/herself, thus these resource can be private to the single process and are not known a priori by the system. Groups of processes can share the same view but this is just an optimization to share management methods.

For more information, see http://wiki.virtualsquare.org

UMView is a user-mode implementation of View-OS. Processes are run with a controlling daemon that captures all the system calls (at present using the ptrace() system call) and uses dynamically loadable modules to change their semantic.

This package contains headers and library needed to write and compile new UMView modules. For some simple module examples, you can take a look to the existing modules (expecially in the um_testmodule directory of the source tree).

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

sudo apt-get -y install libumlib-dev

Install libumlib-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libumlib-dev

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

sudo aptitude -y install libumlib-dev

How To Uninstall libumlib-dev on Ubuntu 18.04

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

sudo apt-get remove libumlib-dev

Uninstall libumlib-dev And Its Dependencies

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

sudo apt-get -y autoremove libumlib-dev

Remove libumlib-dev Configurations and Data

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

sudo apt-get -y purge libumlib-dev

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

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

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

References

Summary

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