I would like to know how to install MySQL from a source

I would like to know how to install MySQL from a source. What are the other MySQL requirements aside from libraries and header files? Can I find all of them on the MySQL tar files or do I need to look for them somewhere else? Where are they located?
