Mounting USB Drive Formatted in APFS In Ubuntu
if you have a drive formatted in Apple Filesystem (APFS)
You can use the apfs-fuse driver to mount it
to build apfs-fuse
note: on more current ubuntu's the apt-install command included a library that doesn't seem to exist anymore "gcc-c++". but otherwise the instructions work great.
sudo apt install fuse build-essential libfuse3-dev bzip2 libbz2-dev git libattr1-dev zlib1g-dev
to mount a drive
i received errors of "Unable to get volume!" when trying to mount. some people seem to go in and change the source and rebuild, but it seems like the answer is in running:
This will list the available drives and specifically the "Volume" for that mount you want. then you specify the volume when mounting
sudo ./apfs-fuse -o vol=1 /dev/sda2 /mnt/usb
to unmount the drive
umount /mnt/usb