How To Install python-nitime on Debian 9

In this tutorial we learn how to install python-nitime on Debian 9. python-nitime is timeseries analysis for neuroscience data (nitime)

Introduction

In this tutorial we learn how to install python-nitime on Debian 9.

What is python-nitime

python-nitime is:

Nitime is a Python module for time-series analysis of data from neuroscience experiments. It contains a core of numerical algorithms for time-series analysis both in the time and spectral domains, a set of container objects to represent time-series, and auxiliary objects that expose a high level interface to the numerical machinery and make common analysis tasks easy to express with compact and semantically clear code.

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

sudo apt-get -y install python-nitime

Install python-nitime Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-nitime

Install python-nitime 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install python-nitime

How To Uninstall python-nitime on Debian 9

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

sudo apt-get remove python-nitime

Uninstall python-nitime And Its Dependencies

To uninstall python-nitime and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove python-nitime

Remove python-nitime Configurations and Data

To remove python-nitime configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-nitime

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

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

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

Dependencies

python-nitime have the following dependencies:

References

Summary

In this tutorial we learn how to install python-nitime package on Debian 9 using different package management tools: apt, apt-get and aptitude.