Be warned: Installing Linux on a mac is rather high difficulty and can cause disruptions in your system.
This said:
You can use an app called reFit to do this.
I installed windows and ubuntu on my macmini this way.
I recommend installing windows first, then linux.
Instructions are somehwere on the internet.
Again: Its rather tricky. Only do this if you really need to and know what you are doing.