How To Install libeztrace0-contrib on Ubuntu 18.04

In this tutorial we learn how to install libeztrace0-contrib on Ubuntu 18.04. libeztrace0-contrib is Automatic execution trace generation for HPC - development files

Introduction

In this tutorial we learn how to install libeztrace0-contrib on Ubuntu 18.04.

What is libeztrace0-contrib

libeztrace0-contrib is:

EZTrace is a tool that aims at generating automatically execution traces from HPC (High Performance Computing) programs. It generates execution trace files that can be interpreted by visualization tools such as ViTE. It uses LD_PRELOAD and dlsym() to intercept calls to the usual HPC primitives, to be observed.

This package contains the development files depending on CUDA.

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

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

sudo apt-get update

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

sudo apt-get -y install libeztrace0-contrib

Install libeztrace0-contrib Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libeztrace0-contrib

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

sudo aptitude -y install libeztrace0-contrib

How To Uninstall libeztrace0-contrib on Ubuntu 18.04

To uninstall only the libeztrace0-contrib package we can use the following command:

sudo apt-get remove libeztrace0-contrib

Uninstall libeztrace0-contrib And Its Dependencies

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

sudo apt-get -y autoremove libeztrace0-contrib

Remove libeztrace0-contrib Configurations and Data

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

sudo apt-get -y purge libeztrace0-contrib

Remove libeztrace0-contrib configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libeztrace0-contrib

References

Summary

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