[CentOS] mkdtemp on CentOS 7

H
Sat, 06 Mar 2021 22:31:41 -0000

I am trying to compile DeltaChat in a CentOS 7 docker container and at one stage
have to run:

npm install --global electron

but the above fails, seemingly because CentOS 7 does not have 'mkdtemp',
nor have I found it in a repository.

I had previously used:

npm install electron --save-dev

which installs fine but does not seem to use mkdtemp.

yum provides mkdtemp

ends up not finding anything but perhaps someone knows this better?