Adapted from "Installing SFML 2.0 on linux for dummies" by falconmick. I keep these files in my home directory on any Ubuntu computer I have for more than a couple months. This may soon become obsolete if it hasn't already, so if it's 2015 or sfml2 is fully up and running go ahead and delete this.
First file: sfml2p1.sh
mkdir sfmlbuild
cd sfmlbuild
wget https://github.com/SFML/SFML/tarball/master
tar zxf master
cd ..
echo "Run 'ls sfmlbuild'"
echo "Run 'mv sfmlbuild/LaurentGomila<version> sfml2'"
echo "Run './sfml2p2.sh'"Second file: sfml2p2.sh
rm -rf sfmlbuild
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
sudo apt-get install cmake
sudo apt-get install g++
cd sfml2
cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=TRUE
make
make install
cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=TRUE
make
sudo make install
cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=FALSE
make
sudo make install
cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=FALSE >> install.log
make
sudo make installIt will ask you for your password. I could be hijacking your computer. Or deleting your home directory. If you don't trust me, by all means, don't give it.
Following directions imprecisely may result in minor damage to your computer and/or complete loss of SFML. Be careful.
Beware strangers saying
alias vi='rm'