Try this:

Code:
apt-get install timidity
Then go to the command line, navigate to where your midi file is, and do the following:

Code:
timidity (name of file)