How To Install libxdffileio0 on Ubuntu 18.04

In this tutorial we learn how to install libxdffileio0 on Ubuntu 18.04. libxdffileio0 is Library to read/write EEG data file formats

Introduction

In this tutorial we learn how to install libxdffileio0 on Ubuntu 18.04.

What is libxdffileio0

libxdffileio0 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 of 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.

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

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

sudo apt-get update

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

sudo apt-get -y install libxdffileio0

Install libxdffileio0 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libxdffileio0 using apt by running the following command:

sudo apt -y install libxdffileio0

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

sudo aptitude -y install libxdffileio0

How To Uninstall libxdffileio0 on Ubuntu 18.04

To uninstall only the libxdffileio0 package we can use the following command:

sudo apt-get remove libxdffileio0

Uninstall libxdffileio0 And Its Dependencies

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

sudo apt-get -y autoremove libxdffileio0

Remove libxdffileio0 Configurations and Data

To remove libxdffileio0 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libxdffileio0

Remove libxdffileio0 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libxdffileio0

References

Summary

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