Thanks for your reply Alien Bob.
Anyway i've done some searches and i already got timidity working. Here's what i did.
1.Download this
GUS patch package and extract it into /usr/local/share
2.Download
Timidity++ and install it.
After this I was already able to play any midi file using timidity x.mid
Hope it helps