How To Install booth on Ubuntu 22.04

In this tutorial we learn how to install booth on Ubuntu 22.04. booth is Cluster Ticket Manager

Introduction

In this tutorial we learn how to install booth on Ubuntu 22.04.

What is booth

booth is:

Booth manages tickets which authorize cluster sites located in geographically dispersed locations to run resources. It facilitates support of geographically distributed clustering in Pacemaker.

Booth is based on the Raft consensus algorithm. Though the implementation is not complete (there is no log) and there are a few additions and modifications, booth guarantees that a ticket is always available at just one site as long as it has exclusive control of the tickets.

This package contains the booth daemon, and a script to run booth in standalone (“arbitrator”) mode.

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

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

sudo apt-get update

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

sudo apt-get -y install booth

Install booth Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install booth

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

sudo aptitude -y install booth

How To Uninstall booth on Ubuntu 22.04

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

sudo apt-get remove booth

Uninstall booth And Its Dependencies

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

sudo apt-get -y autoremove booth

Remove booth Configurations and Data

To remove booth configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge booth

Remove booth configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge booth

References

Summary

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