If you need a guide to use OpenGL on ubuntu, not particularly textures loading, you may want to check out my basic guide on using OpenGL (glut) on ubuntu here
- Download SOIL library from here
- Extract the downloaded library
- Open a terminal, and
cdintoSimple OpenGL Image Library/projects/makefile - Create an empty directory called
objin the path above