(I'm no linux expert)
There should be a "package" of some sort to install the BOOST libraries on your linux system; or download the stuff from boost.org and "configure" it to build and setup the libraries. (read the README files for complete instructions).
If you do not want to use and IDE you will need to learn to use and create a
makefile[
^]; for simple projects it is easy, for complex projects it can be more difficult.
Also learn the different GCC and G+++ compiler and linker switches to add include path and library path.