How To Install umview-mod-umdevtap on Ubuntu 18.04

In this tutorial we learn how to install umview-mod-umdevtap on Ubuntu 18.04. umview-mod-umdevtap is View-OS in user space - Virtual TUN/TAP module

Introduction

In this tutorial we learn how to install umview-mod-umdevtap on Ubuntu 18.04.

What is umview-mod-umdevtap

umview-mod-umdevtap 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 a sub-module for umdev. umdev is contained in the main UMView package and allows virtualization of character and block devices. umdevtap creates a virtual TUN/TAP interface (i.e. /dev/net/tun). On the outer side, UMView opens a connection to a VDE switch.

There are three methods to install umview-mod-umdevtap 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 umview-mod-umdevtap Using apt-get

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

sudo apt-get update

After updating apt database, We can install umview-mod-umdevtap using apt-get by running the following command:

sudo apt-get -y install umview-mod-umdevtap

Install umview-mod-umdevtap Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install umview-mod-umdevtap using apt by running the following command:

sudo apt -y install umview-mod-umdevtap

Install umview-mod-umdevtap 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 umview-mod-umdevtap using aptitude by running the following command:

sudo aptitude -y install umview-mod-umdevtap

How To Uninstall umview-mod-umdevtap on Ubuntu 18.04

To uninstall only the umview-mod-umdevtap package we can use the following command:

sudo apt-get remove umview-mod-umdevtap

Uninstall umview-mod-umdevtap And Its Dependencies

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

sudo apt-get -y autoremove umview-mod-umdevtap

Remove umview-mod-umdevtap Configurations and Data

To remove umview-mod-umdevtap configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge umview-mod-umdevtap

Remove umview-mod-umdevtap configuration, data, and all of its dependencies

We can use the following command to remove umview-mod-umdevtap configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge umview-mod-umdevtap

References

Summary

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