You could try jodin/Heimdall, a Java based version of Odin for Mac and Linux, though my experience with it was that it hasn't been updated to reflect the current version of Odin and it never worked properly for me. Probably it would be better to just run Odin for Windows through VirtualBox or parallels desktop, that's been my preferred solution on any reasonably powerful Mac or Linux computer. You just have to make sure USB is configured properly in the virtual machine, there's tutorials about it on the virtual box website, and I'm sure parallels explains the process with that solution on their site too.