How To Install starpu-contrib-examples on Ubuntu 18.04
Introduction
In this tutorial we learn how to install starpu-contrib-examples
on Ubuntu 18.04.
What is starpu-contrib-examples
starpu-contrib-examples is:
StarPU is a runtime system that offers support for heterogeneous multicore machines. While many efforts are devoted to design efficient computation kernels for those architectures (e.g. to implement BLAS kernels on GPUs or on Cell’s SPUs), StarPU not only takes care of offloading such kernels (and implementing data coherency across the machine), but it also makes sure the kernels are executed as efficiently as possible.
This package contains application examples. This “contrib” version is built against CUDA.
There are three methods to install starpu-contrib-examples
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 starpu-contrib-examples Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install starpu-contrib-examples
using apt-get
by running the following command:
sudo apt-get -y install starpu-contrib-examples
Install starpu-contrib-examples Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install starpu-contrib-examples
using apt
by running the following command:
sudo apt -y install starpu-contrib-examples
Install starpu-contrib-examples 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 starpu-contrib-examples
using aptitude
by running the following command:
sudo aptitude -y install starpu-contrib-examples
How To Uninstall starpu-contrib-examples on Ubuntu 18.04
To uninstall only the starpu-contrib-examples
package we can use the following command:
sudo apt-get remove starpu-contrib-examples
Uninstall starpu-contrib-examples And Its Dependencies
To uninstall starpu-contrib-examples
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove starpu-contrib-examples
Remove starpu-contrib-examples Configurations and Data
To remove starpu-contrib-examples
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge starpu-contrib-examples
Remove starpu-contrib-examples configuration, data, and all of its dependencies
We can use the following command to remove starpu-contrib-examples
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge starpu-contrib-examples
References
Summary
In this tutorial we learn how to install starpu-contrib-examples
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.