Question

I am trying to install node.js to Dreamhost VPS. I have followed the directions for Debian here https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager everything works great until I run

$checkinstall

Then it says

Failed to create temp dir! ** Do you have write permission for /var/tmp?

** Aborting installation.

I cannot figure out how to change the directory based on the instructions. Any help would be greatly appreciated.

Updated**

When I contacted DH support they said "Our directory is not located at /var/tmp its > at /tmp so you just need to update your configuration to reflect the > correct path."

How to do what they suggested?...

Was it helpful?

Solution

This worked for the var/tmp issue:

sudo mkdir /var/tmp
sudo chmod 1777 /var/tmp

**Updated

Here is how to install node.js to DreamHost:

tar -zxf node-v0.10.22.tar.gz
cd node-v0.10.22
./configure && make && sudo make install

Viola!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top