Essay record

How to install GLFW on Ubuntu

Record
Essay / / 1 min read / 118 words
Tags
glfwlinuxp5pythonubuntu
On this page2 sections / +

DISCLOSURE: Some links may be affiliate links. Details

problem

I've been working through The Nature of Code's coding exercises with p5py - Python's port of P5 - in an effort to get back into creative coding and learn more about the p5 creative coding ecosystem. One of p5py's main dependencies is the GLFW package and I was having trouble figuring out how to install it on my Ubuntu machine, so here it is for future users.

solution

If you're running Debian Linux (like Ubuntu and Linux Mint), then you should be able to install GLFW by opening up a terminal and running:

sudo apt-get install libglfw3

This will attempt to install the libglfw3 package using admin privileges if its available for your OS distro.

Built with CloudSeed Rust