📝 Use update-alternatives

This commit is contained in:
Kevin Sawicki
2015-02-13 11:35:02 -08:00
parent c20748b88e
commit 86da2ba888

View File

@@ -19,8 +19,8 @@ Ubuntu LTS 12.04 64-bit is the recommended platform.
* `sudo apt-get install build-essential git libgnome-keyring-dev fakeroot`
* Instructions for [Node.js](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#ubuntu-mint-elementary-os).
* Make sure the command `node` is available after Node.js installation (some sytems install it as `nodejs`).
* `which node` to check it.
* If output is emtpy run `sudo ln -s /usr/bin/nodejs /usr/bin/node` to fix this.
* Use `which node` to check if its available.
* Use `sudo update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10` to update it.
### Fedora / CentOS / RHEL