我正在阅读 AngularJS 教程,并在 get started 中它说的部分:
In Debian based distributions, there is a name clash with another utility called node. The suggested solution is to also install the nodejs-legacy apt package, which renames node to nodejs.
- apt-get install nodejs-legacy npm
- nodejs --version
- npm --version
我不明白基于 Debian 的发行版意味着什么,即使在访问 https://packages.debian.org/sid/nodejs-legacy 后也是如此。
顺便说一句,我之前在其他教程中使用过 Angular 和 Node,所以我不确定是否应该遵循这个入门部分。我现在有点同意它,因为我安装了 nvm,但无意或不了解它的用途。
最佳答案
如果 Linux 发行版使用 dpkg 并使用 apt 软件包管理器,您可以将其视为基于 Debian 的发行版,即 Debian/Ubuntu。有很多,你可以在这里查看列表...
https://www.debian.org/misc/children-distros
维基百科有一个很好的页面,其中包含有关 Linux 发行版的更多详细信息。 Debian 列表可以在这里找到...
https://en.wikipedia.org/wiki/List_of_Linux_distributions#Debian-based
值得点击该图像来查看 Debian 已经产生了多少个发行版。
关于linux - 什么是基于 Debian 的发行版?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36074205/