diff --git a/locale/en/download/package-manager.md b/locale/en/download/package-manager.md index 131060da36f7d..fee6b58a3c010 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) @@ -21,8 +20,8 @@ title: Installing Node.js via package manager * [openSUSE and SLE](#opensuse-and-sle) * [macOS](#macos) * [SmartOS and illumos](#smartos-and-illumos) -* [Void Linux](#void-linux) * [Solus](#solus) +* [Void Linux](#void-linux) * [Windows](#windows) ---------------------------- @@ -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: @@ -381,23 +201,23 @@ cd pkgsrc/lang/nodejs && bmake install ``` -## Void Linux +## Solus -Void Linux ships node.js stable in the main repository. +Solus provides node.js in its main repository. ```bash -xbps-install -Sy nodejs +sudo eopkg install nodejs ``` -## Solus -Solus provides node.js in its main repository. +## Void Linux + +Void Linux ships node.js stable in the main repository. ```bash -sudo eopkg install nodejs +xbps-install -Sy nodejs ``` - ## Windows Simply download the [Windows Installer](https://nodejs.org/#download) directly from the [nodejs.org](https://nodejs.org) web site. diff --git a/locale/es/download/package-manager.md b/locale/es/download/package-manager.md index ad56b61c9962f..6ed66b4843edd 100644 --- a/locale/es/download/package-manager.md +++ b/locale/es/download/package-manager.md @@ -9,212 +9,45 @@ title: Instalando Node.js usando un gestor de paquetes ---------------------------- +* [Android](#android) * [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) * [openSUSE y SLE](#opensuse-y-sle) * [macOS](#macos) * [SmartOS y illumos](#smartos-y-illumos) +* [Solus](#solus) * [Void Linux](#void-linux) * [Windows](#windows) ---------------------------- -## Arch Linux - -Paquetes para Node.js y npm están disponibles en el repositorio de la comunidad. - -```bash -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) +## Android -**Versiones de CentOS soportadas:** +Android support is still experimental in Node.js, so precompiled binaries are not yet provided by Node.js developers. -* **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: +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 -sudo yum install nodejs npm +pkg install nodejs ``` -Buscando las últimas actualizaciones? [Instálelas desde updates-testing.](https://fedoraproject.org/wiki/QA:Updates_Testing) +Currently, Termux Node.js binaries are compiled without Inspector support and linked against `system-icu` (depending on `libicu` package). -**Enterprise Linux** (RHEL y CentOS) Los usuarios pueden usar paquetes de Node.js y npm desde el repositorio [EPEL](https://fedoraproject.org/wiki/EPEL). +## Arch Linux -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: +Paquetes para Node.js y npm están disponibles en el repositorio de la comunidad. ```bash -sudo yum install nodejs npm --enablerepo=epel +pacman -S nodejs npm ``` -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 +[Las distribuciones de binarios oficiales de Node.js](https://github.com/nodesource/distributions/blob/master/README.md) son proporcinadas por NodeSource. ## FreeBSD y OpenBSD @@ -345,6 +178,15 @@ cd pkgsrc/lang/nodejs && bmake install ``` +## Solus + +Solus provides node.js in its main repository. + +```bash +sudo eopkg install nodejs +``` + + ## Void Linux Void Linux incluye node.js estable en el repositorio principal. diff --git a/locale/ja/download/package-manager.md b/locale/ja/download/package-manager.md index afa58ca98c34f..8c58c42b0bef0 100644 --- a/locale/ja/download/package-manager.md +++ b/locale/ja/download/package-manager.md @@ -11,256 +11,47 @@ title: パッケージマネージャを利用した Node.js のインストー ---------------------------- +* [Android](#android) * [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 パッケージ](#debian-ubuntu-linux-linux-fedora-snap) * [FreeBSD と OpenBSD](#freebsd-openbsd) * [Gentoo](#gentoo) * [NetBSD](#netbsd) * [openSUSE と SLE](#opensuse-sle) * [macOS](#macos) * [SmartOS と illumos](#smartos-illumos) +* [Solus](#solus) * [Void Linux](#void-linux) * [Windows](#windows) ---------------------------- -## Arch Linux - - -Node.js と npm のパッケージがコミュニティのリポジトリから利用可能です。 +## Android -```bash -pacman -S nodejs npm -``` +Android support is still experimental in Node.js, so precompiled binaries are not yet provided by Node.js developers. - -## 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) を読むことをお勧めします。 +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_10.x | sudo -E bash - -sudo apt-get install -y nodejs +pkg install 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) +Currently, Termux Node.js binaries are compiled without Inspector support and linked against `system-icu` (depending on `libicu` package). - - 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 パッケージを利用可能です。 +## 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 ``` - -最新のアップデートをお急ぎですか? [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 @@ -411,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 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 ```