How To Install gocl on Fedora 36
Introduction
In this tutorial we learn how to install gocl
on Fedora 36.
What is gocl
Gocl is a GLib/GObject based library that aims at simplifying the use of OpenCL in GNOME software. It is intended to be a lightweight wrapper that adapts OpenCL programming patterns and boilerplate, and expose a simpler API that is known and comfortable to GNOME developers. Examples of such adaptations are the integration with GLib’s main loop, exposing non-blocking APIs, GError based error reporting and full gobject-introspection support. It will also be including convenient API to simplify code for the most common use patterns.
We can use yum
or dnf
to install gocl
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gocl.
Install gocl 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 gocl
using dnf
by running the following command:
sudo dnf -y install gocl
Install gocl 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 gocl
using yum
by running the following command:
sudo yum -y install gocl
How To Uninstall gocl on Fedora 36
To uninstall only the gocl
package we can use the following command:
sudo dnf remove gocl
gocl Package Contents on Fedora 36
---
title: "How To Install gocl on Fedora 36"
linkTitle: "gocl"
type: "docs"
description: "In this tutorial we learn how to install gocl in Fedora 36. gocl is GLib/GObject based library for OpenCL"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/gocl-featured.png
---
## Introduction
In this tutorial we learn how to install `gocl` on Fedora 36.
### What is `gocl`
> Gocl is a GLib/GObject based library that aims at simplifying the use of OpenCL in GNOME software. It is intended to be a lightweight wrapper that adapts OpenCL programming patterns and boilerplate, and expose a simpler API that is known and comfortable to GNOME developers. Examples of such adaptations are the integration with GLib’s main loop, exposing non-blocking APIs, GError based error reporting and full gobject-introspection support. It will also be including convenient API to simplify code for the most common use patterns.
We can use `yum` or `dnf` to install `gocl` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gocl.
## Install gocl 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 gocl
using dnf
by running the following command:
sudo dnf -y install gocl
Install gocl 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 gocl
using yum
by running the following command:
sudo yum -y install gocl
How To Uninstall gocl on Fedora 36
To uninstall only the gocl
package we can use the following command:
sudo dnf remove gocl
gocl Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/afc93e551f782425898260107b981c79c0d194
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/Gocl-0.2.typelib
/usr/lib/libgocl-0.2.so.0
/usr/lib/libgocl-0.2.so.0.0.1
/usr/share/doc/gocl
/usr/share/doc/gocl/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/590d996a39da77b7175cba5d01d3474cb17b6a
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/Gocl-0.2.typelib
/usr/lib64/libgocl-0.2.so.0
/usr/lib64/libgocl-0.2.so.0.0.1
/usr/share/doc/gocl
/usr/share/doc/gocl/COPYING
References
Summary
In this tutorial we learn how to install gocl
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
## References
* [gocl website](https://github.com/elima/gocl/)
## Summary
In this tutorial we learn how to install `gocl` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).