hi marine18-
that's a tough question to answer in the scope of a single post, but i will tell you that probably the best thing you can do if you want to learn these styles is to first spend LOTS of time LISTENING to as much of this music as possible. get saturated in these styles and listen specifically to what the bassists are doing. listen to the point of being able to memorize and sing these bass parts... if you really want to dig deep, start spending time TRANSCRIBING these bass lines and you'll be amazed at how well you start to internalize these styles and traditions. transcribing is the act of learning a part note-for-note and then writing it down on a staff. the process of learning the part, memorizing the part, and then writing it down consolidates your internalization and understanding of what is being played, and then will subsequently influence you to play more legitimate and traditional examples of the style when you go to jam on your own or in a band setting. i cannot possibly overstate the importance of listening and transcribing!

this is how you can learn from the masters. learn to hear what they are hearing, learn to play what they are playing!