How To Install libeegdev-dev on Ubuntu 18.04

In this tutorial we learn how to install libeegdev-dev on Ubuntu 18.04. libeegdev-dev is Biosignal acquisition device library (Developement files)

Introduction

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

What is libeegdev-dev

libeegdev-dev is:

eegdev is a library that provides a unified interface for accessing various EEG (and other biosignals) acquisition systems. This interface has been designed to be both flexible and efficient. The device specific part is implemented by the mean of plugins which makes adding new device backend fairly easy even if the library does not support them yet officially.

The core library not only provides to users a unified and consistent interfaces to the acquisition device but it also provides many functionalities to the device backends (plugins) ranging from configuration to data casting and scaling making writing new device backend an easy task.

This library is particularly useful to handle the acquisition part of a Brain Computer Interface (BCI) or any realtime multi-electrode acquisition in neurophysiological research.

This package contains the files needed to compile and link programs which use eegdev. Its provides also the headers neeeded to develop new device plugins. The manpages and examples are shipped in this package.

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

sudo apt-get -y install libeegdev-dev

Install libeegdev-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libeegdev-dev

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

sudo aptitude -y install libeegdev-dev

How To Uninstall libeegdev-dev on Ubuntu 18.04

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

sudo apt-get remove libeegdev-dev

Uninstall libeegdev-dev And Its Dependencies

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

sudo apt-get -y autoremove libeegdev-dev

Remove libeegdev-dev Configurations and Data

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

sudo apt-get -y purge libeegdev-dev

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

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

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

References

Summary

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