When I am trying to install nodejs I am getting following message
apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/5,701 kB of archives.
After this operation, 17.3 MB of additional disk space will be used.
Selecting previously unselected package nodejs.
(Reading database ... 503726 files and directories currently installed.)
Unpacking nodejs (from .../nodejs_0.10.29-1chl1~saucy1_amd64.deb) ...
Processing triggers for man-db ...
Setting up nodejs (0.10.29-1chl1~saucy1) ...
and when I run node -v
it say node note present at
bash: /home/<username>/local/bin/node: No such file or directory
nodejs. What's the output of the commands:which nodejsandtype nodejs?