How To Install cogl on Fedora 34
Introduction
In this tutorial we learn how to install cogl
on Fedora 34.
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. cogl 1.22.8 3.fc34 x86_64 498 k cogl-1.22.8-3.fc34.src.rpm fedora A library for using 3D graphics hardware to draw pretty pictures http LGPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install cogl.
Install cogl 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 cogl
using dnf
by running the following command:
sudo dnf -y install cogl
Install cogl 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 cogl
using yum
by running the following command:
sudo yum -y install cogl
How To Uninstall cogl on Fedora 34
To uninstall only the cogl
package we can use the following command:
sudo dnf remove cogl
cogl Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/b302fb68953dddb09497e5d0c1cf05c408fc96
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/0bea324c4e9057b06d773f269c75c7d871d743
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/512fe697c7fcd4ea6809ef7a8ec497d25483cf
/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.3
/usr/lib64/libcogl-path.so.20
/usr/lib64/libcogl-path.so.20.4.3
/usr/lib64/libcogl.so.20
/usr/lib64/libcogl.so.20.4.3
/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/fi/LC_MESSAGES/cogl.mo
/usr/share/locale/fr/LC_MESSAGES/cogl.mo
/usr/share/locale/fur/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/hr/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/ms/LC_MESSAGES/cogl.mo
/usr/share/locale/nb/LC_MESSAGES/cogl.mo
/usr/share/locale/ne/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/ro/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/6e
/usr/lib/.build-id/6e/cb2ffd56d1d75e435acd10688989b199543c7b
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/3984871a036b53aeb0563861c93cf12b86f25f
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/bb25b5f0c60b7f0c796b54127800ac81d3b4cc
/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.3
/usr/lib/libcogl-path.so.20
/usr/lib/libcogl-path.so.20.4.3
/usr/lib/libcogl.so.20
/usr/lib/libcogl.so.20.4.3
/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/fi/LC_MESSAGES/cogl.mo
/usr/share/locale/fr/LC_MESSAGES/cogl.mo
/usr/share/locale/fur/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/hr/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/ms/LC_MESSAGES/cogl.mo
/usr/share/locale/nb/LC_MESSAGES/cogl.mo
/usr/share/locale/ne/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/ro/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
- [cogl website](http://www.clutter-project.org/ http://www.clutter-project.org/)
Summary
In this tutorial we learn how to install cogl
on Fedora 34 using yum and dnf.