How To Install rubygem-opengl on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-opengl
on Fedora 36.
What is rubygem-opengl
An OpenGL wrapper for Ruby. ruby-opengl contains bindings for OpenGL and the GLU and GLUT libraries.
We can use yum
or dnf
to install rubygem-opengl
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-opengl.
Install rubygem-opengl 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 rubygem-opengl
using dnf
by running the following command:
sudo dnf -y install rubygem-opengl
Install rubygem-opengl 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 rubygem-opengl
using yum
by running the following command:
sudo yum -y install rubygem-opengl
How To Uninstall rubygem-opengl on Fedora 36
To uninstall only the rubygem-opengl
package we can use the following command:
sudo dnf remove rubygem-opengl
rubygem-opengl Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/76
/usr/lib/.build-id/76/a29dcd9be65bf2efa047f6257dd7ae4f65056b
/usr/lib64/gems/ruby/opengl-0.10.0
/usr/lib64/gems/ruby/opengl-0.10.0/gem.build_complete
/usr/lib64/gems/ruby/opengl-0.10.0/opengl
/usr/lib64/gems/ruby/opengl-0.10.0/opengl/opengl.so
/usr/share/gems/gems/opengl-0.10.0
/usr/share/gems/gems/opengl-0.10.0/History.md
/usr/share/gems/gems/opengl-0.10.0/MIT-LICENSE
/usr/share/gems/gems/opengl-0.10.0/README.rdoc
/usr/share/gems/gems/opengl-0.10.0/lib
/usr/share/gems/gems/opengl-0.10.0/lib/gl.rb
/usr/share/gems/gems/opengl-0.10.0/lib/opengl
/usr/share/gems/gems/opengl-0.10.0/lib/opengl.rb
/usr/share/gems/gems/opengl-0.10.0/lib/opengl/bindings_version.rb
/usr/share/gems/gems/opengl-0.10.0/lib/opengl/implementation.rb
/usr/share/gems/gems/opengl-0.10.0/lib/opengl/test_case.rb
/usr/share/gems/specifications/opengl-0.10.0.gemspec
References
Summary
In this tutorial we learn how to install rubygem-opengl
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).