It is currently not possible to use RealityCapture with Linux, but there is a way to use it if you have Mac.
If you are using MacBook or other compatible Mac OS device with Intel CPU, you can install RealityCapture with…
https://dev.epicgames.com/community/learning/knowledge-base/ZGDD/capturing-reality-do-you-support-linux-or-mac