How To Install debci-worker on Ubuntu 18.04

In this tutorial we learn how to install debci-worker on Ubuntu 18.04. debci-worker is continuous integration system for Debian (worker daemon)

Introduction

In this tutorial we learn how to install debci-worker on Ubuntu 18.04.

What is debci-worker

debci-worker is:

debci will scan the Debian archive for packages that contain DEP-8 compliant test suites, and run those test suites whenever a new version of the package, or of any package in its dependency chain (modulo the base system), is available.

The requests are distributed to worker machines through AMQP queues. You need rabbitmq-server for this; but it is also possible to run RabbitMQ on a different server than debci, in which case you do not need to install that recommendation.

This package provides cron and init integration for running debci worker daemons that will listen to AMQP queues and run test jobs.

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

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

sudo apt-get update

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

sudo apt-get -y install debci-worker

Install debci-worker Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install debci-worker

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

sudo aptitude -y install debci-worker

How To Uninstall debci-worker on Ubuntu 18.04

To uninstall only the debci-worker package we can use the following command:

sudo apt-get remove debci-worker

Uninstall debci-worker And Its Dependencies

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

sudo apt-get -y autoremove debci-worker

Remove debci-worker Configurations and Data

To remove debci-worker configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge debci-worker

Remove debci-worker configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge debci-worker

References

Summary

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