- 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.
推薦閱讀
- 現代C++編程:從入門到實踐
- Advanced Machine Learning with Python
- 流量的秘密:Google Analytics網站分析與優化技巧(第2版)
- Apache Spark 2.x Machine Learning Cookbook
- 構建移動網站與APP:HTML 5移動開發入門與實戰(跨平臺移動開發叢書)
- Instant 960 Grid System
- 算法訓練營:提高篇(全彩版)
- Linux:Embedded Development
- Python Web數據分析可視化:基于Django框架的開發實戰
- Unity 3D腳本編程:使用C#語言開發跨平臺游戲
- 軟件體系結構
- Arduino電子設計實戰指南:零基礎篇
- Learning Bootstrap 4(Second Edition)
- Mastering Object:Oriented Python(Second Edition)
- C語言程序設計教程