How To Install cogl.i686 on Amazon Linux 2

In this tutorial we learn how to install cogl.i686 in Amazon Linux 2. cogl.i686 is A library for using 3D graphics hardware to draw pretty pictures

Introduction

In this tutorial we learn how to install cogl.i686 on Amazon Linux 2.

What is cogl.i686

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 to install cogl.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install cogl.i686.

Install cogl.i686 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install cogl.i686

How To Uninstall cogl.i686 on Amazon Linux 2

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

sudo yum remove cogl.i686

cogl.i686 Package Contents on Amazon Linux 2

/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-1.22.2
/usr/share/doc/cogl-1.22.2/NEWS
/usr/share/doc/cogl-1.22.2/README
/usr/share/licenses/cogl-1.22.2
/usr/share/licenses/cogl-1.22.2/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.i686 on Amazon Linux 2 using yum.