Skip to content

Commit

Permalink
Add note on nodejs-legacy (it really is a symlink)
Browse files Browse the repository at this point in the history
  • Loading branch information
tofutim committed Apr 5, 2015
1 parent 7391802 commit 7904081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ _Approximate chronological order._
- [Chara Podimata](https://www.linkedin.com/in/charapodimata) ([pydnschain](https://github.com/okTurtles/pydnschain) work)
- [Konstantinos Lolos](https://www.linkedin.com/in/kostislolos) ([pydnschain](https://github.com/okTurtles/pydnschain) work)
- [Anton Wilhelm](https://github.com/toenu23) (Support for [Nxt](http://nxt.org) cryptocurrency)
- [Tim Uy](https://github.com/tofutim) (Ubuntu tutorial)
- *Your name & link of choice here!*

## Release History
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ You should get a result similar to this, with an IP address found for okturtles.

## Install DNSChain

First, update apt-get and install some pre-requisites. Note that while `install npm` installs node.js, `nodejs-legacy` is needed because the binary is now `nodejs` instead of `node` and prerequisites of the dnschain install (hiredis?) will ask for `node`. Do not use `sudo apt-get install node` because this `node` is unrelated to node.js. See this [stackoverflow discussion](http://stackoverflow.com/questions/21168141/can-not-install-packages-using-node-package-manager-in-ubuntu) for details.
First, update apt-get and install some pre-requisites. Note that while `install npm` installs node.js, `nodejs-legacy` is needed because the binary is now `nodejs` instead of `node` and prerequisites of the dnschain install (hiredis?) will ask for `node`. Do not use `sudo apt-get install node` because this `node` is unrelated to node.js. See this [stackoverflow discussion](http://stackoverflow.com/questions/21168141/can-not-install-packages-using-node-package-manager-in-ubuntu) for details. Again, note that `node.js` is installed in the `npm` installation. According to the [`nodejs-legacy` description](https://launchpad.net/ubuntu/trusty/+package/nodejs-legacy), "this package contains a symlink for legacy Node.js code requiring binary to be /usr/bin/node (not /usr/bin/nodejs as provided in Debian)."
```
$ sudo apt-get update
$ sudo apt-get install git npm
Expand Down

0 comments on commit 7904081

Please sign in to comment.