本来以为没有太大困难,结果还是出了问题
本机系统deepin15.04
1.首先sudo apt-get update升级软件源
2.然后sudo apt-get install nodejs一切顺利
3.来到终端node -v提示
slgxmh@slgxmh-pc:~$ node -v
Could not find the database of available applications, run update-command-not-found as root to fix this
一查才发现现在改成了nodejs,于是nodejs -v一切正常
4.最后sudo apt-get install npm
##恭喜大家安装成功
Deepin下Node.js安装
本文记录了在Deepin 15.04系统中安装Node.js和npm的过程及遇到的问题。作者首先更新了软件源,接着安装了Node.js,并解决了版本检查问题,最后成功安装了npm。

2108

被折叠的 条评论
为什么被折叠?



