Skip to content

Commit 5475f6b

Browse files
[Docs] Update Installation section
1. If we are not going to install nodejs or io.js from source, we may not need to have c++ compiler or libssl-dev package 2. the `build-essential` and `libssl-dev` packages should work on all the Debian and Ubuntu based GNU/Linux distros 3. Remove useless blank lines
1 parent 9b26293 commit 5475f6b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.markdown

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
## Installation
3333

34-
First you'll need to make sure your system has a c++ compiler. For OS X, Xcode will work, for Ubuntu, the `build-essential` and `libssl-dev` packages work.
34+
If you're running a system without prepackaged binary available, which means you're going to install nodejs or io.js from its source code, you need to make sure your system has a c++ compiler. For OS X, Xcode will work, for Debian/Ubuntu based GNU/Linux, the `build-essential` and `libssl-dev` packages work.
3535

3636
**Note:** `nvm` does not support Windows (see [#284](https://github.com/creationix/nvm/issues/284)). Two alternatives exist, which are neither supported nor developed by us:
3737
- [nvm-windows](https://github.com/coreybutler/nvm-windows)
@@ -42,8 +42,6 @@ First you'll need to make sure your system has a c++ compiler. For OS X, Xcode w
4242
- [fast-nvm-fish](https://github.com/brigand/fast-nvm-fish) only works with version numbers (not aliases) but doesn't significantly slow your shell startup
4343
- [plugin-nvm](https://github.com/derekstavis/plugin-nvm) plugin for [Oh My Fish](https://github.com/oh-my-fish/oh-my-fish), which makes nvm and its completions available in fish shell
4444

45-
46-
4745
**Note:** We still have some problems with FreeBSD, because there is no official pre-built binary for FreeBSD, and building from source may need [patches](https://www.freshports.org/www/node/files/patch-deps_v8_src_base_platform_platform-posix.cc); see the issue ticket:
4846
- [[#900] [Bug] nodejs on FreeBSD need to be patched ](https://github.com/creationix/nvm/issues/900)
4947
- [nodejs/node#3716](https://github.com/nodejs/node/issues/3716)

0 commit comments

Comments
 (0)