re organelle, with a modern linux, this should not be necessary… there is a midi ‘gadget’ which will expose the computer as a midi device. (Ive done this with beaglebone blacks)
usually the best way to send midi between computers though is via network, ethernet… so rtpMidi, or wrapped over OSC. macOS supports the former. audio/midi settings -> network midi