How To Install kernel-patch-viewos on Debian 9

In this tutorial we learn how to install kernel-patch-viewos on Debian 9. kernel-patch-viewos is View-OS - Kernel patch for better UMView performances

Introduction

In this tutorial we learn how to install kernel-patch-viewos on Debian 9.

What is kernel-patch-viewos

kernel-patch-viewos 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

This package contains a couple of kernel patches that should be used together with UMView. Though not required, they consent dramatic improvements in performances. These patches are quite general and can also be used by other virtualization software (as User Mode Linux, or everything that uses the ptrace() system call) to increase performances.

There are three methods to install kernel-patch-viewos on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install kernel-patch-viewos Using apt-get

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

sudo apt-get update

After updating apt database, We can install kernel-patch-viewos using apt-get by running the following command:

sudo apt-get -y install kernel-patch-viewos

Install kernel-patch-viewos Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install kernel-patch-viewos using apt by running the following command:

sudo apt -y install kernel-patch-viewos

Install kernel-patch-viewos 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install kernel-patch-viewos using aptitude by running the following command:

sudo aptitude -y install kernel-patch-viewos

How To Uninstall kernel-patch-viewos on Debian 9

To uninstall only the kernel-patch-viewos package we can use the following command:

sudo apt-get remove kernel-patch-viewos

Uninstall kernel-patch-viewos And Its Dependencies

To uninstall kernel-patch-viewos and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove kernel-patch-viewos

Remove kernel-patch-viewos Configurations and Data

To remove kernel-patch-viewos configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge kernel-patch-viewos

Remove kernel-patch-viewos configuration, data, and all of its dependencies

We can use the following command to remove kernel-patch-viewos configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge kernel-patch-viewos

Dependencies

kernel-patch-viewos have the following dependencies:

References

Summary

In this tutorial we learn how to install kernel-patch-viewos package on Debian 9 using different package management tools: apt, apt-get and aptitude.