How To Install uml-utilities on Debian 9
Introduction
In this tutorial we learn how to install uml-utilities
on Debian 9.
What is uml-utilities
uml-utilities is:
User-mode Linux is a port of the Linux kernel to its own system call interface. It provides a kind of virtual machine, which runs Linux as a user process under another Linux kernel. This is useful for kernel development, sandboxing, jailing, experimentation, and many other things.
This package contains userspace utilities for use with User-mode Linux, including uml_mconsole, uml_moo, uml_switch, uml_net and tunctl.
There are three methods to install uml-utilities
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 uml-utilities Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install uml-utilities
using apt-get
by running the following command:
sudo apt-get -y install uml-utilities
Install uml-utilities Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install uml-utilities
using apt
by running the following command:
sudo apt -y install uml-utilities
Install uml-utilities 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 uml-utilities
using aptitude
by running the following command:
sudo aptitude -y install uml-utilities
How To Uninstall uml-utilities on Debian 9
To uninstall only the uml-utilities
package we can use the following command:
sudo apt-get remove uml-utilities
Uninstall uml-utilities And Its Dependencies
To uninstall uml-utilities
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove uml-utilities
Remove uml-utilities Configurations and Data
To remove uml-utilities
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge uml-utilities
Remove uml-utilities configuration, data, and all of its dependencies
We can use the following command to remove uml-utilities
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge uml-utilities
Dependencies
uml-utilities have the following dependencies:
References
Summary
In this tutorial we learn how to install uml-utilities
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.