How To Install python-pyepl on Ubuntu 20.04

In this tutorial we learn how to install python-pyepl on Ubuntu 20.04. python-pyepl is module for coding psychology experiments in Python

Introduction

In this tutorial we learn how to install python-pyepl on Ubuntu 20.04.

What is python-pyepl

python-pyepl is:

PyEPL is a stimuli delivery and response registration toolkit to be used for generating psychology (as well as neuroscience, marketing research, and other) experiments.

It provides

  • presentation: both visual and auditory stimuli
  • responses registration: both manual (keyboard/joystick) and sound (microphone) time-stamped
  • sync-pulsing: synchronizing your behavioral task with external acquisition hardware
  • flexibility of encoding various experiments due to the use of Python as a description language
  • fast execution of critical points due to the calls to linked compiled libraries

This toolbox is here to be an alternative for a widely used commercial product E’(E-Prime)

This package provides PyEPL for supported versions of Python.

There are three methods to install python-pyepl 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 python-pyepl 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-pyepl using apt-get by running the following command:

sudo apt-get -y install python-pyepl

Install python-pyepl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-pyepl

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

sudo aptitude -y install python-pyepl

How To Uninstall python-pyepl on Ubuntu 20.04

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

sudo apt-get remove python-pyepl

Uninstall python-pyepl And Its Dependencies

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

sudo apt-get -y autoremove python-pyepl

Remove python-pyepl Configurations and Data

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

sudo apt-get -y purge python-pyepl

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

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

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

References

Summary

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