How To Install clinfo on Debian 10

Learn how to install clinfo on Debian 10 with this tutorial. clinfo is Query OpenCL system information

Introduction

In this tutorial we learn how to install clinfo on Debian 10.

What is clinfo

clinfo is:

OpenCL (Open Computing Language) is a multivendor open standard for general-purpose parallel programming of heterogeneous systems that include CPUs, GPUs and other processors.

This package contains a tool that queries the capabilities of the available OpenCL drivers.

There are three methods to install clinfo on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install clinfo Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install clinfo

Install clinfo Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install clinfo

Install clinfo 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install clinfo

How To Uninstall clinfo on Debian 10

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

sudo apt-get remove clinfo

Uninstall clinfo And Its Dependencies

To uninstall clinfo and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove clinfo

Remove clinfo Configurations and Data

To remove clinfo configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge clinfo

Remove clinfo configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge clinfo

Dependencies

clinfo have the following dependencies:

References

Summary

In this tutorial we learn how to install clinfo package on Debian 10 using different package management tools: apt, apt-get and aptitude.