The best way for me to develop on linux is to use Eclipse for C++, you just have to go to the Eclipse website under Downloads and then select the Eclipse for C/C++ developers.
As a prerequisite you need a Java Development Kit running on your machine. In my case on Ubuntu I've used this one