LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing node (https://www.linuxquestions.org/questions/linux-newbie-8/installing-node-4175440595/)

societymedia 12-08-2012 11:23 AM

Installing node
 
Hi, I am trying to install node on centos.

General install question:
When I rpm software, What folder should I be in? Or does it matter?

Node question:
i cd'ed to / when I followed nodejs.tchol.org/ and everything "seemed" like it works.. But I tried to type node and I got my dreaded bash.. Command not found error (I get that a lot )


Thanks

knudfl 12-08-2012 12:13 PM

'node-0.3* ' provides /usr/sbin/node (And /usr/sbin/nodeusers ).

If you do 'su', the command is # /usr/sbin/node
I.e. /usr/sbin/ is not in your PATH.

To get /usr/sbin/ ( and /sbin/ ) in the PATH, you will have to use 'su -'.
( su <space> <hyphen> ).

.


All times are GMT -5. The time now is 11:42 PM.