Fixing Oracle installer error PRVF-7501 : Sufficient space is not available at location “/tmp”

If your “/tmp” location is limited in space, you can experience the following error installing Oracle 12c:

INFO: INFO: ERROR: [ResultSet.addErrorDescription:1078] 
PRVF-7501 : Sufficient space is not available at location "/tmp" on node "ora" 
[Required space = 1GB ]

To fix this (and avoid various similar errors), you should make a location on a drive that you can write to (such as “/root/tmp” in my case). Then, make a shell script you use to call the Oracle installer, and change all tmp variables:

export TEMP=/root/tmp
export TMP=/root/tmp
export TMPDIR=/root/tmp

“TEMP” affects the error listed, which occurs a long way into the installer. TMPDIR affects the space check at the beginning.