[ubuntu] Installing sfml on Ubuntu and using CodeBlocks as an IDE

view story

http://ubuntuforums.org – HI, i'm new to the Linux system. One of my friends recommended me to use Linux for programming. On my windows OS i used Code Blocks and i want to do the same with Linux. I run into the problem that i have no idea on how to install it on Ubuntu. I have used the software center and installed the SFML window,system, and graphic but i have no clue how to compile. After that failed attempt i went on to download the package from the SFML website, another failed attempt. I tried doing the linker settings, and compiler settings on code blocks to a folder on the hard drive which is SFML 1.6 and gave it (Hardware)