From 2ccf48aa82dce641bd37aaacecd4d9069f755988 Mon Sep 17 00:00:00 2001 From: Frederic Hemberger Date: Wed, 10 Oct 2018 10:09:50 +0200 Subject: [PATCH 01/10] Update supported versions --- locale/en/download/package-manager.md | 186 +------------------------ locale/es/download/package-manager.md | 187 +------------------------- 2 files changed, 6 insertions(+), 367 deletions(-) diff --git a/locale/en/download/package-manager.md b/locale/en/download/package-manager.md index 131060da36f7d..602f0095815cb 100644 --- a/locale/en/download/package-manager.md +++ b/locale/en/download/package-manager.md @@ -11,8 +11,7 @@ title: Installing Node.js via package manager * [Android](#android) * [Arch Linux](#arch-linux) -* [Debian and Ubuntu based Linux distributions](#debian-and-ubuntu-based-linux-distributions) -* [Enterprise Linux and Fedora](#enterprise-linux-and-fedora) +* [Debian and Ubuntu based Linux distributions, Enterprise Linux/Fedora and Snap packages](#debian-and-ubuntu-based-linux-distributions-enterprise-linux-fedora-and-snap-packages) * [FreeBSD](#freebsd) * [Gentoo](#gentoo) * [NetBSD](#netbsd) @@ -47,187 +46,9 @@ Node.js and npm packages are available in the Community Repository. pacman -S nodejs npm ``` +## Debian and Ubuntu based Linux distributions, Enterprise Linux/Fedora and Snap packages -## Debian and Ubuntu based Linux distributions - -Also including: **Linux Mint**, **Linux Mint Debian Edition (LMDE)**, **elementaryOS**, **bash on Windows** and others. - -Node.js is available from the [NodeSource](https://nodesource.com) Debian and Ubuntu binary distributions repository (formerly [Chris Lea's](https://github.com/chrislea) Launchpad PPA). Support for this repository, along with its scripts, can be found on GitHub at [nodesource/distributions](https://github.com/nodesource/distributions). - -**NOTE:** If you are using Ubuntu Precise or Debian Wheezy, you might want to read about [running Node.js >= 6.x on older distros](https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md). - -```bash -wget -qO- https://deb.nodesource.com/setup_8.x | sudo -E bash - -sudo apt-get install -y nodejs -``` - -Alternatively, for Node.js 10: - -```bash -wget -qO- https://deb.nodesource.com/setup_10.x | sudo -E bash - -sudo apt-get install -y nodejs -``` - -***Optional***: install build tools - -To compile and install native addons from npm you may also need to install build tools: - -```bash -sudo apt-get install -y build-essential -``` - -**Available architectures:** - -* **i386** (32-bit) -* **amd64** (64-bit) -* **armhf** (ARM 32-bit hard-float, ARMv7 and up: _arm-linux-gnueabihf_) - -**Supported Ubuntu versions:** - -* **Ubuntu 14.04 LTS** (Trusty Tahr) -* **Ubuntu 16.04 LTS** (Xenial Xerus) - -**Supported Debian versions:** - -* **Debian 8** (jessie, old-stable) -* **Debian 9 / stable** (stretch) -* **Debian testing** (buster to-be-released-as-next-stable) -* **Debian unstable** (sid never-to-be-released, aka rolling) - -A Node.js package is also available in the [official repo](http://packages.debian.org/search?searchon=names&keywords=nodejs) for Debian Sid (unstable), Jessie (testing) and Wheezy (wheezy-backports) as "nodejs". It only installs a `nodejs` binary. - -The [nodejs-legacy package](http://packages.debian.org/search?searchon=names&keywords=nodejs-legacy) installs a `node` symlink that is needed by many modules to build and run correctly. -The Node.js modules available in the distribution official repositories do not need it. - -**Supported Linux Mint versions:** - -* **Linux Mint 17 "Qiana"** (via Ubuntu 14.04 LTS) -* **Linux Mint 17.1 "Rebecca"** (via Ubuntu 14.04 LTS) -* **Linux Mint 17.2 "Rafaela"** (via Ubuntu 14.04 LTS) -* **Linux Mint Debian Edition (LMDE) 2 "Betsy"** (via Debian 8) - -**Supported elementary OS versions:** - -* **elementary OS Luna** (via Ubuntu 12.04 LTS) -* **elementary OS Freya** (via Ubuntu 14.04 LTS) -* **elementary OS Loki** (via Ubuntu 16.04 LTS) -* **elementary OS Juno** (via Ubuntu 18.04 LTS) - -**Supported Trisquel versions:** - -* **Trisquel 7 "Belenos"** (via Ubuntu 14.04 LTS) - -**Supported BOSS versions:** - -* **BOSS 5.0 "Anokha"** (via Debian 7) - -## Enterprise Linux and Fedora - -Including **Red Hat® Enterprise Linux®** / **RHEL**, **CentOS** and **Fedora**. - -Node.js is available from the [NodeSource](https://nodesource.com) Enterprise Linux and Fedora binary distributions repository. Support for this repository, along with its scripts, can be found on GitHub at [nodesource/distributions](https://github.com/nodesource/distributions). - -Note that the Node.js packages for EL 5 (RHEL5 and CentOS 5) depend on the **[EPEL](https://fedoraproject.org/wiki/EPEL)** repository being available. The setup script will check and provide instructions if it is not installed. - -On RHEL, CentOS or Fedora, for Node.js v8 LTS: - -```bash -curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash - -``` - -Alternatively for Node.js 10: - -```bash -curl --silent --location https://rpm.nodesource.com/setup_10.x | sudo bash - -``` - -Then install: - -```bash -sudo yum -y install nodejs -``` - -***Optional***: install build tools - -To compile and install native addons from npm you may also need to install build tools: - -```bash -sudo yum install gcc-c++ make -# or: sudo yum groupinstall 'Development Tools' -``` - -**Available architectures:** - -* **i386** (32-bit, not available for EL7) -* **x86_64** (64-bit) - -**Supported Red Hat® Enterprise Linux® versions:** - -* **RHEL 5** (32-bit and 64-bit) -* **RHEL 6** (32-bit and 64-bit) -* **RHEL 7** (64-bit) - -**Supported CentOS versions:** - -* **CentOS 5** (32-bit and 64-bit) -* **CentOS 6** (32-bit and 64-bit) -* **CentOS 7** (64-bit) - -**Supported CloudLinux versions:** -* **CloudLinux 6** (32-bit and 64-bit) - -**Supported Fedora versions:** - -* **Fedora 21 (Twenty One)** (32-bit and 64-bit) -* **Fedora 20 (Heisenbug)** (32-bit and 64-bit) -* **Fedora 19 (Schrödinger's Cat)** (32-bit and 64-bit) - -**Other distributions known to be supported:** - -* **Oracle Linux** (mirrors RHEL very closely) -* **Amazon Linux** (tested on 2016.03) - -### Alternatives - -Official **Fedora** [Node.js](https://apps.fedoraproject.org/packages/nodejs) and [npm](https://apps.fedoraproject.org/packages/npm) packages are available in Fedora 18 and later. Install with: - -```bash -sudo dnf install nodejs -``` - -In a hurry for the latest updates? [Grab them from updates-testing.](https://fedoraproject.org/wiki/QA:Updates_Testing) - -**Enterprise Linux** (RHEL and CentOS) users may use the Node.js and npm packages from the [EPEL](https://fedoraproject.org/wiki/EPEL) repository. - -Install the appropriate *epel-release* RPM for your version (found on the [EPEL](https://fedoraproject.org/wiki/EPEL) repository homepage), then run: - -```bash -sudo yum install nodejs npm --enablerepo=epel -``` - -In a hurry for the latest updates? [Grab them from epel-testing.](https://fedoraproject.org/wiki/EPEL/testing) - -**Available architectures:** - -* **i686** (32-bit, not available for EL7) -* **x86_64** (64-bit) -* **armv6hl** (Raspberry Pi, [Pidora](http://pidora.ca) only) -* **armv7hl** (32-bit ARM hard-float, ARMv7 and up, Fedora only) - -**Supported Red Hat® Enterprise Linux® versions:** - -* **RHEL 6** (i686/x86_64) -* **RHEL 7** (aarch64/x86_64) - -RHEL 6 is no longer supported through EPEL, you can however use [Red Hat Software Collections](https://www.softwarecollections.org/en/scls/?search=nodejs). - -Additionally, versions of **CentOS** and **Scientific Linux** corresponding to the above RHEL versions are also officially supported by all EPEL packages, including nodejs. Amazon Linux is not officially supported by EPEL due to significant incompatibilities previously reported to the epel-devel mailing list, however you might find that nodejs at least still works. - -**Supported Fedora versions:** - -* **Fedora Rawhide** (i686/x86_64/armv7hl/aarch64/ppc64/ppc64le/s390x) -* **Fedora 27** (i686/x86_64/armv7hl/aarch64/ppc64/ppc64le/s390x) -* **Fedora 26** (i686/x86_64/armv7hl/aarch64/ppc64/ppc64le) +[Official Node.js binary distributions](https://github.com/nodesource/distributions/blob/master/README.md) are provided by NodeSource. ## FreeBSD @@ -253,7 +74,6 @@ Node.js is available in the portage tree. emerge nodejs ``` - ## NetBSD Node.js is available in the pkgsrc tree: diff --git a/locale/es/download/package-manager.md b/locale/es/download/package-manager.md index ad56b61c9962f..fb0da2d5d417c 100644 --- a/locale/es/download/package-manager.md +++ b/locale/es/download/package-manager.md @@ -10,8 +10,7 @@ title: Instalando Node.js usando un gestor de paquetes ---------------------------- * [Arch Linux](#arch-linux) -* [Distribuciones de Linux basadas en Debian y Ubuntu](#distribuciones-de-linux-basadas-en-debian-y-ubuntu) -* [Enterprise Linux y Fedora](#enterprise-linux-y-fedora) +* [Distribuciones de Linux basadas en Debian y Ubuntu, Enterprise Linux/Fedora y Snap](#distribuciones-de-linux-basadas-en-debian-y-ubuntu-enterprise-linux-fedora-y-snap) * [FreeBSD y OpenBSD](#freebsd-y-openbsd) * [Gentoo](#gentoo) * [NetBSD](#netbsd) @@ -32,189 +31,9 @@ pacman -S nodejs npm ``` -## Distribuciones de Linux basadas en Debian y Ubuntu - -También incluidas: **Linux Mint**, **Linux Mint Debian Edition (LMDE)**, **elementaryOS** y otras. - -Node.js está disponible desde el repositorio de binarios para Debian y Ubuntu de [NodeSource](https://nodesource.com) (antiguamente soportado por [Chris Lea](https://github.com/chrislea) en Launchpad mediante PPA). Soporte para este repositorio y sus scripts, pueden ser encontrados en GitHub bajo [nodesource/distributions](https://github.com/nodesource/distributions). - -**NOTA:** Si usted está usando Ubuntu Precise ó Debian Wheezy, Usted probablemente deba leer sobre [ejecutar Node.js >= 6.x en distribuciones antiguas](https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md). - -```bash -wget -qO- https://deb.nodesource.com/setup_10.x | sudo -E bash - -sudo apt-get install -y nodejs -``` - -Alternativamente, para Node.js v8: - -```bash -wget -qO- https://deb.nodesource.com/setup_8.x | sudo -E bash - -sudo apt-get install -y nodejs -``` - -***Opcional***: Instalar herramientas de compilación - -Para compilar e instalar extensiones nativas desde npm se necesitará también instalar las herramientas de compilación: - -```bash -sudo apt-get install -y build-essential -``` - -**Arquitecturas disponibles:** - -* **i386** (32-bit) -* **amd64** (64-bit) -* **armhf** (ARM 32-bit hard-float, ARMv7 y superiores: _arm-linux-gnueabihf_) - -**Versiones de Ubuntu soportadas:** - -* **Ubuntu 14.04 LTS** (Trusty Tahr) -* **Ubuntu 16.04 LTS** (Xenial Xerus) - -**Versiones de Debian soportadas:** - -* **Debian 7** (wheezy) -* **Debian 8 / stable** (jessie) -* **Debian testing** (stretch, aliased to jessie) -* **Debian unstable** (sid) - -Un paquete de Node.js está también disponible en el [repositorio oficial](http://packages.debian.org/search?searchon=names&keywords=nodejs) para Debian Sid (unstable), Jessie (testing) y Wheezy (wheezy-backports) como "nodejs". Este solo instala el binario de `nodejs`. - -El [paquete nodejs-legacy](http://packages.debian.org/search?searchon=names&keywords=nodejs-legacy) instala un enlace simbólico de `node` que es requerido para que muchos módulos puedan ser compilados y ejecutados correctamente. -Los módulos de Node.js disponibles en el repositorio de la distribución oficial lo necesitan. - -**Versiones de Linux Mint soportadas:** - -* **Linux Mint 17 "Qiana"** (mediante Ubuntu 14.04 LTS) -* **Linux Mint 17.1 "Rebecca"** (mediante Ubuntu 14.04 LTS) -* **Linux Mint 17.2 "Rafaela"** (mediante Ubuntu 14.04 LTS) -* **Linux Mint Debian Edition (LMDE) 2 "Betsy"** (mediante Debian 8) - -**Versiones de elementary OS soportadas:** - -* **elementary OS Freya** (mediante Ubuntu 14.04 LTS) - -**Versiones de Trisquel soportadas:** - -* **Trisquel 7 "Belenos"** (mediante Ubuntu 14.04 LTS) - -**Versiones de BOSS soportadas:** - -* **BOSS 5.0 "Anokha"** (mediante Debian 7) - -## Enterprise Linux y Fedora - -Incluyendo **Red Hat® Enterprise Linux®** / **RHEL**, **CentOS** y **Fedora**. - -Node.js está disponible desde el repositorio de binarios para Enterprise Linux y Fedora de [NodeSource](https://nodesource.com). Soporte para este repositorio y sus scripts, pueden ser encontrados en GitHub bajo [nodesource/distributions](https://github.com/nodesource/distributions). - -Tenga en cuenta que los paquetes de Node.js para EL 5 (RHEL5 y CentOS 5) dependen de que el repositorio **[EPEL](https://fedoraproject.org/wiki/EPEL)** este disponible. El script de instalación chequeará esto y proveerá instrucciones en el caso de que no este instalado. - -Ejecute como root en RHEL, CentOS ó Fedora, para Node.js v4 LTS Argon: - -```bash -curl --silent --location https://rpm.nodesource.com/setup_4.x | bash - -``` - -Alternativamente para Node.js v6: - -```bash -curl --silent --location https://rpm.nodesource.com/setup_6.x | bash - -``` - -Alternativamente para Node.js 0.10: - -```bash -curl --silent --location https://rpm.nodesource.com/setup | bash - -``` - -Luego instale, como root: - -```bash -yum -y install nodejs -``` - -***Opcional***: Instalar herramientas de compilación - -Para compilar e instalar extensiones nativas desde npm se necesitará también instalar las herramientas de compilación: - -```bash -yum install gcc-c++ make -# ó: yum groupinstall 'Development Tools' -``` - -**Arquitecturas disponibles:** - -* **i386** (32-bit, no disponible para EL7) -* **x86_64** (64-bit) - -**Versiones de Red Hat® Enterprise Linux® soportadas:** - -* **RHEL 5** (32-bit y 64-bit) -* **RHEL 6** (32-bit y 64-bit) -* **RHEL 7** (64-bit) - -**Versiones de CentOS soportadas:** - -* **CentOS 5** (32-bit y 64-bit) -* **CentOS 6** (32-bit y 64-bit) -* **CentOS 7** (64-bit) - -**Versiones de CloudLinux soportadas:** -* **CloudLinux 6** (32-bit y 64-bit) - -**Versiones de Fedora soportadas:** - -* **Fedora 21 (Twenty One)** (32-bit y 64-bit) -* **Fedora 20 (Heisenbug)** (32-bit y 64-bit) -* **Fedora 19 (Schrödinger's Cat)** (32-bit y 64-bit) - -**Otras distribuciones conocidas como soportadas:** - -* **Oracle Linux** (bastante similar a RHEL) -* **Amazon Linux** (probada en 2016.03) - -### Alternativas - -Paquetes oficiales para **Fedora** de [Node.js](https://apps.fedoraproject.org/packages/nodejs) y [npm](https://apps.fedoraproject.org/packages/npm) están disponibles en Fedora 18 y posteriores. Para instalarlos ejecute: - -```bash -sudo yum install nodejs npm -``` - -Buscando las últimas actualizaciones? [Instálelas desde updates-testing.](https://fedoraproject.org/wiki/QA:Updates_Testing) - -**Enterprise Linux** (RHEL y CentOS) Los usuarios pueden usar paquetes de Node.js y npm desde el repositorio [EPEL](https://fedoraproject.org/wiki/EPEL). - -Instale el paquete RPM *epel-release* para su versión (Encuentrelo en la página inicial del repositorio [EPEL](https://fedoraproject.org/wiki/EPEL)), luego ejecute: - -```bash -sudo yum install nodejs npm --enablerepo=epel -``` - -Buscando las últimas actualizaciones? [Instálelas desde epel-testing.](https://fedoraproject.org/wiki/EPEL/testing) - -**Arquitecturas disponibles:** - -* **i686** (32-bit, no disponible para EL7) -* **x86_64** (64-bit) -* **armv6hl** (Raspberry Pi, solo para [Pidora](http://pidora.ca)) -* **armv7hl** (32-bit ARM hard-float, ARMv7 y posteriores, solo para Fedora ) - -**Versiones de Red Hat® Enterprise Linux® soportadas:** - -* **RHEL 6** (i686/x86_64) -* **RHEL 7** (x86_64) - -Adicionalmente, versiones de **CentOS** y **Scientific Linux** correspondientes a las versiones arriba descritas de RHEL están también oficialmente soportadas para todos los paquetes EPEL, incluyendo nodejs. Amazon Linux no está oficialmente soportado por EPEL debido a incompatibilidades significativas previamente reportadas en la lista de correo de epel-devel, sin embargo usted encontrará que por lo menos nodejs funciona. - -**Versiones de Fedora soportadas:** - -* **Fedora Rawhide** (i686/x86_64/armv7hl) -* **Fedora 21** (i686/x86_64/armv7hl) -* **Fedora 20 (Heisenbug)** (i686/x86_64/armv6hl/armv7hl) -* **Fedora 19 (Schrödinger's Cat)** (i686/x86_64/armv7hl) +## Distribuciones de Linux basadas en Debian y Ubuntu, Enterprise Linux/Fedora y Snap +[Official Node.js binary distributions](https://github.com/nodesource/distributions/blob/master/README.md) are provided by NodeSource. ## FreeBSD y OpenBSD From 8689e10d1ed5b4ac3f939bd49a042b8e52e061a5 Mon Sep 17 00:00:00 2001 From: Esteban Beltran Date: Thu, 25 Oct 2018 16:30:42 +0200 Subject: [PATCH 02/10] Update locale/es/download/package-manager.md Co-Authored-By: fhemberger --- locale/es/download/package-manager.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/es/download/package-manager.md b/locale/es/download/package-manager.md index fb0da2d5d417c..50bf7c917c4aa 100644 --- a/locale/es/download/package-manager.md +++ b/locale/es/download/package-manager.md @@ -33,7 +33,7 @@ pacman -S nodejs npm ## Distribuciones de Linux basadas en Debian y Ubuntu, Enterprise Linux/Fedora y Snap -[Official Node.js binary distributions](https://github.com/nodesource/distributions/blob/master/README.md) are provided by NodeSource. +[Las distribuciones de binarios oficiales de Node.js](https://github.com/nodesource/distributions/blob/master/README.md) son proporcinadas por NodeSource. ## FreeBSD y OpenBSD From 441c8a9d1ba4fe21135b260b0865bdfb36ce40a6 Mon Sep 17 00:00:00 2001 From: Summit Suen Date: Fri, 26 Oct 2018 03:05:49 +0800 Subject: [PATCH 03/10] zh-tw: update Debian/Ubuntu/RHEL section --- locale/zh-tw/download/package-manager.md | 183 +---------------------- 1 file changed, 3 insertions(+), 180 deletions(-) diff --git a/locale/zh-tw/download/package-manager.md b/locale/zh-tw/download/package-manager.md index bd645351c312d..ad3e194925e66 100644 --- a/locale/zh-tw/download/package-manager.md +++ b/locale/zh-tw/download/package-manager.md @@ -11,8 +11,7 @@ title: 透過套件管理安裝 Node.js * [Android](#android) * [Arch Linux](#arch-linux) -* [Debian 及 Ubuntu 系列發行版](#debian-and-ubuntu-based-linux-distributions) -* [Enterprise Linux 及 Fedora](#enterprise-linux-and-fedora) +* [Debian 及 Ubuntu 系列發行版,企業版 Linux/Fedora 和 Snap packages](#debian-and-ubuntu-based-linux-distributions-enterprise-linux-fedora-and-snap-packages) * [FreeBSD](#freebsd) * [Gentoo](#gentoo) * [NetBSD](#netbsd) @@ -51,185 +50,9 @@ pacman -S nodejs npm ``` -## Debian 及 Ubuntu 系列發行版 +## Debian 及 Ubuntu 系列發行版,企業版 Linux/Fedora 和 Snap packages -也適用於:**Linux Mint**、**Linux Mint Debian Edition (LMDE)**、**elementaryOS** 及 **bash on Windows** 等等。 - -Node.js 可由 [NodeSource](https://nodesource.com)(前身為 [Chris Lea](https://github.com/chrislea) 的 Launchpad PPA)軟體庫取得適用於 Debian 及 Ubuntu 的二進制檔。關於軟體庫及腳本的支援請至 [nodesource/distributions](https://github.com/nodesource/distributions)。 - -**請注意:**如果你正在使用 Ubuntu Precise 或 Debian Wheezy,你可能需要閱讀 [running Node.js >= 6.x on older distros](https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md)。 - -```bash -wget -qO- https://deb.nodesource.com/setup_8.x | sudo -E bash - -sudo apt-get install -y nodejs -``` - -或者若你想安裝的是 Node.js 10: - -```bash -wget -qO- https://deb.nodesource.com/setup_10.x | sudo -E bash - -sudo apt-get install -y nodejs -``` - -***選擇性***: 安裝編譯工具 - -若要從 npm 編譯及安裝原生附加元件,你需要另外安裝編譯工具: - -```bash -sudo apt-get install -y build-essential -``` - -**適用架構:** - -* **i386** (32 位元) -* **amd64** (64 位元) -* **armhf** (ARM 32 位元 hard-float, ARMv7 及更新版本: _arm-linux-gnueabihf_) - -**支援的 Ubuntu 版本:** - -* **Ubuntu 14.04 LTS** (Trusty Tahr) -* **Ubuntu 16.04 LTS** (Xenial Xerus) - -**支援的 Debian 版本:** - -* **Debian 8** (jessie, old-stable) -* **Debian 9 / stable** (stretch) -* **Debian testing** (buster to-be-released-as-next-stable) -* **Debian unstable** (sid never-to-be-released 或稱 rolling) - -[官方軟體庫](http://packages.debian.org/search?searchon=names&keywords=nodejs) 可取得適用於 Debian Sid (unstable)、Jessie (testing) 及 Wheezy (wheezy-backports) 的 Node.js 套件,其僅會安裝 `nodejs` 二進制檔。 - -[nodejs-legacy 套件](http://packages.debian.org/search?searchon=names&keywords=nodejs-legacy)將會安裝一個 多數模組編譯及執行時所需的 `node` 軟連結,若 Node.js 模組從官方軟體庫取得就不需要此套件。 - -**支援的 Linux Mint 版本:** - -* **Linux Mint 17 "Qiana"** (透過 Ubuntu 14.04 LTS) -* **Linux Mint 17.1 "Rebecca"** (透過 Ubuntu 14.04 LTS) -* **Linux Mint 17.2 "Rafaela"** (透過 Ubuntu 14.04 LTS) -* **Linux Mint Debian Edition (LMDE) 2 "Betsy"** (透過 Debian 8) - -**支援的 elementary OS 版本:** - -* **elementary OS Luna** (透過 Ubuntu 12.04 LTS) -* **elementary OS Freya** (透過 Ubuntu 14.04 LTS) -* **elementary OS Loki** (透過 Ubuntu 16.04 LTS) -* **elementary OS Juno** (透過 Ubuntu 18.04 LTS) - -**支援的 Trisquel 版本:** - -* **Trisquel 7 "Belenos"** (透過 Ubuntu 14.04 LTS) - -**支援的 BOSS 版本** - -* **BOSS 5.0 "Anokha"** (透過 Debian 7) - -## 企業版 Linux 及 Fedora - -也適用於 **Red Hat® Enterprise Linux®** / **RHEL**、**CentOS** 及 **Fedora**。 - -Node.js 可由 [NodeSource](https://nodesource.com) 軟體庫取得適用於 Linux 企業版及 Fedora 的二進制檔。關於軟體庫及腳本的支援請至 [nodesource/distributions](https://github.com/nodesource/distributions)。 - -需注意適用於 EL 5(RHEL5 及 CentOS 5)Node.js 的套件需依賴 **[EPEL](https://fedoraproject.org/wiki/EPEL)** 才可使用。若相依套件尚未安裝,腳本將會提供操作指南供參考。 - -在 RHEL、CentOS 或 Fedora 安裝 Node.js v8 LTS: - -```bash -curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash - -``` - -或者若你想安裝的是 Node.js 10: - -```bash -curl --silent --location https://rpm.nodesource.com/setup_10.x | sudo bash - -``` - -接著安裝: - -```bash -sudo yum -y install nodejs -``` - -***選擇性***: 安裝編譯工具 - -若要從 npm 編譯及安裝原生附加元件,你需要另外安裝編譯工具: - -```bash -sudo yum install gcc-c++ make -# 或者: sudo yum groupinstall 'Development Tools' -``` - -**適用架構:** - -* **i386** (32 位元,不支援 EL7) -* **x86_64** (64 位元) - -**支援的 Red Hat® Enterprise Linux® 版本:** - -* **RHEL 5** (32 位元及 64 位元) -* **RHEL 6** (32 位元及 64 位元) -* **RHEL 7** (64 位元) - -**支援的 CentOS 版本:** - -* **CentOS 5** (32 位元及 64 位元) -* **CentOS 6** (32 位元及 64 位元) -* **CentOS 7** (64 位元) - -**支援的 CloudLinux 版本:** -* **CloudLinux 6** (32 位元及 64 位元) - -**支援的 Fedora 版本:** - -* **Fedora 21 (Twenty One)** (32 位元及 64 位元) -* **Fedora 20 (Heisenbug)** (32 位元及 64 位元) -* **Fedora 19 (Schrödinger's Cat)** (32 位元及 64 位元) - -**其他已知支援的發行版** - -* **Oracle Linux** (與 RHEL 非常相似) -* **Amazon Linux** (於 2016 三月測試) - -### 替代方案 - -**Fedora** 官方的 [Node.js](https://apps.fedoraproject.org/packages/nodejs) 及 [npm](https://apps.fedoraproject.org/packages/npm) 套件自 Fedora 18 起可透過下列指令安裝: - -```bash -sudo dnf install nodejs -``` - -急著想試試最新版嗎? [從 updates-testing 取得更新](https://fedoraproject.org/wiki/QA:Updates_Testing)。 - -**企業版 Linux** (RHEL 及 CentOS) 可從 [EPEL](https://fedoraproject.org/wiki/EPEL) 軟體庫取得 Node.js 及 npm。 - -安裝適合你版本的 *epel-release* RPM (可以在 [EPEL](https://fedoraproject.org/wiki/EPEL) 軟體庫首頁上找到) 後執行: - -```bash -sudo yum install nodejs npm --enablerepo=epel -``` - -急著想試試最新版嗎? [從 epel-testing 取得更新](https://fedoraproject.org/wiki/EPEL/testing)。 - -**適用架構:** - -* **i686** (32 位元,不支援 EL7) -* **x86_64** (64 位元) -* **armv6hl** (Raspberry Pi,僅支援 [Pidora](http://pidora.ca)) -* **armv7hl** (32 位元 ARM hard-float, ARMv7 或更新版,僅支援 Fedora) - -**支援的 Red Hat® Enterprise Linux® 版本:** - -* **RHEL 6** (i686/x86_64) -* **RHEL 7** (aarch64/x86_64) - -RHEL 6 已不支援 EPEL,但你仍能使用 [Red Hat Software Collections](https://www.softwarecollections.org/en/scls/?search=nodejs)。 - -附帶一提,上方 **CentOS** 與 **Scientific Linux** 對應的 RHEL 版本也被 EPEL 套件官方正式支援,當然也包括了 Node.js。Amazon Linux 先前因嚴重不相容被回報至 epel-devel 郵件清單而不被 EPEL 正式支援,但至少 Node.js 仍能運作。 - -**支援的 Fedora 版本:** - -* **Fedora Rawhide** (i686/x86_64/armv7hl/aarch64/ppc64/ppc64le/s390x) -* **Fedora 27** (i686/x86_64/armv7hl/aarch64/ppc64/ppc64le/s390x) -* **Fedora 26** (i686/x86_64/armv7hl/aarch64/ppc64/ppc64le) +[官方 Node.js 二進制發行版](https://github.com/nodesource/distributions/blob/master/README.md) 透過 NodeSource 提供. ## FreeBSD From 4cef9cd02931efdccd8d0c3677b1c2bbf8f4a517 Mon Sep 17 00:00:00 2001 From: ZYSzys <17367077526@163.com> Date: Thu, 25 Oct 2018 23:20:45 +0800 Subject: [PATCH 04/10] zh-cn: update Debian/Ubuntu/RHEL section --- locale/zh-cn/download/package-manager.md | 186 +---------------------- 1 file changed, 3 insertions(+), 183 deletions(-) diff --git a/locale/zh-cn/download/package-manager.md b/locale/zh-cn/download/package-manager.md index e9717cd6a2426..e9d6a00e51cb7 100644 --- a/locale/zh-cn/download/package-manager.md +++ b/locale/zh-cn/download/package-manager.md @@ -11,8 +11,7 @@ title: 通过包管理器安装 Node.js * [Android](#android) * [Arch Linux](#arch-linux) -* [基于 Linux 的 Debian 和 Ubuntu 发行版](#debian-and-ubuntu-based-linux-distributions) -* [Enterprise Linux 和 Fedora](#enterprise-linux-and-fedora) +* [基于 Linux 的 Debian 和 Ubuntu 发行版, Enterprise Linux/Fedora 和 Snap packages](#debian-and-ubuntu-based-linux-distributions-enterprise-linux-fedora-and-snap-packages) * [FreeBSD](#freebsd) * [Gentoo](#gentoo) * [NetBSD](#netbsd) @@ -48,188 +47,9 @@ Node.js 以及 npm 包管理器在社区库中可如下方式使用: pacman -S nodejs npm ``` -## 基于Linux 发布的 Debian 和 Ubuntu 系统 +## 基于 Linux 的 Debian 和 Ubuntu 发行版, Enterprise Linux/Fedora 和 Snap packages -同时包括 **Linux Mint**, **Linux Mint Debian Edition (LMDE)**, **elementaryOS**, **bash on Windows** 和其它系统等。 - -你同时也可以从 [NodeSource](https://nodesource.com) 获取 Debian 和 Ubuntu 的 Node.js 二进制分发库(在此之前则是通过 [Chris Lea's](https://github.com/chrislea) Launchpad PPA)。 -有关于这些库和脚本代码方面的分发支持,你可以在 [nodesource/distributions](https://github.com/nodesource/distributions) 找到相关信息。 - -**注意:** 如果你在使用 Ubuntu Precise 或 Debian Wheezy 系统,你可能需要阅读相关信息:[在更古老的发行版系统上运行大于 6.0 版的 Nodejs](https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md)。 - -```bash -wget -qO- https://deb.nodesource.com/setup_8.x | sudo -E bash - -sudo apt-get install -y nodejs -``` - -而在 Node.js 10 版本中: - -```bash -wget -qO- https://deb.nodesource.com/setup_10.x | sudo -E bash - -sudo apt-get install -y nodejs -``` - -***可选***:安装构建工具 - -为构建和安装本地化的 npm 插件,你或许需要安装构建工具: - -```bash -sudo apt-get install -y build-essential -``` - -**支持的架构:** - -* **i386** (32 位) -* **amd64** (64 位) -* **armhf** (ARM 32 位 hard-float, ARMv7 和以上的 _arm-linux-gnueabihf_) - -**Ubuntu 中支持的版本:** - -* **Ubuntu 14.04 LTS** (Trusty Tahr) -* **Ubuntu 16.04 LTS** (Xenial Xerus) - -**Debian 中支持的版本:** - -* **Debian 8** (Jessie,上一个稳定版) -* **Debian 9 / stable** (当前稳定版) -* **Debian testing** (目前仍在测试的下一个稳定版) -* **Debian unstable** (依然在不断迭代的测试版) - -您也可以在 [官网发布版](http://packages.debian.org/search?searchon=names&keywords=nodejs) 获取针对 Debian Sid(非稳定版)、Jessie(测试版)和 Wheezy (wheezy补丁版) 的 Nodejs 程序包。它仅仅安装一个 `nodejs` 二进制程序包。 - -[nodejs-legacy 程序包](http://packages.debian.org/search?searchon=names&keywords=nodejs-legacy) 安装一个被许多模块使用、并使它们能够正常构建和运行的 `node` 符号链接。 -注:官方发布的 Node.js 模块库并不需要此链接。 - -**Linux Mint 中支持的版本:** - -* **Linux Mint 17 "Qiana"** (基于 Ubuntu 14.04 LTS) -* **Linux Mint 17.1 "Rebecca"** (基于 Ubuntu 14.04 LTS) -* **Linux Mint 17.2 "Rafaela"** (基于 Ubuntu 14.04 LTS) -* **Linux Mint Debian Edition (LMDE) 2 "Betsy"** (基于 Debian 8) - -**OS 中支持的版本:** - -* **elementary OS Luna** (基于 Ubuntu 12.04 LTS) -* **elementary OS Freya** (基于 Ubuntu 14.04 LTS) -* **elementary OS Loki** (基于 Ubuntu 16.04 LTS) -* **elementary OS Juno** (基于 Ubuntu 18.04 LTS) - -**Trisquel 中支持的版本:** - -* **Trisquel 7 "Belenos"** (基于 Ubuntu 14.04 LTS) - -**BOSS 中支持的版本:** - -* **BOSS 5.0 "Anokha"** (基于 Debian 7) - -## Enterprise Linux 和 Fedora - -包含 **Red Hat® Enterprise Linux®** / **RHEL**, **CentOS** 以及 **Fedora**。 - -你可以在 [NodeSource](https://nodesource.com) 获得企业版的 Linux 和 Fedora 版的程序分发包。 -并且你可在 [nodesource/distributions](https://github.com/nodesource/distributions) 获取相关信息。 - -注意: 针对于 EL 5 (RHEL5 和 CentOS 5) 的 Nodejs 程序包依赖于 **[EPEL](https://fedoraproject.org/wiki/EPEL)** 库是否可用, 安装程序将检测是否安装此依赖库并提供相关信息。 - -对于 RHEL, CentOS or Fedora 系统,Node.js v8 LTS版本命令: - -```bash -curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash - -``` - -而 Node.js 10 的命令: - -```bash -curl --silent --location https://rpm.nodesource.com/setup_10.x | sudo bash - -``` - -然后安装: - -```bash -sudo yum -y install nodejs -``` - -***可选:***: 安装构建工具 - -为构建和安装本地化的 npm 插件,你或许需要安装构建工具: - -```bash -sudo yum install gcc-c++ make -# or: sudo yum groupinstall 'Development Tools' -``` - -**支持的架构:** - -* **i386** (32 位, EL7不支持) -* **x86_64** (64 位) - -**Red Hat® Enterprise Linux® 中支持的版本:** - -* **RHEL 5** (32 位以及 64 位) -* **RHEL 6** (32 位以及 64 位) -* **RHEL 7** (64 位) - -**CentOS 中支持的版本:** - -* **CentOS 5** (32 位以及 64 位) -* **CentOS 6** (32 位以及 64 位) -* **CentOS 7** (64 位) - -**CloudLinux 中支持的版本:** -* **CloudLinux 6** (32 位以及 64 位) - -**Fedora 中支持的版本:** - -* **Fedora 21 (Twenty One)** (32 位以及 64 位) -* **Fedora 20 (Heisenbug)** (32 位以及 64 位) -* **Fedora 19 (Schrödinger's Cat)** (32 位以及 64 位) - -**其余支持的系统:** - -* **Oracle Linux** (非常接近于 RHEL 镜像) -* **Amazon Linux** (于 2016.03 测试完毕) - -### 可替代方案 - -在 Fedora 18 以及后继版本中,你可以通过 [Node.js](https://apps.fedoraproject.org/packages/nodejs) 和 [npm](https://apps.fedoraproject.org/packages/npm) 获取官方正式 Nodejs 安装包。用以下命令安装: - -```bash -sudo dnf install nodejs -``` - -急于获取最新版本?[用于更新测试](https://fedoraproject.org/wiki/QA:Updates_Testing) - -**Enterprise Linux** (RHEL 和 CentOS) 的用户可以通过 [EPEL](https://fedoraproject.org/wiki/EPEL) 获得 Node.js 和 npm 程序管理包,并且使用。 - -针对你的版本安装最合适的 *epel 发布版* (在 [EPEL](https://fedoraproject.org/wiki/EPEL) 的库首页面上),随后运行: - -```bash -sudo yum install nodejs npm --enablerepo=epel -``` - -急于获取最新版本?[用于 epel 测试](https://fedoraproject.org/wiki/EPEL/testing) - -**支持架构:** - -* **i686** (32 位,EL7不支持) -* **x86_64** (64 位) -* **armv6hl** (Raspberry Pi,仅是 [Pidora](http://pidora.ca)) -* **armv7hl** (32 位 ARM hard-float, ARMv7 以及后续版本,仅Fedora) - -**Red Hat® Enterprise Linux® 中支持的版本:** - -* **RHEL 6** (i686/x86_64) -* **RHEL 7** (aarch64/x86_64) - -RHEL 6 在 EPEL 中已经不被支持,但你可以使用 [Red Hat Software Collections](https://www.softwarecollections.org/en/scls/?search=nodejs) 取代。 - -除此之外,和以上 RHEL 版本相当的 **CentOS** 和 **Scientific Linux** 系统同样被所有的 EHEL 包支持,包括 nodejs。 因为之前在 epel-devel 中邮件列表中的报告说 Amazon Linux 有巨大的兼容性差异,所以此系统不被官方 EPEL 正式支持,但 Nodejs 仍然可以正常运行。 - -**Fedora 中支持版本:** - -* **Fedora Rawhide** (i686/x86_64/armv7hl/aarch64/ppc64/ppc64le/s390x) -* **Fedora 27** (i686/x86_64/armv7hl/aarch64/ppc64/ppc64le/s390x) -* **Fedora 26** (i686/x86_64/armv7hl/aarch64/ppc64/ppc64le) +[Node.js 官方二进制发行版](https://github.com/nodesource/distributions/blob/master/README.md) 由 NodeSource 提供。 ## FreeBSD From 6dcf31311ffc3f0c37a07ffa46a1bfd3212fbd22 Mon Sep 17 00:00:00 2001 From: Frederic Hemberger Date: Fri, 26 Oct 2018 05:33:56 +0200 Subject: [PATCH 05/10] Update uk --- locale/uk/download/package-manager.md | 236 ++++++-------------------- 1 file changed, 52 insertions(+), 184 deletions(-) diff --git a/locale/uk/download/package-manager.md b/locale/uk/download/package-manager.md index f6ef7767a5125..602f0095815cb 100644 --- a/locale/uk/download/package-manager.md +++ b/locale/uk/download/package-manager.md @@ -9,214 +9,48 @@ title: Installing Node.js via package manager ---------------------------- +* [Android](#android) * [Arch Linux](#arch-linux) -* [Debian and Ubuntu based Linux distributions](#debian-and-ubuntu-based-linux-distributions) -* [Enterprise Linux and Fedora](#enterprise-linux-and-fedora) -* [FreeBSD](#freebsd) +* [Debian and Ubuntu based Linux distributions, Enterprise Linux/Fedora and Snap packages](#debian-and-ubuntu-based-linux-distributions-enterprise-linux-fedora-and-snap-packages) +* [FreeBSD](#freebsd) * [Gentoo](#gentoo) * [NetBSD](#netbsd) +* [nvm](#nvm) * [OpenBSD](#openbsd) * [openSUSE and SLE](#opensuse-and-sle) * [macOS](#macos) * [SmartOS and illumos](#smartos-and-illumos) * [Void Linux](#void-linux) +* [Solus](#solus) * [Windows](#windows) ---------------------------- -## Arch Linux - -Node.js and npm packages are available in the Community Repository. - -```bash -pacman -S nodejs npm -``` +## Android +Android support is still experimental in Node.js, so precompiled binaries are not yet provided by Node.js developers. -## Debian and Ubuntu based Linux distributions - -Also including: **Linux Mint**, **Linux Mint Debian Edition (LMDE)**, **elementaryOS** and others. - -Node.js is available from the [NodeSource](https://nodesource.com) Debian and Ubuntu binary distributions repository (formerly [Chris Lea's](https://github.com/chrislea) Launchpad PPA). Support for this repository, along with its scripts, can be found on GitHub at [nodesource/distributions](https://github.com/nodesource/distributions). - -**NOTE:** If you are using Ubuntu Precise or Debian Wheezy, you might want to read about [running Node.js >= 6.x on older distros](https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md). - -```bash -wget -qO- https://deb.nodesource.com/setup_10.x | sudo -E bash - -sudo apt-get install -y nodejs -``` - -Alternatively, for Node.js v8: +However, there are some third-party solutions. For example, [Termux](https://termux.com/) community provides terminal emulator and Linux environment for Android, as well as own package manager and [extensive collection](https://github.com/termux/termux-packages) of many precompiled applications. This command in Termux app will install the last available Node.js version: ```bash -wget -qO- https://deb.nodesource.com/setup_8.x | sudo -E bash - -sudo apt-get install -y nodejs +pkg install nodejs ``` -***Optional***: install build tools - -To compile and install native addons from npm you may also need to install build tools: - -```bash -sudo apt-get install -y build-essential -``` - -**Available architectures:** - -* **i386** (32-bit) -* **amd64** (64-bit) -* **armhf** (ARM 32-bit hard-float, ARMv7 and up: _arm-linux-gnueabihf_) - -**Supported Ubuntu versions:** - -* **Ubuntu 14.04 LTS** (Trusty Tahr) -* **Ubuntu 16.04 LTS** (Xenial Xerus) - -**Supported Debian versions:** - -* **Debian 7** (wheezy) -* **Debian 8 / stable** (jessie) -* **Debian testing** (stretch, aliased to jessie) -* **Debian unstable** (sid) - -A Node.js package is also available in the [official repo](http://packages.debian.org/search?searchon=names&keywords=nodejs) for Debian Sid (unstable), Jessie (testing) and Wheezy (wheezy-backports) as "nodejs". It only installs a `nodejs` binary. - -The [nodejs-legacy package](http://packages.debian.org/search?searchon=names&keywords=nodejs-legacy) installs a `node` symlink that is needed by many modules to build and run correctly. -The Node.js modules available in the distribution official repositories do not need it. - -**Supported Linux Mint versions:** +Currently, Termux Node.js binaries are compiled without Inspector support and linked against `system-icu` (depending on `libicu` package). -* **Linux Mint 17 "Qiana"** (via Ubuntu 14.04 LTS) -* **Linux Mint 17.1 "Rebecca"** (via Ubuntu 14.04 LTS) -* **Linux Mint 17.2 "Rafaela"** (via Ubuntu 14.04 LTS) -* **Linux Mint Debian Edition (LMDE) 2 "Betsy"** (via Debian 8) - -**Supported elementary OS versions:** - -* **elementary OS Freya** (via Ubuntu 14.04 LTS) - -**Supported Trisquel versions:** - -* **Trisquel 7 "Belenos"** (via Ubuntu 14.04 LTS) - -**Supported BOSS versions:** - -* **BOSS 5.0 "Anokha"** (via Debian 7) - -## Enterprise Linux and Fedora - -Including **Red Hat® Enterprise Linux®** / **RHEL**, **CentOS** and **Fedora**. - -Node.js is available from the [NodeSource](https://nodesource.com) Enterprise Linux and Fedora binary distributions repository. Support for this repository, along with its scripts, can be found on GitHub at [nodesource/distributions](https://github.com/nodesource/distributions). - -Note that the Node.js packages for EL 5 (RHEL5 and CentOS 5) depend on the **[EPEL](https://fedoraproject.org/wiki/EPEL)** repository being available. The setup script will check and provide instructions if it is not installed. - -Run as root on RHEL, CentOS or Fedora, for Node.js v4 LTS Argon: - -```bash -curl --silent --location https://rpm.nodesource.com/setup_4.x | bash - -``` - -Alternatively for Node.js v6: - -```bash -curl --silent --location https://rpm.nodesource.com/setup_6.x | bash - -``` - -Alternatively for Node.js 0.10: - -```bash -curl --silent --location https://rpm.nodesource.com/setup_0.10 | bash - -``` - -Then install, as root: - -```bash -yum -y install nodejs -``` - -***Optional***: install build tools - -To compile and install native addons from npm you may also need to install build tools: - -```bash -yum install gcc-c++ make -# or: yum groupinstall 'Development Tools' -``` - -**Available architectures:** - -* **i386** (32-bit, not available for EL7) -* **x86_64** (64-bit) - -**Supported Red Hat® Enterprise Linux® versions:** - -* **RHEL 5** (32-bit and 64-bit) -* **RHEL 6** (32-bit and 64-bit) -* **RHEL 7** (64-bit) - -**Supported CentOS versions:** - -* **CentOS 5** (32-bit and 64-bit) -* **CentOS 6** (32-bit and 64-bit) -* **CentOS 7** (64-bit) - -**Supported CloudLinux versions:** -* **CloudLinux 6** (32-bit and 64-bit) - -**Supported Fedora versions:** - -* **Fedora 21 (Twenty One)** (32-bit and 64-bit) -* **Fedora 20 (Heisenbug)** (32-bit and 64-bit) -* **Fedora 19 (Schrödinger's Cat)** (32-bit and 64-bit) - -**Other distributions known to be supported:** - -* **Oracle Linux** (mirrors RHEL very closely) -* **Amazon Linux** (tested on 2014.03) - -### Alternatives - -Official **Fedora** [Node.js](https://apps.fedoraproject.org/packages/nodejs) and [npm](https://apps.fedoraproject.org/packages/npm) packages are available in Fedora 18 and later. Install with: - -```bash -sudo yum install nodejs npm -``` - -In a hurry for the latest updates? [Grab them from updates-testing.](https://fedoraproject.org/wiki/QA:Updates_Testing) - -**Enterprise Linux** (RHEL and CentOS) users may use the Node.js and npm packages from the [EPEL](https://fedoraproject.org/wiki/EPEL) repository. +## Arch Linux -Install the appropriate *epel-release* RPM for your version (found on the [EPEL](https://fedoraproject.org/wiki/EPEL) repository homepage), then run: +Node.js and npm packages are available in the Community Repository. ```bash -sudo yum install nodejs npm --enablerepo=epel +pacman -S nodejs npm ``` -In a hurry for the latest updates? [Grab them from epel-testing.](https://fedoraproject.org/wiki/EPEL/testing) - -**Available architectures:** - -* **i686** (32-bit, not available for EL7) -* **x86_64** (64-bit) -* **armv6hl** (Raspberry Pi, [Pidora](http://pidora.ca) only) -* **armv7hl** (32-bit ARM hard-float, ARMv7 and up, Fedora only) - -**Supported Red Hat® Enterprise Linux® versions:** - -* **RHEL 6** (i686/x86_64) -* **RHEL 7** (x86_64) - -Additionally, versions of **CentOS** and **Scientific Linux** corresponding to the above RHEL versions are also officially supported by all EPEL packages, including nodejs. Amazon Linux is not officially supported by EPEL due to significant incompatibilities previously reported to the epel-devel mailing list, however you might find that nodejs at least still works. - -**Supported Fedora versions:** +## Debian and Ubuntu based Linux distributions, Enterprise Linux/Fedora and Snap packages -* **Fedora Rawhide** (i686/x86_64/armv7hl) -* **Fedora 21** (i686/x86_64/armv7hl) -* **Fedora 20 (Heisenbug)** (i686/x86_64/armv6hl/armv7hl) -* **Fedora 19 (Schrödinger's Cat)** (i686/x86_64/armv7hl) +[Official Node.js binary distributions](https://github.com/nodesource/distributions/blob/master/README.md) are provided by NodeSource. -## FreeBSD +## FreeBSD The most recent release of Node.js is available via the [www/node](http://freshports.org/www/node) port. @@ -240,7 +74,6 @@ Node.js is available in the portage tree. emerge nodejs ``` - ## NetBSD Node.js is available in the pkgsrc tree: @@ -255,6 +88,33 @@ Or install a binary package (if available for your platform) using pkgin: pkgin -y install nodejs ``` +## nvm +Node Version Manager is a bash script used to manage multiple released Node.js versions. It allows +you to perform operations like install, uninstall, switch version, etc. +To install nvm, use this [install script](https://github.com/creationix/nvm#install-script). + +On Unix / OS X systems Node.js built from source can be installed using +[nvm](https://github.com/creationix/nvm) by installing into the location that nvm expects: + +```bash +$ env VERSION=`python tools/getnodeversion.py` make install DESTDIR=`nvm_version_path v$VERSION` PREFIX="" +``` + +After this you can use `nvm` to switch between released versions and versions +built from source. +For example, if the version of Node.js is v8.0.0-pre: + +```bash +$ nvm use 8 +``` + +Once the official release is out you will want to uninstall the version built +from source: + +```bash +$ nvm uninstall 8 +``` + ## OpenBSD Node.js is available through the ports system. @@ -276,7 +136,7 @@ Node.js is available in the main repositories under the following packages: * **openSUSE Leap 42.2**: `nodejs4` * **openSUSE Leap 42.3**: `nodejs4`, `nodejs6` * **openSUSE Tumbleweed**: `nodejs4`, `nodejs6`, `nodejs8` -* **SUSE Linux Enterprise Server (SLES) 12**: `nodejs4`, `nodejs6` +* **SUSE Linux Enterprise Server (SLES) 12**: `nodejs4`, `nodejs6` (The "Web and Scripting Module" must be [added before installing](https://www.suse.com/documentation/sles-12/book_sle_deployment/data/sec_add-ons_extensions.html).) For example, to install Node.js 4.x on openSUSE Leap 42.2, run the following as root: @@ -349,6 +209,14 @@ Void Linux ships node.js stable in the main repository. xbps-install -Sy nodejs ``` +## Solus + +Solus provides node.js in its main repository. + +```bash +sudo eopkg install nodejs +``` + ## Windows From 6fd61c0ca6e2b4ce3deb1864d6f28b5849db2d7a Mon Sep 17 00:00:00 2001 From: jigsaw Date: Fri, 26 Oct 2018 13:53:15 +0900 Subject: [PATCH 06/10] ja: Update Debian/Ubuntu/RHEL section --- locale/ja/download/package-manager.md | 231 +------------------------- 1 file changed, 4 insertions(+), 227 deletions(-) diff --git a/locale/ja/download/package-manager.md b/locale/ja/download/package-manager.md index afa58ca98c34f..035a6b53f2fac 100644 --- a/locale/ja/download/package-manager.md +++ b/locale/ja/download/package-manager.md @@ -12,8 +12,7 @@ title: パッケージマネージャを利用した Node.js のインストー ---------------------------- * [Arch Linux](#arch-linux) -* [Debian と Ubuntu ベースの Linux ディストリビューション](#debian-and-ubuntu-based-linux-distributions-debian-ubuntu-linux) -* [Enterprise Linux と Fedora](#enterprise-linux-and-fedora-enterprise-linux-fedora) +* [Debian と Ubuntu ベースの Linux ディストリビューション、エンタープライズ Linux/Fedora と Snap packages](#debian-ubuntu-linux-linux-fedora-snap-packages) * [FreeBSD と OpenBSD](#freebsd-openbsd) * [Gentoo](#gentoo) * [NetBSD](#netbsd) @@ -35,232 +34,10 @@ pacman -S nodejs npm ``` -## Debian と Ubuntu ベースの Linux ディストリビューション - - -これらも含みます: **Linux Mint**, **Linux Mint Debian Edition (LMDE)**, **elementaryOS** 等。 - - -Node.js は [NodeSource](https://nodesource.com) の Debian と Ubuntu ベースの Linux ディストリビューションリポジトリ (以前の [Chris Lea's](https://github.com/chrislea) Launchpad PPA) から利用できます。このリポジトリをサポートするには、GitHub にある [nodesource/distributions](https://github.com/nodesource/distributions) を参照ください。 - - -**注意:** Ubuntu Precise や Debian Wheezy をお使いの場合は、 [running Node.js >= 6.x on older distros](https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md) を読むことをお勧めします。 - -```bash -wget -qO- https://deb.nodesource.com/setup_10.x | sudo -E bash - -sudo apt-get install -y nodejs -``` - - -Node.js v8 を利用するには: - -```bash -wget -qO- https://deb.nodesource.com/setup_8.x | sudo -E bash - -sudo apt-get install -y nodejs -``` - - -***任意***: ビルドツールのインストール - - -npm からネイティブアドオンをコンパイル・インストールするにはビルドツールのインストールが必要です。 - -```bash -sudo apt-get install -y build-essential -``` - - -**利用可能なアーキテクチャ:** - -* **i386** (32-bit) -* **amd64** (64-bit) -* **armhf** (ARM 32-bit hard-float, ARMv7 and up: _arm-linux-gnueabihf_) - - -**サポートしている Ubuntu のバージョン:** - -* **Ubuntu 14.04 LTS** (Trusty Tahr) -* **Ubuntu 16.04 LTS** (Xenial Xerus) - - -**サポートしている Debian のバージョン:** - -* **Debian 7** (wheezy) -* **Debian 8 / stable** (jessie) -* **Debian testing** (stretch, aliased to jessie) -* **Debian unstable** (sid) - - - Debian Sid (unstable)、Jessie (testing) と Wheezy (wheezy-backports) の[公式リポジトリ](http://packages.debian.org/search?searchon=names&keywords=nodejs)からも「nodejs」のパッケージが利用可能です。 - - -[nodejs-legacy パッケージ](http://packages.debian.org/search?searchon=names&keywords=nodejs-legacy) は `node` のシンボリックリンクを作ります。これはたくさんのモジュールをビルドし正しく動かすために必要です。 -ディストリビューションの公式リポジトリで利用可能な Node.js のモジュールでは、これを必要としません。 - - -**サポートしている Linux Mint のバージョン:** - -* **Linux Mint 17 "Qiana"** (via Ubuntu 14.04 LTS) -* **Linux Mint 17.1 "Rebecca"** (via Ubuntu 14.04 LTS) -* **Linux Mint 17.2 "Rafaela"** (via Ubuntu 14.04 LTS) -* **Linux Mint Debian Edition (LMDE) 2 "Betsy"** (via Debian 8) - - -**サポートしている elementary OS のバージョン:** - -* **elementary OS Freya** (via Ubuntu 14.04 LTS) - - -**サポートしている Trisquel のバージョン:** - -* **Trisquel 7 "Belenos"** (via Ubuntu 14.04 LTS) - - -**サポートしている BOSS のバージョン:** - -* **BOSS 5.0 "Anokha"** (via Debian 7) - -## Enterprise Linux と Fedora - - -**Red Hat® Enterprise Linux®** / **RHEL**、 **CentOS** と **Fedora** を含みます。 - - -Node.js は [NodeSource](https://nodesource.com) の Enterprise Linux と Fedora バイナリディストリビューションリポジトリからも利用できます。このリポジトリをサポートするには、GitHub にある [nodesource/distributions](https://github.com/nodesource/distributions) を参照ください。 - - -EL 5 (RHEL5 と CentOS 5)用の Node.js パッケージは **[EPEL](https://fedoraproject.org/wiki/EPEL)** リポジトリに依存していますのでご注意ください。セットアップ用のスクリプトがチェックをして、もしそれがインストールされていない場合はインストール方法を説明します。 - - -Node.js v4 LTS Argon を RHEL、CentOS や Fedora で利用するには root で実行してください: - -```bash -curl --silent --location https://rpm.nodesource.com/setup_4.x | bash - -``` - - -Node.js v6 を利用するには: - -```bash -curl --silent --location https://rpm.nodesource.com/setup_6.x | bash - -``` - - -Node.js 0.10 を利用するには: - -```bash -curl --silent --location https://rpm.nodesource.com/setup | bash - -``` - - -root でインストール: - -```bash -yum -y install nodejs -``` - - -***任意***: ビルドツールのインストール - - -npm からネイティブアドオンをコンパイル・インストールするにはビルドツールのインストールが必要です。 - - -```bash -yum install gcc-c++ make -# or: yum groupinstall 'Development Tools' -``` - - -**利用可能なアーキテクチャ:** - -* **i386** (32-bit, not available for EL7) -* **x86_64** (64-bit) - - -**サポートしている Red Hat® Enterprise Linux® のバージョン** - -* **RHEL 5** (32-bit and 64-bit) -* **RHEL 6** (32-bit and 64-bit) -* **RHEL 7** (64-bit) - - -**サポートしている CentOS バージョン:** - -* **CentOS 5** (32-bit and 64-bit) -* **CentOS 6** (32-bit and 64-bit) -* **CentOS 7** (64-bit) - - -**サポートしている CloudLinux バージョン:** -* **CloudLinux 6** (32-bit and 64-bit) - - -**サポートしている Fedora バージョン:** - -* **Fedora 21 (Twenty One)** (32-bit and 64-bit) -* **Fedora 20 (Heisenbug)** (32-bit and 64-bit) -* **Fedora 19 (Schrödinger's Cat)** (32-bit and 64-bit) - - -**その他こちらもサポートしています:** - -* **Oracle Linux** (mirrors RHEL very closely) -* **Amazon Linux** (tested on 2016.03) - -### 代替手段 - - -Fedora 18 以降では、公式の **Fedora** [Node.js](https://apps.fedoraproject.org/packages/nodejs) と [npm](https://apps.fedoraproject.org/packages/npm) パッケージが利用可能です。 - -```bash -sudo yum install nodejs npm -``` - - -最新のアップデートをお急ぎですか? [updates-testing を参照してください。](https://fedoraproject.org/wiki/QA:Updates_Testing) - - -**Enterprise Linux** (RHEL と CentOS) のユーザーは、[EPEL](https://fedoraproject.org/wiki/EPEL)リポジトリから Node.js と npm パッケージを利用可能です。 - - -お使いのバージョンに適切な *epel-release* RPM をインストールし ([EPEL](https://fedoraproject.org/wiki/EPEL)リポジトリから見つかります)、そして実行します: - -```bash -sudo yum install nodejs npm --enablerepo=epel -``` - - -最新のアップデートをお急ぎですか? [epel-testing を参照してください。](https://fedoraproject.org/wiki/EPEL/testing) - - - -**利用可能なアーキテクチャ:** - -* **i686** (32-bit, not available for EL7) -* **x86_64** (64-bit) -* **armv6hl** (Raspberry Pi, [Pidora](http://pidora.ca) only) -* **armv7hl** (32-bit ARM hard-float, ARMv7 and up, Fedora only) - - -**サポートしている Red Hat® Enterprise Linux® バージョン:** - -* **RHEL 6** (i686/x86_64) -* **RHEL 7** (x86_64) - - - -また、RHELバージョンに該当する **CentOS** と **Scientific Linux** も全ての EPEL パッケージによって nodejs も含め公式にサポートされています。Amazon Linux は epel-devel のメーリングリストに以前報告された影響の大きな非互換性があるため、公式にはサポートされていません。しかし nodejs の動作は確認出来るでしょう。 - - -**サポートしている Fedora バージョン:** - -* **Fedora Rawhide** (i686/x86_64/armv7hl) -* **Fedora 21** (i686/x86_64/armv7hl) -* **Fedora 20 (Heisenbug)** (i686/x86_64/armv6hl/armv7hl) -* **Fedora 19 (Schrödinger's Cat)** (i686/x86_64/armv7hl) +## Debian と Ubuntu ベースの Linux ディストリビューション、エンタープライズ Linux/Fedora と Snap packages + +[Node.js 公式のバイナリディストリビューション](https://github.com/nodesource/distributions/blob/master/README.md)が NodeSource によって提供されています。 ## FreeBSD と OpenBSD From 86ece8c3262664f2b249fcf4e10fdf6005b25ae4 Mon Sep 17 00:00:00 2001 From: jigsaw Date: Sun, 28 Oct 2018 08:51:41 +0900 Subject: [PATCH 07/10] Update package-manager.md --- locale/ja/download/package-manager.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/ja/download/package-manager.md b/locale/ja/download/package-manager.md index 035a6b53f2fac..d630b2ae57c40 100644 --- a/locale/ja/download/package-manager.md +++ b/locale/ja/download/package-manager.md @@ -12,7 +12,7 @@ title: パッケージマネージャを利用した Node.js のインストー ---------------------------- * [Arch Linux](#arch-linux) -* [Debian と Ubuntu ベースの Linux ディストリビューション、エンタープライズ Linux/Fedora と Snap packages](#debian-ubuntu-linux-linux-fedora-snap-packages) +* [Debian と Ubuntu ベースの Linux ディストリビューション、エンタープライズ Linux/Fedora と Snap パッケージ](#debian-ubuntu-linux-linux-fedora-snap) * [FreeBSD と OpenBSD](#freebsd-openbsd) * [Gentoo](#gentoo) * [NetBSD](#netbsd) From 6d66769a0224991fde93cafacc73ff49e2f84ecb Mon Sep 17 00:00:00 2001 From: Frederic Hemberger Date: Sun, 28 Oct 2018 04:28:54 +0100 Subject: [PATCH 08/10] Update Korean version (untranslated) --- locale/ko/download/package-manager.md | 535 ++++---------------------- 1 file changed, 67 insertions(+), 468 deletions(-) diff --git a/locale/ko/download/package-manager.md b/locale/ko/download/package-manager.md index 3eb26ef6149d1..04dec56f644cd 100644 --- a/locale/ko/download/package-manager.md +++ b/locale/ko/download/package-manager.md @@ -10,16 +10,18 @@ title: 패키지 매니저로 Node.js 설치하기 ---------------------------- +* [Android](#android) * [Arch Linux](#arch-linux) -* [Debian and Ubuntu based Linux distributions](#debian-and-ubuntu-based-linux-distributions) -* [Enterprise Linux and Fedora](#enterprise-linux-and-fedora) -* [FreeBSD and OpenBSD](#freebsd-and-openbsd) +* [Debian and Ubuntu based Linux distributions, Enterprise Linux/Fedora and Snap packages](#debian-and-ubuntu-based-linux-distributions-enterprise-linux-fedora-and-snap-packages) +* [FreeBSD](#freebsd) * [Gentoo](#gentoo) * [NetBSD](#netbsd) * [nvm](#nvm) +* [OpenBSD](#openbsd) * [openSUSE and SLE](#opensuse-and-sle) * [macOS](#macos) * [SmartOS and illumos](#smartos-and-illumos) +* [Solus](#solus) * [Void Linux](#void-linux) * [Windows](#windows) @@ -33,13 +35,14 @@ title: 패키지 매니저로 Node.js 설치하기 ---------------------------- +* [Android](#android) * [Arch Linux](#arch-linux) -* [Debian과 Ubuntu에 기반을 둔 Linux 배포판](#debian-ubuntu-linux) -* [Enterprise Linux와 Fedora](#enterprise-linux-fedora) -* [FreeBSD와 OpenBSD](#freebsd-openbsd) +* [Debian and Ubuntu based Linux distributions, Enterprise Linux/Fedora and Snap packages](#debian-and-ubuntu-based-linux-distributions-enterprise-linux-fedora-and-snap-packages) +* [FreeBSD](#freebsd) * [Gentoo](#gentoo) * [NetBSD](#netbsd) * [nvm](#nvm) +* [OpenBSD](#openbsd) * [openSUSE와 SLE](#opensuse-sle) * [macOS](#macos) * [SmartOS와 illumos](#smartos-illumos) @@ -48,499 +51,75 @@ title: 패키지 매니저로 Node.js 설치하기 ---------------------------- - -## Arch Linux - -커뮤니티 저장소에서 Node.js와 npm을 이용할 수 있습니다. - -```bash -pacman -S nodejs npm -``` - - - -## Debian과 Ubuntu에 기반을 둔 Linux 배포판 - -**Linux Mint**, **Linux Mint Debian Edition (LMDE)**, **elementaryOS**, **bash on Windows** 등도 -포함합니다. - -[NodeSource](https://nodesource.com) Debian과 Ubuntu 바이너리 배포판 -저장소(전 [Chris Lea's](https://github.com/chrislea) Launchpad PPA)에서 -Node.js를 이용할 수 있습니다. 이 저장소의 지원내용과 스크립트를 GitHub -[nodesource/distributions](https://github.com/nodesource/distributions)에서 -볼 수 있습니다. - -**NOTE:** Ubuntu Precise나 Debian Wheezy를 사용한다면 -[오래된 배포판에서 Node.js >= 6.x 실행하기](https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md)를 -읽어볼 필요가 있습니다. - -```bash -wget -qO- https://deb.nodesource.com/setup_8.x | sudo -E bash - -sudo apt-get install -y nodejs -``` - - - -Node.js 10를 사용하고 싶다면 다음을 실행합니다. - -```bash -wget -qO- https://deb.nodesource.com/setup_10.x | sudo -E bash - -sudo apt-get install -y nodejs -``` - -***선택 사항***: 빌드 도구 설치 - -npm에서 네이티브 애드온을 컴파일하고 실행하려면 빌드 도구도 설치해야 합니다. - -```bash -sudo apt-get install -y build-essential -``` - -**사용가능한 아키텍처:** - -* **i386** (32-bit) -* **amd64** (64-bit) -* **armhf** (ARM 32-bit hard-float, ARMv7 이상: _arm-linux-gnueabihf_) - -**지원하는 Ubuntu 버전:** - -* **Ubuntu 14.04 LTS** (Trusty Tahr) -* **Ubuntu 16.04 LTS** (Xenial Xerus) - -**지원하는 Debian 버전:** - -* **Debian 7** (wheezy) -* **Debian 8 / stable** (jessie) -* **Debian testing** (stretch, jessie라고도 부름) -* **Debian unstable** (sid) - - -Debian Sid(unstable), Jessie(testing), Wheezy(wheezy-backports)의 -[공식 저장소](http://packages.debian.org/search?searchon=names&keywords=nodejs)에서 -"nodejs"라는 이름으로 Node.js 패키지를 사용할 수도 있습니다. - -[nodejs-legacy package](http://packages.debian.org/search?searchon=names&keywords=nodejs-legacy)는 -다수의 모듈을 제대로 빌드하고 실행하는 데 필요한 `node` 심볼릭 링크를 설치합니다. -배포판 공식 저장소에 있는 Node.js 모듈은 이 도구가 필요 없습니다. - - -**지원하는 Linux Mint 버전:** - -* **Linux Mint 17 "Qiana"** (Ubuntu 14.04 LTS에서) -* **Linux Mint 17.1 "Rebecca"** (Ubuntu 14.04 LTS에서) -* **Linux Mint 17.2 "Rafaela"** (Ubuntu 14.04 LTS에서) -* **Linux Mint Debian Edition (LMDE) 2 "Betsy"** (Debian 8에서) - -**지원하는 elementary OS 버전:** - -* **elementary OS Freya** (Ubuntu 14.04 LTS에서) - -**지원하는 Trisquel 버전:** - -* **Trisquel 7 "Belenos"** (Ubuntu 14.04 LTS에서) - -**지원하는 BOSS 버전:** - -* **BOSS 5.0 "Anokha"** (Debian 7에서) - - -## Enterprise Linux와 Fedora - -**Red Hat® Enterprise Linux®** / **RHEL**, **CentOS**, **Fedora**를 포함합니다. - -[NodeSource](https://nodesource.com) Enterprise Linux와 Fedora 바이너리 배포판 -저장소에서 Node.js를 이용할 수 있습니다. 이 저장소의 지원내용과 스크립트를 GitHub -[nodesource/distributions](https://github.com/nodesource/distributions)에서 -볼 수 있습니다. - -**[EPEL](https://fedoraproject.org/wiki/EPEL)** 저장소에 기반을 둔 EL 5(RHEL5와 -CentOS 5)의 Node.js 패키지도 사용할 수 있습니다. 설치되어 있지 않다면 설정 스크립트가 확인하고 -안내할 것입니다. - -RHEL, CentOS, Fedora에서 Node.js v8 LTS를 사용하려면 다음을 실행합니다. - - -```bash -curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash - -``` - -Node.js 10를 사용한다면 다음을 실행하세요. - -```bash -curl --silent --location https://rpm.nodesource.com/setup_10.x | sudo bash - -``` - -그 다음 아래의 명령어로 설치하세요. - -```bash -sudo yum -y install nodejs -``` +## Android - -***선택 사항***: 빌드 도구 설치 +Android support is still experimental in Node.js, so precompiled binaries are not yet provided by Node.js developers. -npm에서 네이티브 애드온을 컴파일하고 실행하려면 빌드도구도 설치해야 합니다. +However, there are some third-party solutions. For example, [Termux](https://termux.com/) community provides terminal emulator and Linux environment for Android, as well as own package manager and [extensive collection](https://github.com/termux/termux-packages) of many precompiled applications. This command in Termux app will install the last available Node.js version: ```bash -yum install gcc-c++ make -# 아니면: yum groupinstall 'Development Tools' +pkg install nodejs ``` - -**사용가능한 아키텍처:** - -* **i386** (32-bit, EL7에서는 사용할 수 없음) -* **x86_64** (64-bit) - -**지원하는 Red Hat® Enterprise Linux® 버전:** - -* **RHEL 5** (32-bit와 64-bit) -* **RHEL 6** (32-bit와 64-bit) -* **RHEL 7** (64-bit) - -**지원하는 CentOS 버전:** - -* **CentOS 5** (32-bit와 64-bit) -* **CentOS 6** (32-bit와 64-bit) -* **CentOS 7** (64-bit) - -**지원하는 CloudLinux 버전:** -* **CloudLinux 6** (32-bit와 64-bit) - -**지원하는 Fedora 버전:** - -* **Fedora 21 (Twenty One)** (32-bit와 64-bit) -* **Fedora 20 (Heisenbug)** (32-bit와 64-bit) -* **Fedora 19 (Schrödinger's Cat)** (32-bit와 64-bit) - -**지원되는 걸로 알려진 다른 배포판:** - -* **Oracle Linux** (RHEL와 아주 유사한 미러) -* **Amazon Linux** (2016.03에 테스트함) +Currently, Termux Node.js binaries are compiled without Inspector support and linked against `system-icu` (depending on `libicu` package). -### 그 밖의 방법 - -Fedora 18 이후 버전에서는 공식 **Fedora** -[Node.js](https://apps.fedoraproject.org/packages/nodejs)와 -[npm](https://apps.fedoraproject.org/packages/npm) 패키지를 사용할 수 있습니다. -다음 명령어로 설치합니다. - -```bash -sudo yum install nodejs npm -``` - -최신 업데이트를 바로 적용하고 싶다면 -[테스트 업데이트 버전](https://fedoraproject.org/wiki/QA:Updates_Testing)을 사용하세요. - -**엔터프라이즈 Linux**(RHEL와 CentOS) 사용자는 [EPEL](https://fedoraproject.org/wiki/EPEL) - 저장소의 Node.js와 npm 패키지를 사용할 것입니다. +## Arch Linux -버전에 맞는 *epel-release* RPM을 설치하세요.([EPEL](https://fedoraproject.org/wiki/EPEL) -저장소 페이지에서 찾을 수 있습니다.) +커뮤니티 저장소에서 Node.js와 npm을 이용할 수 있습니다. ```bash -sudo yum install nodejs npm --enablerepo=epel +pacman -S nodejs npm ``` - - -최신 업데이트를 바로 적용하고 싶다면 -[테스트 업데이트 버전](https://fedoraproject.org/wiki/EPEL/testing)을 사용하세요. - -**사용 가능한 아키텍처:** -* **i686** (32-bit, EF7에서는 사용할 수 없습니다.) -* **x86_64** (64-bit) -* **armv6hl** (Raspberry Pi, [Pidora](http://pidora.ca) 전용) -* **armv7hl** (32-bit ARM hard-float, ARMv7 이상, Fedora 전용) +## Debian and Ubuntu based Linux distributions, Enterprise Linux/Fedora and Snap packages -**지원하는 Red Hat® Enterprise Linux® 버전:** - -* **RHEL 6** (i686/x86_64) -* **RHEL 7** (x86_64) - -RHEL 6에서는 더이상 EPEL로 지원되지 않습니다. 하지만 [Red Hat Software Collections](https://www.softwarecollections.org/en/scls/?search=nodejs)를 사용 할 수 있습니다. - -게다가 위 RHEL에 대응되는 **CentOS**와 **Scientific Linux** 버전도 모든 EPEL -패키지에서(nodejs 포함) 공식적으로 지원합니다. Amazon Linux는 과거 epel-devel 메일링 리스트에 -호환 안 된다는 보고가 많아서 EPEL에서 공식 지원하지 않습니다만 현재 동작하는 nodejs를 -찾을 수 있을 것입니다. - -**지원하는 Fedora 버전:** - -* **Fedora Rawhide** (i686/x86_64/armv7hl/aarch64/ppc64/ppc64le/s390x) -* **Fedora 26** (i686/x86_64/armv7hl/aarch64/ppc64/ppc64le) -* **Fedora 25** (i686/x86_64/armv7hl) -* **Fedora 24** (i686/x86_64/armv7hl) +[Official Node.js binary distributions](https://github.com/nodesource/distributions/blob/master/README.md) are provided by NodeSource. -## FreeBSD와 OpenBSD - -Node.js는 ports 시스템으로 설치할 수 있습니다. - -**FreeBSD**: - -```bash -/usr/ports/www/node -``` - -**OpenBSD**: +Or compile it on your own using [ports](https://www.freebsd.org/cgi/man.cgi?ports): ```bash -/usr/ports/lang/node +cd /usr/ports/www/node && make install ``` -개발 버전도 FreeBSD의 ports에서 사용할 수 있습니다. +--> +## FreeBSD -```bash -cd /usr/ports/www/node-devel/ && make install clean -``` +The most recent release of Node.js is available via the [www/node](http://freshports.org/www/node) port. -아니면 FreeBSD 패키지를 이용할 수도 있습니다. - -```bash -pkg_add -r node-devel -``` - -FreeBSD의 [pkg-ng](https://wiki.freebsd.org/pkgng)를 사용하세요. +Install a binary package via [pkg](https://www.freebsd.org/cgi/man.cgi?pkg): ```bash pkg install node ``` -개발 버전도 설치할 수 있습니다. +Or compile it on your own using [ports](https://www.freebsd.org/cgi/man.cgi?ports): ```bash -pkg install node-devel +cd /usr/ports/www/node && make install ``` @@ -188,6 +202,15 @@ cd pkgsrc/lang/nodejs && bmake install ``` +## Solus + +Solus provides node.js in its main repository. + +```bash +sudo eopkg install nodejs +``` + + ## Void Linux