%general-entities; ]> Mktemp-&mktemp-version; Mktemp <para>The Mktemp package contains programs used to create secure temporary files in shell scripts.</para> <segmentedlist> <segtitle>&dependencies;</segtitle> <seglistitem> <seg>Bash, Coreutils, Make, Patch, and Zlib</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Mktemp Many scripts still use the deprecated tempfile program, which has functionality similar to mktemp. Patch Mktemp to include a tempfile wrapper: patch -Np1 -i ../&mktemp-tempfile-patch; Prepare Mktemp for compilation: ./configure --prefix=/usr --with-libc The meaning of the configure option: --with-libc This causes the mktemp program to use the mkstemp and mkdtemp functions from the system C library. Compile the package: make Install the package: make install make install-tempfile Contents of Mktemp Installed programs mktemp and tempfile Short Descriptions mktemp Creates temporary files in a secure manner; it is used in scripts mktemp tempfile Creates temporary files in a less secure manner than mktemp; it is installed for backwards-compatibility tempfile