How To Install opencl-1.2-man-doc on Ubuntu 18.04

In this tutorial we learn how to install opencl-1.2-man-doc on Ubuntu 18.04. opencl-1.2-man-doc is OpenCL 1.2 documentation - man pages (experimental)

Introduction

In this tutorial we learn how to install opencl-1.2-man-doc on Ubuntu 18.04.

What is opencl-1.2-man-doc

opencl-1.2-man-doc is:

OpenCL (Open Computing Language) is an open royalty-free standard for general purpose parallel programming across CPUs, GPUs and other processors, giving software developers portable and efficient access to the power of these heterogeneous processing platforms.

OpenCL supports a wide range of applications, ranging from embedded and consumer software to HPC solutions, through a low-level, high-performance, portable abstraction. By creating an efficient, close-to-the-metal programming interface, OpenCL will form the foundation layer of a parallel computing ecosystem of platform-independent tools, middleware and applications.

OpenCL consists of an API for coordinating parallel computation across heterogeneous processors; and a cross-platform programming language with a well-specified computation environment. The OpenCL standard:

  • Supports both data- and task-based parallel programming models
  • Utilizes a subset of ISO C99 with extensions for parallelism
  • Defines consistent numerical requirements based on IEEE 754
  • Defines a configuration profile for handheld and embedded devices
  • Efficiently interoperates with OpenGL, OpenGL ES, and other graphics APIs

The specification is divided into a core specification that any OpenCL compliant implementation must support; a handheld/embedded profile which relaxes the OpenCL compliance requirements for handheld and embedded devices; and a set of optional extensions that are likely to move into the core specification in later revisions of the OpenCL specification.

This is experimental man page package until support gets integrated upstream.

There are three methods to install opencl-1.2-man-doc 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 opencl-1.2-man-doc Using apt-get

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

sudo apt-get update

After updating apt database, We can install opencl-1.2-man-doc using apt-get by running the following command:

sudo apt-get -y install opencl-1.2-man-doc

Install opencl-1.2-man-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install opencl-1.2-man-doc using apt by running the following command:

sudo apt -y install opencl-1.2-man-doc

Install opencl-1.2-man-doc 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 opencl-1.2-man-doc using aptitude by running the following command:

sudo aptitude -y install opencl-1.2-man-doc

How To Uninstall opencl-1.2-man-doc on Ubuntu 18.04

To uninstall only the opencl-1.2-man-doc package we can use the following command:

sudo apt-get remove opencl-1.2-man-doc

Uninstall opencl-1.2-man-doc And Its Dependencies

To uninstall opencl-1.2-man-doc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove opencl-1.2-man-doc

Remove opencl-1.2-man-doc Configurations and Data

To remove opencl-1.2-man-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge opencl-1.2-man-doc

Remove opencl-1.2-man-doc configuration, data, and all of its dependencies

We can use the following command to remove opencl-1.2-man-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge opencl-1.2-man-doc

References

Summary

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