Skip to content

Instantly share code, notes, and snippets.

@calebreister
Created March 13, 2014 15:49
Show Gist options
  • Save calebreister/9531018 to your computer and use it in GitHub Desktop.
Save calebreister/9531018 to your computer and use it in GitHub Desktop.
Installs the dependencies for SFML using apt on Ubuntu, it should also work on other Debian systems.
#!/usr/bin/bash
# Install all necessary dependencies for Debian/Ubuntu systems
# Install CMake GUI
sudo apt-get install cmake-gui
# SFML Dependencies
sudo apt-get install libpthread-stubs0-dev
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libx11-dev
sudo apt-get install libxrandr-dev
sudo apt-get install libfreetype6-dev
sudo apt-get install libglew1.5-dev
sudo apt-get install libjpeg8-dev
sudo apt-get install libsndfile1-dev
sudo apt-get install libopenal-dev
# Joystick
sudo apt-get install libudev-dev
# Update the dynamic library cache
sudo /sbin/ldconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment