How To Install python3-ruffus on Ubuntu 18.04

In this tutorial we learn how to install python3-ruffus on Ubuntu 18.04. python3-ruffus is Python3 computation pipeline library widely used in bioinformatics

Introduction

In this tutorial we learn how to install python3-ruffus on Ubuntu 18.04.

What is python3-ruffus

python3-ruffus is:

Ruffus is designed to allow scientific and other analyses to be automated with the minimum of fuss and the least effort.

  • Lightweight: Suitable for the simplest of tasks
  • Scalable: Handles even fiendishly complicated pipelines which would cause make or scons to go cross-eyed and recursive.
  • Standard Python: No “clever magic”, no pre-processing.
  • Unintrusive: Unambitious, lightweight syntax which tries to do this one small thing well.

This package provides python3 modules.

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

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

sudo apt-get update

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

sudo apt-get -y install python3-ruffus

Install python3-ruffus Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-ruffus

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

sudo aptitude -y install python3-ruffus

How To Uninstall python3-ruffus on Ubuntu 18.04

To uninstall only the python3-ruffus package we can use the following command:

sudo apt-get remove python3-ruffus

Uninstall python3-ruffus And Its Dependencies

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

sudo apt-get -y autoremove python3-ruffus

Remove python3-ruffus Configurations and Data

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

sudo apt-get -y purge python3-ruffus

Remove python3-ruffus configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python3-ruffus

References

Summary

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