How To Install gocl on Fedora 34
Introduction
In this tutorial we learn how to install gocl
on Fedora 34.
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. gocl 0.2.0 18.fc34 x86_64 35 k gocl-0.2.0-18.fc34.src.rpm fedora GLib/GObject based library for OpenCL https LGPLv3 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install gocl.
Install gocl on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install gocl
using dnf
by running the following command:
sudo dnf -y install gocl
Install gocl on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the gocl
package we can use the following command:
sudo dnf remove gocl
gocl Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/9dcab974a9a73d143960f08896be8e4e7af5fd
/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/2c
/usr/lib/.build-id/2c/3ae4d387704ed0cbda34a3e808d77aa31c0f6f
/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
- [gocl website](https://github.com/elima/gocl/ https://github.com/elima/gocl/)
Summary
In this tutorial we learn how to install gocl
on Fedora 34 using yum and dnf.