19.2. Verifying Temporary(/tmp) Space


According to Oracle's documentation, the Oracle Universal Installer (OUI) requires up to 400 MB of free space in the /tmp directory.
To check the space in /tmp, run:
Copy to Clipboard Toggle word wrap
$ df /tmp
If you do not have enough space in the /tmp file system, you can temporarily create a tmp directory in another file system. Here is how you can do this:
Copy to Clipboard Toggle word wrap
su - root
mkdir /<AnotherFilesystem> /tmp
chown root.root /<AnotherFilesystem> /tmp
chmod 1777 /<AnotherFilesystem> /tmp
export TEMP=/<AnotherFilesystem>
export TMPDIR=/<AnotherFilesystem>
The TEMP=/<AnotherFilesystem> file is used by Oracle. The TMPDIR=/<AnotherFilesystem> file is used by Linux programs like the linker "ld". Note as well <AnotherFilesystem> should be adjusted to fit your filesystem. When you are done with the Oracle installation, shut down Oracle and remove the temporary /tmp directory:
Copy to Clipboard Toggle word wrap
su - root
rmdir /<AnotherFilesystem>/tmp
unset TEMP
unset TMPDIR
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat, Inc.