If you are using source file then look at the readme file or there should be a file called INSTALL.
most source files install by doing the following.
Code:
./configure
make
make install
you may also want to do ./configure --help as it will give you compile options.