How To Install cogl on Rocky Linux 8

In this tutorial we learn how to install cogl on Rocky Linux 8. cogl is A library for using 3D graphics hardware to draw pretty pictures

Introduction

In this tutorial we learn how to install cogl on Rocky Linux 8.

What is cogl

Cogl is a small open source library for using 3D graphics hardware to draw pretty pictures. The API departs from the flat state machine style of OpenGL and is designed to make it easy to write orthogonal components that can render without stepping on each others toes. As well aiming for a nice API, we think having a single library as opposed to an API specification like OpenGL has a few advantages too; like being able to paper over the inconsistencies/bugs of different OpenGL implementations in a centralized place, not to mention the myriad of OpenGL extensions. It also means we are in a better position to provide utility APIs that help software developers since they only need to be implemented once and there is no risk of inconsistency between implementations. Having other backends, besides OpenGL, such as drm, Gallium or D3D are options we are interested in for the future.

We can use yum or dnf to install cogl on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install cogl.

Install cogl on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install cogl

Install cogl on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install cogl

How To Uninstall cogl on Rocky Linux 8

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

sudo dnf remove cogl

cogl Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/cbc8aefd59b418a688907a172d880e102dff57
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/90daf9862b64c0d54a7f1a1b96bb2f00847dd8
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/56690afc8a7f0f4d97f92700097d5901f66d72
/usr/lib/girepository-1.0/Cogl-1.0.typelib
/usr/lib/girepository-1.0/Cogl-2.0.typelib
/usr/lib/girepository-1.0/CoglPango-1.0.typelib
/usr/lib/girepository-1.0/CoglPango-2.0.typelib
/usr/lib/libcogl-pango.so.20
/usr/lib/libcogl-pango.so.20.4.2
/usr/lib/libcogl-path.so.20
/usr/lib/libcogl-path.so.20.4.2
/usr/lib/libcogl.so.20
/usr/lib/libcogl.so.20.4.2
/usr/share/doc/cogl
/usr/share/doc/cogl/NEWS
/usr/share/doc/cogl/README
/usr/share/licenses/cogl
/usr/share/licenses/cogl/COPYING
/usr/share/locale/an/LC_MESSAGES/cogl.mo
/usr/share/locale/ar/LC_MESSAGES/cogl.mo
/usr/share/locale/as/LC_MESSAGES/cogl.mo
/usr/share/locale/ast/LC_MESSAGES/cogl.mo
/usr/share/locale/be/LC_MESSAGES/cogl.mo
/usr/share/locale/bg/LC_MESSAGES/cogl.mo
/usr/share/locale/bs/LC_MESSAGES/cogl.mo
/usr/share/locale/ca/LC_MESSAGES/cogl.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/cogl.mo
/usr/share/locale/cs/LC_MESSAGES/cogl.mo
/usr/share/locale/da/LC_MESSAGES/cogl.mo
/usr/share/locale/de/LC_MESSAGES/cogl.mo
/usr/share/locale/el/LC_MESSAGES/cogl.mo
/usr/share/locale/en_CA/LC_MESSAGES/cogl.mo
/usr/share/locale/en_GB/LC_MESSAGES/cogl.mo
/usr/share/locale/eo/LC_MESSAGES/cogl.mo
/usr/share/locale/es/LC_MESSAGES/cogl.mo
/usr/share/locale/eu/LC_MESSAGES/cogl.mo
/usr/share/locale/fa/LC_MESSAGES/cogl.mo
/usr/share/locale/fr/LC_MESSAGES/cogl.mo
/usr/share/locale/gl/LC_MESSAGES/cogl.mo
/usr/share/locale/he/LC_MESSAGES/cogl.mo
/usr/share/locale/hi/LC_MESSAGES/cogl.mo
/usr/share/locale/hu/LC_MESSAGES/cogl.mo
/usr/share/locale/id/LC_MESSAGES/cogl.mo
/usr/share/locale/it/LC_MESSAGES/cogl.mo
/usr/share/locale/ja/LC_MESSAGES/cogl.mo
/usr/share/locale/km/LC_MESSAGES/cogl.mo
/usr/share/locale/kn/LC_MESSAGES/cogl.mo
/usr/share/locale/ko/LC_MESSAGES/cogl.mo
/usr/share/locale/lt/LC_MESSAGES/cogl.mo
/usr/share/locale/lv/LC_MESSAGES/cogl.mo
/usr/share/locale/ml/LC_MESSAGES/cogl.mo
/usr/share/locale/nb/LC_MESSAGES/cogl.mo
/usr/share/locale/nl/LC_MESSAGES/cogl.mo
/usr/share/locale/oc/LC_MESSAGES/cogl.mo
/usr/share/locale/or/LC_MESSAGES/cogl.mo
/usr/share/locale/pa/LC_MESSAGES/cogl.mo
/usr/share/locale/pl/LC_MESSAGES/cogl.mo
/usr/share/locale/pt/LC_MESSAGES/cogl.mo
/usr/share/locale/pt_BR/LC_MESSAGES/cogl.mo
/usr/share/locale/ru/LC_MESSAGES/cogl.mo
/usr/share/locale/sk/LC_MESSAGES/cogl.mo
/usr/share/locale/sl/LC_MESSAGES/cogl.mo
/usr/share/locale/sr/LC_MESSAGES/cogl.mo
/usr/share/locale/sr@latin/LC_MESSAGES/cogl.mo
/usr/share/locale/sv/LC_MESSAGES/cogl.mo
/usr/share/locale/ta/LC_MESSAGES/cogl.mo
/usr/share/locale/te/LC_MESSAGES/cogl.mo
/usr/share/locale/th/LC_MESSAGES/cogl.mo
/usr/share/locale/tr/LC_MESSAGES/cogl.mo
/usr/share/locale/ug/LC_MESSAGES/cogl.mo
/usr/share/locale/uk/LC_MESSAGES/cogl.mo
/usr/share/locale/vi/LC_MESSAGES/cogl.mo
/usr/share/locale/zh_CN/LC_MESSAGES/cogl.mo
/usr/share/locale/zh_HK/LC_MESSAGES/cogl.mo
/usr/share/locale/zh_TW/LC_MESSAGES/cogl.mo
/usr/lib/.build-id
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/02456067ac63f007d4b996b4e6555c070cbea6
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/830f21d3af768e61289115cf444e396498f950
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/d2b02adfc954ee6b006cb8e9aa7acd04c0128a
/usr/lib64/girepository-1.0/Cogl-1.0.typelib
/usr/lib64/girepository-1.0/Cogl-2.0.typelib
/usr/lib64/girepository-1.0/CoglPango-1.0.typelib
/usr/lib64/girepository-1.0/CoglPango-2.0.typelib
/usr/lib64/libcogl-pango.so.20
/usr/lib64/libcogl-pango.so.20.4.2
/usr/lib64/libcogl-path.so.20
/usr/lib64/libcogl-path.so.20.4.2
/usr/lib64/libcogl.so.20
/usr/lib64/libcogl.so.20.4.2
/usr/share/doc/cogl
/usr/share/doc/cogl/NEWS
/usr/share/doc/cogl/README
/usr/share/licenses/cogl
/usr/share/licenses/cogl/COPYING
/usr/share/locale/an/LC_MESSAGES/cogl.mo
/usr/share/locale/ar/LC_MESSAGES/cogl.mo
/usr/share/locale/as/LC_MESSAGES/cogl.mo
/usr/share/locale/ast/LC_MESSAGES/cogl.mo
/usr/share/locale/be/LC_MESSAGES/cogl.mo
/usr/share/locale/bg/LC_MESSAGES/cogl.mo
/usr/share/locale/bs/LC_MESSAGES/cogl.mo
/usr/share/locale/ca/LC_MESSAGES/cogl.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/cogl.mo
/usr/share/locale/cs/LC_MESSAGES/cogl.mo
/usr/share/locale/da/LC_MESSAGES/cogl.mo
/usr/share/locale/de/LC_MESSAGES/cogl.mo
/usr/share/locale/el/LC_MESSAGES/cogl.mo
/usr/share/locale/en_CA/LC_MESSAGES/cogl.mo
/usr/share/locale/en_GB/LC_MESSAGES/cogl.mo
/usr/share/locale/eo/LC_MESSAGES/cogl.mo
/usr/share/locale/es/LC_MESSAGES/cogl.mo
/usr/share/locale/eu/LC_MESSAGES/cogl.mo
/usr/share/locale/fa/LC_MESSAGES/cogl.mo
/usr/share/locale/fr/LC_MESSAGES/cogl.mo
/usr/share/locale/gl/LC_MESSAGES/cogl.mo
/usr/share/locale/he/LC_MESSAGES/cogl.mo
/usr/share/locale/hi/LC_MESSAGES/cogl.mo
/usr/share/locale/hu/LC_MESSAGES/cogl.mo
/usr/share/locale/id/LC_MESSAGES/cogl.mo
/usr/share/locale/it/LC_MESSAGES/cogl.mo
/usr/share/locale/ja/LC_MESSAGES/cogl.mo
/usr/share/locale/km/LC_MESSAGES/cogl.mo
/usr/share/locale/kn/LC_MESSAGES/cogl.mo
/usr/share/locale/ko/LC_MESSAGES/cogl.mo
/usr/share/locale/lt/LC_MESSAGES/cogl.mo
/usr/share/locale/lv/LC_MESSAGES/cogl.mo
/usr/share/locale/ml/LC_MESSAGES/cogl.mo
/usr/share/locale/nb/LC_MESSAGES/cogl.mo
/usr/share/locale/nl/LC_MESSAGES/cogl.mo
/usr/share/locale/oc/LC_MESSAGES/cogl.mo
/usr/share/locale/or/LC_MESSAGES/cogl.mo
/usr/share/locale/pa/LC_MESSAGES/cogl.mo
/usr/share/locale/pl/LC_MESSAGES/cogl.mo
/usr/share/locale/pt/LC_MESSAGES/cogl.mo
/usr/share/locale/pt_BR/LC_MESSAGES/cogl.mo
/usr/share/locale/ru/LC_MESSAGES/cogl.mo
/usr/share/locale/sk/LC_MESSAGES/cogl.mo
/usr/share/locale/sl/LC_MESSAGES/cogl.mo
/usr/share/locale/sr/LC_MESSAGES/cogl.mo
/usr/share/locale/sr@latin/LC_MESSAGES/cogl.mo
/usr/share/locale/sv/LC_MESSAGES/cogl.mo
/usr/share/locale/ta/LC_MESSAGES/cogl.mo
/usr/share/locale/te/LC_MESSAGES/cogl.mo
/usr/share/locale/th/LC_MESSAGES/cogl.mo
/usr/share/locale/tr/LC_MESSAGES/cogl.mo
/usr/share/locale/ug/LC_MESSAGES/cogl.mo
/usr/share/locale/uk/LC_MESSAGES/cogl.mo
/usr/share/locale/vi/LC_MESSAGES/cogl.mo
/usr/share/locale/zh_CN/LC_MESSAGES/cogl.mo
/usr/share/locale/zh_HK/LC_MESSAGES/cogl.mo
/usr/share/locale/zh_TW/LC_MESSAGES/cogl.mo

References

Summary

In this tutorial we learn how to install cogl on Rocky Linux 8 using yum and dnf.