How To Install buildstream on Ubuntu 20.04

In this tutorial we learn how to install buildstream on Ubuntu 20.04. buildstream is toolset for the Buildstream project

Introduction

In this tutorial we learn how to install buildstream on Ubuntu 20.04.

What is buildstream

buildstream is:

BuildStream is a GNOME project to improve the continuous integration of complex systems and applications. The project aims to pay special attention to those developers and integrators who care about the maintainability of their projects during a long period of time.

BuildStream is also a powerful and flexible software integration toolset. It has been designed to create different outputs out of a unique input and, at the same time, it is able to adapt to complex workflows, even when additional build tools are required. An important part of BuildStream is a sister project called BuildGrid, that allows BuildStream to build at scale.

This package provides the toolset, accessible with the bst command.

There are three methods to install buildstream on Ubuntu 20.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 buildstream Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install buildstream

Install buildstream Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install buildstream

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

sudo aptitude -y install buildstream

How To Uninstall buildstream on Ubuntu 20.04

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

sudo apt-get remove buildstream

Uninstall buildstream And Its Dependencies

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

sudo apt-get -y autoremove buildstream

Remove buildstream Configurations and Data

To remove buildstream configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge buildstream

Remove buildstream configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge buildstream

References

Summary

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