How To Install clblast on Fedora 36

In this tutorial we learn how to install clblast in Fedora 36. clblast is Tuned OpenCL BLAS routines

Introduction

In this tutorial we learn how to install clblast on Fedora 36.

What is clblast

CLBlast is a modern, lightweight, performant and tunable OpenCL BLAS library written in C++11. It is designed to leverage the full performance potential of a wide variety of OpenCL devices from different vendors, including desktop and laptop GPUs, embedded GPUs, and other accelerators. CLBlast implements BLAS routines subprograms operating on vectors and matrices. See the CLBlast website for performance reports on various devices as well as the latest CLBlast news. The library is not tuned for all possible OpenCL devices out-of-the-box performance is poor, please run the tuners first.

We can use yum or dnf to install clblast on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install clblast.

Install clblast on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install clblast using dnf by running the following command:

sudo dnf -y install clblast

Install clblast on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install clblast using yum by running the following command:

sudo yum -y install clblast

How To Uninstall clblast on Fedora 36

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

sudo dnf remove clblast

clblast Package Contents on Fedora 36

---
title: "How To Install clblast on Fedora 36"
linkTitle: "clblast"
type: "docs"
description: "In this tutorial we learn how to install clblast in Fedora 36. clblast is Tuned OpenCL BLAS routines"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/clblast-featured.png
---

## Introduction

In this tutorial we learn how to install `clblast` on Fedora 36.

### What is `clblast`

> CLBlast is a modern, lightweight, performant and tunable OpenCL BLAS library written in C++11.  It is designed to leverage the full performance potential of a wide variety of OpenCL devices from different vendors, including desktop and laptop GPUs, embedded GPUs, and other accelerators.  CLBlast implements BLAS routines subprograms operating on vectors and matrices.  See the CLBlast website for performance reports on various devices as well as the latest CLBlast news.  The library is not tuned for all possible OpenCL devices out-of-the-box performance is poor, please run the tuners first.  

We can use `yum` or `dnf` to install `clblast` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install clblast.

## Install clblast on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install clblast using dnf by running the following command:

sudo dnf -y install clblast

Install clblast on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install clblast using yum by running the following command:

sudo yum -y install clblast

How To Uninstall clblast on Fedora 36

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

sudo dnf remove clblast

clblast Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/d68022b33ea82358bd8f5215d4c0e9f8349846
/usr/lib64/libclblast.so.1
/usr/lib64/libclblast.so.1.5.2
/usr/share/doc/clblast
/usr/share/doc/clblast/CHANGELOG
/usr/share/doc/clblast/README.md
/usr/share/doc/clblast/ROADMAP.md
/usr/share/licenses/clblast
/usr/share/licenses/clblast/LICENSE

References

Summary

In this tutorial we learn how to install clblast on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/76 /usr/lib/.build-id/76/cc4379d441a75ce21cc9474eb322366f81541b /usr/lib/libclblast.so.1 /usr/lib/libclblast.so.1.5.2 /usr/share/doc/clblast /usr/share/doc/clblast/CHANGELOG /usr/share/doc/clblast/README.md /usr/share/doc/clblast/ROADMAP.md /usr/share/licenses/clblast /usr/share/licenses/clblast/LICENSE


## References

* [clblast website](https://cnugteren.github.io/clblast/clblast.html)

## Summary

In this tutorial we learn how to install `clblast` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).