How To Install userv on Ubuntu 18.04

In this tutorial we learn how to install userv on Ubuntu 18.04. userv is `user services - program call across trust boundaries

Introduction

In this tutorial we learn how to install userv on Ubuntu 18.04.

What is userv

userv is:

userv allows one program to invoke another when only limited trust exists between them. It is a tool which can be used to avoid having to give other system services root privilege, and which allows users to more securely have programs provide services to others.

userv can be useful as `glue’ for system administrators; there are not many full-blown userv-using applications yet.

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

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

sudo apt-get update

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

sudo apt-get -y install userv

Install userv Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install userv using apt by running the following command:

sudo apt -y install userv

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

sudo aptitude -y install userv

How To Uninstall userv on Ubuntu 18.04

To uninstall only the userv package we can use the following command:

sudo apt-get remove userv

Uninstall userv And Its Dependencies

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

sudo apt-get -y autoremove userv

Remove userv Configurations and Data

To remove userv configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge userv

Remove userv configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge userv

References

Summary

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