Do you need to defrag on Macs then?

You don't on Linux. The filesystem does it for you.