How To Install jobservice on Ubuntu 18.04

In this tutorial we learn how to install jobservice on Ubuntu 18.04. jobservice is system job management daemon

Introduction

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

What is jobservice

jobservice is:

jobservice is a system daemon that is accessible over DBus, providing methods for controlling jobs (services) on a system using Upstart 0.6 or a plain System V boot.

It is likely used in conjunction with jobs-admin, the GTK+ interface used to manage the jobs.

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

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

sudo apt-get update

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

sudo apt-get -y install jobservice

Install jobservice Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install jobservice

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

sudo aptitude -y install jobservice

How To Uninstall jobservice on Ubuntu 18.04

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

sudo apt-get remove jobservice

Uninstall jobservice And Its Dependencies

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

sudo apt-get -y autoremove jobservice

Remove jobservice Configurations and Data

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

sudo apt-get -y purge jobservice

Remove jobservice configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge jobservice

References

Summary

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