- Web Development with MongoDB and Node(Third Edition)
- Bruno Joseph D'mello Mithun Satheesh Jason Krol
- 134字
- 2021-07-08 10:32:40
Linux
Because there are so many different flavors and distributions of Linux available, installing Node isn't quite as straightforward. However, if you're running Linux to begin with, then you are more than aware of this and probably comfortable with a few extra steps.
Joyent has an excellent wiki on how to install Node on Linux using the many different package manager options available. This covers almost all the popular deb and rpm-based package managers. You can read that wiki by visiting https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager.
For Ubuntu 14.04 and preceding as an example, the steps to install Node would be as follows:
$ sudo apt-get install python-software-properties
$ sudo curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
$ sudo apt-get install nodejs
Once these steps have been completed, both Node and npm should be installed on your system.
推薦閱讀
- 嵌入式軟件系統測試:基于形式化方法的自動化測試解決方案
- Interactive Data Visualization with Python
- Python Game Programming By Example
- 神經網絡編程實戰:Java語言實現(原書第2版)
- The React Workshop
- Learning AndEngine
- Java程序設計:原理與范例
- Mastering Akka
- 打開Go語言之門:入門、實戰與進階
- ArcGIS for Desktop Cookbook
- OpenCV 3.0 Computer Vision with Java
- Clojure High Performance Programming(Second Edition)
- Android 游戲開發大全(第二版)
- Blender 3D Cookbook
- 系統分析師UML用例實戰