Answer the question
In order to leave comments, you need to log in
How to call an installed package?
[email protected]:~# sudo apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (4.2.6~dfsg-1ubuntu4.2).
0 upgraded, 0 newly installed, 0 to remove and 182 not upgraded.
[email protected]:~# node -v
-bash: node: command not found
Answer the question
In order to leave comments, you need to log in
Try this:
nodejs -v
If it works, then:
sudo ln -s /usr/bin/nodejs /usr/bin/node
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question