How To Install rebuildd on Ubuntu 18.04

In this tutorial we learn how to install rebuildd on Ubuntu 18.04. rebuildd is build daemon aiming at rebuilding Debian packages

Introduction

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

What is rebuildd

rebuildd is:

This software allows you to manage a set of jobs. Each job is a package rebuilding task. Rebuilding is done by pbuilder (or cowbuilder if you want), or anything else, since everything is customizable via configuration file. It can also send build logs by email, event each log can be sent to a different email address.

rebuildd is multi-threaded, so you can run multiple build jobs in parallel. It is also administrable via a telnet interface. A Web interface is also embedded so you can see your jobs queue and watch log file in real-time in your browser.

rebuildd is designed to be run on multiple hosts even with different architecture set, and to parallelize the rebuild tasks.

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

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

sudo apt-get update

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

sudo apt-get -y install rebuildd

Install rebuildd Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install rebuildd

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

sudo aptitude -y install rebuildd

How To Uninstall rebuildd on Ubuntu 18.04

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

sudo apt-get remove rebuildd

Uninstall rebuildd And Its Dependencies

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

sudo apt-get -y autoremove rebuildd

Remove rebuildd Configurations and Data

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

sudo apt-get -y purge rebuildd

Remove rebuildd configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge rebuildd

References

Summary

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