Create and mount RAM disk mkdir -p /tmp/build sudo mount -t tmpfs -o size=512M tmpfs /tmp/build Unmount RAM disk sudo umount /tmp/build