How to install GLFW on Ubuntu

Published: 2020-03-02 22:43:29 -0500 -0500

Reading time: 1 mins (116 words)

Tags: ubuntu linux p5 python glfw


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.


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.

About the Ham

Hi I'm Hamilton and I wrote / built this! I like doing lots of things, but mostly I like to build (and then share those buildings). Some things I'm currently building: art, software, and prose. To stay up-to-date with my latest buildings, subscribe to my email list or follow one of my many other accounts. #buildit #shipit #justhamit

comments powered by Disqus