How To Install PyOpenGL-Tk.noarch on Amazon Linux 2

In this tutorial we learn how to install PyOpenGL-Tk.noarch in Amazon Linux 2. PyOpenGL-Tk.noarch is PyOpenGL OpenGL Tk widget

Introduction

In this tutorial we learn how to install PyOpenGL-Tk.noarch on Amazon Linux 2.

What is PyOpenGL-Tk.noarch

PyOpenGL Togl (Tk OpenGL widget) 1.6 support.

We can use yum to install PyOpenGL-Tk.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install PyOpenGL-Tk.noarch.

Install PyOpenGL-Tk.noarch 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 PyOpenGL-Tk.noarch using yum by running the following command:

sudo yum -y install PyOpenGL-Tk.noarch

How To Uninstall PyOpenGL-Tk.noarch on Amazon Linux 2

To uninstall only the PyOpenGL-Tk.noarch package we can use the following command:

sudo yum remove PyOpenGL-Tk.noarch

PyOpenGL-Tk.noarch Package Contents on Amazon Linux 2

/usr/lib/python2.7/site-packages/OpenGL/Tk
/usr/lib/python2.7/site-packages/OpenGL/Tk/__init__.py
/usr/lib/python2.7/site-packages/OpenGL/Tk/__init__.pyc
/usr/lib/python2.7/site-packages/OpenGL/Tk/__init__.pyo

References

Summary

In this tutorial we learn how to install PyOpenGL-Tk.noarch on Amazon Linux 2 using yum.