How To Install libxdffileio-dev on Ubuntu 18.04

In this tutorial we learn how to install libxdffileio-dev on Ubuntu 18.04. libxdffileio-dev is Library to read/write EEG data file formats (development files)

Introduction

In this tutorial we learn how to install libxdffileio-dev on Ubuntu 18.04.

What is libxdffileio-dev

libxdffileio-dev is:

xdffileio is a library that provides a unified interface for writing and reading various biosignal file formats in realtime (i.e. streaming). It has been designed to provide a flexible, consistent and generic interface to all supported file formats while minimizing the overhead the function calls: the heaviest operations (type casting, scaling and formatting) are offloaded into a separated thread. This design makes its particularly suitable to be directly used in a data acquisition loop (like in electrophysiology recording or in Brain-Computer Interfaces (BCI)).

The genericity of the interface makes trivial various operations like transformation of a recorded file or its conversion to another file format. xdffileio currently supports EDF, BDF, GDF1 and GDF2 file formats and more will be added in future.

This package contains the files needed to compile and link programs which use xdffileio.

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

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

sudo apt-get update

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

sudo apt-get -y install libxdffileio-dev

Install libxdffileio-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libxdffileio-dev

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

sudo aptitude -y install libxdffileio-dev

How To Uninstall libxdffileio-dev on Ubuntu 18.04

To uninstall only the libxdffileio-dev package we can use the following command:

sudo apt-get remove libxdffileio-dev

Uninstall libxdffileio-dev And Its Dependencies

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

sudo apt-get -y autoremove libxdffileio-dev

Remove libxdffileio-dev Configurations and Data

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

sudo apt-get -y purge libxdffileio-dev

Remove libxdffileio-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libxdffileio-dev

References

Summary

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