How To Install libufo-dev on Ubuntu 18.04

In this tutorial we learn how to install libufo-dev on Ubuntu 18.04. libufo-dev is Library for high-performance, GPU-based computing - devel

Introduction

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

What is libufo-dev

libufo-dev is:

The UFO data processing framework is a C library suited to build general purpose streams data processing on heterogeneous architectures such as CPUs, GPUs or clusters. It is extensively used at the Karlsruhe Institute of Technology for Ultra-fast X-ray Imaging (radiography, tomography and laminography).

A gobject-instrospection binding is also provided to write scripts or user interfaces.

This package contain the development files for libufo.

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

sudo apt-get -y install libufo-dev

Install libufo-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libufo-dev

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

sudo aptitude -y install libufo-dev

How To Uninstall libufo-dev on Ubuntu 18.04

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

sudo apt-get remove libufo-dev

Uninstall libufo-dev And Its Dependencies

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

sudo apt-get -y autoremove libufo-dev

Remove libufo-dev Configurations and Data

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

sudo apt-get -y purge libufo-dev

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

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

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

References

Summary

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