How To Install python-lunch on Ubuntu 18.04

In this tutorial we learn how to install python-lunch on Ubuntu 18.04. python-lunch is distributed process launcher

Introduction

In this tutorial we learn how to install python-lunch on Ubuntu 18.04.

What is python-lunch

python-lunch is:

Lunch is a simple distributed process launcher and manager for GNU/Linux.

With Lunch, one can launch software processes on several different computers and make sure they keep running. This software was created to suit the needs of new media artists for live performances and interactive installations. It respawns the software that crash and provides a mean to manage dependencies between running processes.

This package provides the lunch library for Python. as well as the command-line lunch utility which can be invoked with a GTK+ user interface.

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

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

sudo apt-get update

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

sudo apt-get -y install python-lunch

Install python-lunch Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-lunch

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

sudo aptitude -y install python-lunch

How To Uninstall python-lunch on Ubuntu 18.04

To uninstall only the python-lunch package we can use the following command:

sudo apt-get remove python-lunch

Uninstall python-lunch And Its Dependencies

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

sudo apt-get -y autoremove python-lunch

Remove python-lunch Configurations and Data

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

sudo apt-get -y purge python-lunch

Remove python-lunch configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-lunch

References

Summary

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