码迷,mamicode.com
首页 > Web开发 > 详细

linux下Node.js安装

时间:2017-02-22 15:08:02      阅读:166      评论:0      收藏:0      [点我收藏+]

标签:lin   make   python2.7   div   figure   python安装   pytho   color   configure   

首先安装python2.7

wget -c https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz
tar -xzvf Python-2.7.9.tgz 
./configure  
make
make install

查看python 版本 python安装地点

python --version
which python

其实ubuntu自己集成了python2.7.12

 

node.js安装

sudo apt-get install nodejs
sudo apt-get install npm

node版本查看

node --version

 

linux下Node.js安装

标签:lin   make   python2.7   div   figure   python安装   pytho   color   configure   

原文地址:http://www.cnblogs.com/yankang/p/6429011.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!