How To Install mistral-engine on Ubuntu 20.04

In this tutorial we learn how to install mistral-engine on Ubuntu 20.04. mistral-engine is OpenStack Workflow service - Engine OpenStack Workflow service - Engine

Introduction

In this tutorial we learn how to install mistral-engine on Ubuntu 20.04.

What is mistral-engine

mistral-engine is:

Mistral is a workflow service. Most business processes consist of multiple distinct interconnected steps that need to be executed in a particular order in a distributed environment. One can describe such process as a set of tasks and task relations and upload such description to Mistral so that it takes care of state management, correct execution order, parallelism, synchronization and high availability. Mistral also provides flexible task scheduling so that it can run a process according to a specified schedule (i.e. every Sunday at 4.00pm) instead of running it immediately. Such set of tasks and relations between them is called a workflow.

This package contains the Engine.

Package: mistral-engine Architecture: all Version: 10.0.0~b3~git2020041013.a7da00d7-0ubuntu1 Priority: extra Section: universe/net Source: mistral Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian OpenStack [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 30 Depends: adduser, mistral-common (= 10.0.0~b3~git2020041013.a7da00d7-0ubuntu1) Filename: pool/universe/m/mistral/mistral-engine_10.0.0~b3~git2020041013.a7da00d7-0ubuntu1_all.deb Size: 5216 MD5sum: 3d77232f71e264926284732734f4475f SHA1: 3d6c8a818080487ea27d50df84ee8dbf7f9b431b SHA256: a7b916167a10a9a49a0a3147e42052e761c0c7b915809edf452c8027fab8cb9e Homepage: https://github.com/openstack/mistral Description-en: OpenStack Workflow service - Engine Mistral is a workflow service. Most business processes consist of multiple distinct interconnected steps that need to be executed in a particular order in a distributed environment. One can describe such process as a set of tasks and task relations and upload such description to Mistral so that it takes care of state management, correct execution order, parallelism, synchronization and high availability. Mistral also provides flexible task scheduling so that it can run a process according to a specified schedule (i.e. every Sunday at 4.00pm) instead of running it immediately. Such set of tasks and relations between them is called a workflow.

This package contains the Engine.

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

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

sudo apt-get update

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

sudo apt-get -y install mistral-engine

Install mistral-engine Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mistral-engine

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

sudo aptitude -y install mistral-engine

How To Uninstall mistral-engine on Ubuntu 20.04

To uninstall only the mistral-engine package we can use the following command:

sudo apt-get remove mistral-engine

Uninstall mistral-engine And Its Dependencies

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

sudo apt-get -y autoremove mistral-engine

Remove mistral-engine Configurations and Data

To remove mistral-engine configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge mistral-engine

Remove mistral-engine configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mistral-engine

References

Summary

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