GithubHelp home page GithubHelp logo

nodesource / distributions Goto Github PK

View Code? Open in Web Editor NEW
13.2K 264.0 3.1K 1019 KB

NodeSource Node.js Binary Distributions

Home Page: https://nodesource.com

License: MIT License

Shell 100.00%
javascript linux node nodejs runtime

distributions's Introduction

NodeSource Node.js Binary Distributions

NodeSource

CircleCI

Github Actions Test

This repository contains the instructions to install the NodeSource Node.js Binary Distributions via .rpm and .deb as well as their setup and support scripts.

If you're looking for NodeSource's low-impact Node.js performance monitoring platform, please get started here.

New Update ⚠️

We'd like to inform you of important changes to our distribution repository nodesource/distributions.

What's New:

  • Package Changes: DEB and RPM packages are now available under the nodistro codename. We no longer package the installer coupled to specific versions. This means you can install Node.js on almost any distro that meets the minimum requirements.
  • Installation Scripts: Back by popular demand, the installation scripts have returned and are better than ever. See the installation instructions below for details on how to use them.
  • RPM Package Signing Key: The key used to sign RPM packages has changed. We now sign packages using SHA256, providing better support to the community.
  • Questions and concerns: To resolve questions and discuss concerns about this update we've opened this discussion space New distribution's packages

Looking for the previous Documentation README.md

Table of Contents

Debian and Ubuntu based distributions

DEB Available architectures

NodeSource will continue to maintain the following architectures and may add additional ones in the future.

  • amd64 (64-bit)
  • armhf (ARM 32-bit hard-float, ARMv7 and up: arm-linux-gnueabihf)
  • arm64 (ARM 64-bit, ARMv8 and up: aarch64-linux-gnu)

DEB Supported Versions

Ubuntu versions

Distro Name Node 18x Node 20x Node 21x Node 22x
Ubuntu Bionic ^18.04
Ubuntu Focal ^20.04
Ubuntu Jammy ^22.04

Debian versions

Distro Name Node 18x Node 20x Node 21x Node 22x
Debian 8 Jessie
Debian 9 Stretch
Debian 10 Buster
Debian 11 Bullseye
Debian 12 Bookworm

NOTE: If you are looking to run Node.js in a non-supported Linux version take a look to Node.js Unofficial Builds

Installation Instructions

Node.js

Node.js v22.x:

Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
Using Debian, as root
curl -fsSL https://deb.nodesource.com/setup_22.x | bash - &&\
apt-get install -y nodejs

Node.js v20.x:

Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
Using Debian, as root
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - &&\
apt-get install -y nodejs

Node.js v18.x:

Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
Using Debian, as root
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - &&\
apt-get install -y nodejs

Node.js LTS (v20.x):

Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
Using Debian, as root
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - &&\
apt-get install -y nodejs

Node.js Current (v21.x):

Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
Using Debian, as root
curl -fsSL https://deb.nodesource.com/setup_current.x | bash - &&\
apt-get install -y nodejs

Uninstall nodejs Ubuntu & Debian packages

To completely remove Node.js installed from the deb.nodesource.com package methods above:

use sudo on Ubuntu or run this as root on debian

apt-get purge nodejs &&\
rm -r /etc/apt/sources.list.d/nodesource.list &&\
rm -r /etc/apt/keyrings/nodesource.gpg

Enterprise Linux Based Distributions

RPM Available architectures

NodeSource will continue to maintain the following architectures and may add additional ones in the future.

  • x86_64 (64-bit)
  • arm64 (ARM 64-bit, ARMv8 and up: aarch64-linux-gnu)

RPM Supported Versions

Fedora versions

Distro Name Node 18x Node 20x Node 21x Node 22x
Fedora >= 20 (20->28)
Fedora >= 29
Fedora >= 36

Redhat versions

Distro Name Node 18x Node 20x Node 21x Node 22x
Redhat 7
Redhat 8
Redhat 9
Redhat 9-minimal

Amazon Linux versions

Distro Name Node 18x Node 20x Node 21x Node 22x
Amazon Linux 2
Amazon Linux 2023

NOTE: If you are looking to run Node.js in a non-supported Linux version take a look to Node.js Unofficial Builds

RPM Installation Instructions

The Nodesource RPM package signing key is available here: https://rpm.nodesource.com/gpgkey/nodesource.gpg.key

Node.js v22.x

As root
curl -fsSL https://rpm.nodesource.com/setup_22.x | bash -
yum install -y nodejs
No root privileges
curl -fsSL https://rpm.nodesource.com/setup_22.x | sudo bash -
yum install -y nodejs

Node.js v20.x

As root
curl -fsSL https://rpm.nodesource.com/setup_20.x | bash -
yum install -y nodejs
No root privileges
curl -fsSL https://rpm.nodesource.com/setup_20.x | sudo bash -
yum install -y nodejs

Node.js v18.x

As root
curl -fsSL https://rpm.nodesource.com/setup_18.x | bash -
yum install -y nodejs
No root privileges
curl -fsSL https://rpm.nodesource.com/setup_18.x | sudo bash -
yum install -y nodejs

Node.js LTS (20.x)

As root
curl -fsSL https://rpm.nodesource.com/setup_lts.x | bash -
yum install -y nodejs
No root privileges
curl -fsSL https://rpm.nodesource.com/setup_lts.x | sudo bash -
yum install -y nodejs

Node.js Current (22.x)

As root
curl -fsSL https://rpm.nodesource.com/setup_current.x | bash -
yum install -y nodejs
No root privileges
curl -fsSL https://rpm.nodesource.com/setup_current.x | sudo bash -
yum install -y nodejs

Optional: install build tools

To compile and install native addons from npm you may also need to install build tools:

yum install gcc-c++ make
# or: yum groupinstall 'Development Tools'

Uninstall nodejs Enterprise Linux packages

To completely remove Node.js installed from the rpm.nodesource.com package methods above:

use sudo or run this as root

yum remove nodejs &&\
rm -r /etc/yum.repos.d/nodesource*.repo &&\
yum clean all

Nodejs Release Calendar

Node Releases Calendar source: https://nodejs.dev

FAQ

Q: Are the scripts deprecated?

A: The scripts are deprecated for the versions of Node.js that are currently outdated. While the packages for these versions still exist, we no longer provide support for them. Our support is exclusively dedicated to the active Node.js versions, which, as of today, are 18, 20, and 21. Users utilizing these versions can confidently use our scripts, but we encourage those using older versions to upgrade for continued support and the best experience.


Q: How can I configure the repository manually?

A: If you prefer to manually configure the repository, we have a detailed guide to assist you through the process. Please visit our Repository Manual Installation Guide for comprehensive instructions. This guide is designed to provide step-by-step directions to ensure a smooth and successful manual setup of the repository for your Node.js environment.


Q: How do I pin to specific versions of Node.js?

A: Please take a look at wiki



Q: Why is there no folder listing available when I visit the following URLs? https://deb.nodesource.com/node_XX.x/pool/main/n/

https://rpm.nodesource.com/pub_20.x/

A: This issue may arise because some users utilize the above URLs to download specific versions of Node.js or create mirrors of our repository.

For more information and possible solutions, please refer to the following resources:


Authors and Contributors

Current Members

Adrian EstradaGitHub/edsadrTwitter/@edsadr
Jesus PazGitHub/JesusPaz
Jefferson RiosGitHub/riosje

Past Members

Chris LeaGitHub/chrisleaTwitter/@chrislea
Rod VaggGitHub/rvaggTwitter/@rvagg
William BlankenshipGitHub/retrohackerTwitter/@retrohack3r
Harry TruongGitHub/harrytruong
Matteo BrunatiGitHub/mattbrun
Brian WhiteGitHub/mscdex
Matt LewandowskyGitHub/lewellyn
Jan-Hendrik PetersGitHub/hennr
Andris ReinmanGitHub/andris9
CarvilsiGitHub/carvilsi
Krasimir TrenchevGitHub/Ava7
Phil HelmGitHub/phelma
0xmohitGitHub/0xmohit
jdarlingGitHub/jdarling
Prayag VermaGitHub/pra85
Misha BrukmanGitHub/mbrukman
Simon LydellGitHub/lydell
Sebastian BleiGitHub/iamsebastian
Jorge Maldonado VenturaNotABug/jorgesumle
Mayank MethaGitHub/mayankmethaTwitter/@mayankmethad
Iván IguaránGitHub/igsu

Contributions are welcomed from anyone wanting to improve this project!

License

This material is Copyright (c) NodeSource and licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.


Supported with love by the NodeSource team

This project is not affiliated with Debian, Ubuntu, Red Hat, CentOS or Fedora.

Ubuntu is a registered trademark of Canonical Ltd.

Debian is a registered trademark owned by Software in the Public Interest, Inc.

Red Hat, CentOS and Fedora are trademarks of Red Hat, Inc.

Amazon Linux is a trademark of Amazon Web Services, Inc.

CloudLinux is a trademark of CloudLinux, Inc

distributions's People

Contributors

bsolomon1124 avatar cassidyjames avatar chrislea avatar cobalt2727 avatar davidherzlos avatar edsadr avatar gengjiawen avatar harrytruong avatar iamsebastian avatar igsu avatar jesuspaz avatar julianduque avatar liquidlemur avatar lydell avatar mayankmetha avatar nodesource-snap-updater avatar phiggins42 avatar prayagverma avatar pwuts avatar riosje avatar rvagg avatar ryansmithonline avatar shyim avatar slycordinator avatar sonnyp avatar thepwagner avatar tmarshall avatar veederlicht avatar vehagn avatar zined avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

distributions's Issues

Install apt-transport-https on debian systems

On Debian Systems, al least with 7.0 ( Wheezy ) apt-transport-https is not installed by default, altough it is required for using the https nodesource repos.
Can we may add it to the list of needed packages besides curl and lsb-release ?

Docker containers do not pass extensive tests

Implemented the suggested tests from pull request #12 in the branch hardcore.

It failed 5 of the npm unit tests and had a hickup in the yeoman script.

Command that triggered the tests (where $PWD is the root of the distributions repo):

docker run -dv ${PWD}:/test hardcore /test/hardcore

Here is the Dockerfile used to generate the hardcore container.
Here is the new test script.
Here is the result of running the new test script in the hardcore container.

(also note the script is generating markdown 😄)

Node not working properly with ARM71 ubuntu

I installed node with apt-get install nodejs and it worked, except it was outdated and the npm was also outdated. I installed the newest version and after installment after I type 'node' or executing a basic script it just hangs and nothing happens except when I check the version (v0.10.34) (npm also hangs). Sorry if this is a bad issue it's my first time doing it.

Mint 'rebecca' not supported

## Your distribution, identified as "rebecca", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

Mint 'rebecca' is basically Ubuntu 'trusty', aside from using cinnamon for the GUI. Should be easy to support.

unattended-upgrades not upgrading Node.js

Node.js is not automatically being upgraded on my Ubuntu 14.04 machine. The config for unattended-upgrades looks like this:

Unattended-Upgrade::Allowed-Origins {
    [...]
    "Node Source:trusty";
};

I noticed that https://deb.nodesource.com/node/dists/trusty/main/binary-amd64/Release doesn't contain an Archive property, like http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/trusty/main/binary-amd64/Release does. (The config file asks for an origin:archive pair.) Could this be the problem?

Install a specific version

How would you recommend that someone use this repository to install a specific version of Node.js? Previously, I was attempting to pin the version number, but it looks like older versions of Node.js are being replaced with newer ones.

My goal is to use a specific version of Node.js, but then not update to the newest version until after some testing occurs.

Setup fails when `lsb_release -c -s` returns "debian"

Tried to use this on Linux Mint Debian Edition, version jessie. It read the distro as "debian" because this is what was returned by lsb_release -c -s. As a result it could not find the package.

Hacking it to use the string 'jessie' was a successful workaround.

Maybe it should look in /etc/debian_version for the distro (taking the bit before the slash) in this case?

Allow plain HTTP access? (+ apt-cacher-ng HTTPS how-to, + make HTTP mirrors)

When I use the original HTTPS URLs in my deb and deb-src lines, aptitude tries to build a CONNECT tunnel through my apt-cacher-ng, which of course is denied because its purpose is to cache the downloaded packages, not just let them pass.
When I remove the s from https://, apt-cacher-ng fails to download the packages, unfortunately without any hint in its error log.

Is there a way to still get the packages through apt-cacher-ng?
Are there plain HTTP mirrors?
They should still be safe sources verified by the GnuPG signatures, right?


Overview as of 2016-05-29:
workarounds: abstain from caching or setup a mirror
solutions: for apt-cacher-ng
apt repo attack vectors: replay stale metadata, identify missing security updates

io.js support

@chrislea this is for you but I'm more than happy to do some of the work if you can provide pointers.

The main trick for io.js support is the minimum requirement of gcc 4.8, which is a pain on everything but the latest distros. These are yaks I've already shaved for the CI machines here and the CI containers here but I'm not sure how transferrable that info is to the pbuilder process.

  • EL 7: just need stock gcc & gcc-c++
  • EL 6: devtoolset-2 from SLC:
curl -sL http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo -o /etc/yum.repos.d/slc6-devtoolset.repo
rpm --import http://ftp.scientificlinux.org/linux/scientific/5x/x86_64/RPM-GPG-KEYs/RPM-GPG-KEY-cern
curl http://linuxsoft.cern.ch/cern/scl/slc6-scl.repo -o /etc/yum.repos.d/slc6-scl.repo
# then run the build within a devtoolset-2 bash or directly with:
scl enable devtoolset-2 [bash or make or whatever command needs newer gcc]
  • EL 5: EPEL and devtoolset-2:
cul -sL http://dl.fedoraproject.org/pub/epel/5/{{ server_arch }}/epel-release-5-4.noarch.rpm -o /tmp/epel-release-5-4.noarch.rpm
bash -c 'rpm -Uvh /tmp/epel-release-5-4.noarch.rpm || true'
yum install python-hashlib # needed for the newer format of slc5-rpm
curl -sL http://linuxsoft.cern.ch/cern/devtoolset/slc5-devtoolset.repo -o /etc/yum.repos.d/slc5-rpm --import http://ftp.scientificlinux.org/linux/scientific/5x/{{ server_arch }}/RPM-GPG-KEYs/RPM-GPG-KEY-cern
# then run the build within a devtoolset-2 bash or directly with:
scl enable devtoolset-2 [bash or make or whatever command needs newer gcc]
  • Ubuntu 14.04 and 14.10 have required tools by default
  • Ubuntu 12.04: Using ppa:ubuntu-toolchain-r/test and then setting alternatives for gcc and g++ for 4.8 so they are default
  • Ubuntu 10.04: Using ppa:ubuntu-toolchain-r/test and then setting alternatives for gcc and g++ for 4.8 so they are default
  • Debian Stable: such a big pain that I made our own distro of gcc 4.9:
echo 'deb https://deb.nodesource.com/weezy-gcc49 weezy-gcc49 main' >> /etc/apt/sources.list && \
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
apt-get install g++-4.9 gcc-4.9 cpp-4.9
# set alternatives for cc, gcc and g++ to 4.9
  • Debian Testing: Has all the required tools by default

Node.js v0.12 distribution

Per @chrislea's previous experience with the v0.8 transition to v0.10 breaking a large number of builds, we're working on a strategy to make sure the same thing does not happen with the v0.12 release.

Given the number of issues the io.js team has encountered with native modules, there's a high likelihood that this will occur in v0.12.

@chris-prince has some useful suggestions in #33.

Fail to install in Elementary OS Freya based on (Ubuntu 14.04)

curl -sL https://deb.nodesource.com/setup | sudo bash -
[sudo] password for gustavo:

Confirming "freya" is supported...

Your distribution, identified as "freya", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support


More info about Elementary:
http://elementaryos.org/journal/freya-beta-1-available-for-developers-testers

Freya inherits core components from Ubuntu 14.04.1 LTS such as the Linux kernel (version 3.13), hardware drivers, and graphics stack. This includes support for EFI stub-loading, which is a kernel feature that enables booting directly from (U)EFI, without the need for an additional bootloader such as GRUB. Ubiquity does not yet have support for this configuration, but one of our developers has created a guide for a GRUB-free install of Freya on modern Mac computers using rEFInd.

Additionally, we’re shipping the latest stable GTK+ release, 3.12, rather than Ubuntu 14.04’s outdated 3.10. This beta release brings a number of new features including new widgets and an improved GtkCSSProvider. Vala has been updated to version 0.24 bringing an incredible number of new bindings to elementary OS including Gstreamer 1.0, GeoCode, and more.

Ubuntu 14.04 Trusty not supported

With Linux Mint 17.1, shows "Your distribution, identified as "trusty", is not currently supported"

syamil@NADIA:~ > curl -sL https://deb.nodesource.com/setup | sudo bash -

## Populating apt-get cache...

+ apt-get update                                                                                                                                                                                
Ign http://extra.linuxmint.com rebecca InRelease                                                                                                                                                
Ign http://packages.linuxmint.com rebecca InRelease                            
Get:1 http://extra.linuxmint.com rebecca Release.gpg [198 B]                   
Ign http://archive.ubuntu.com trusty InRelease                                 
Ign http://security.ubuntu.com trusty-security InRelease                       
Get:2 http://packages.linuxmint.com rebecca Release.gpg [198 B]                
Get:3 http://extra.linuxmint.com rebecca Release [3.152 B]                     
Get:4 http://security.ubuntu.com trusty-security Release.gpg [933 B]           
Get:5 http://packages.linuxmint.com rebecca Release [24,1 kB]                  
Ign http://archive.ubuntu.com trusty-updates InRelease                         
Get:6 http://extra.linuxmint.com rebecca/main amd64 Packages [7.902 B]         
Get:7 http://security.ubuntu.com trusty-security Release [62,0 kB]             
Get:8 http://extra.linuxmint.com rebecca/main i386 Packages [7.889 B]          
Hit http://archive.ubuntu.com trusty Release.gpg                               
Get:9 http://packages.linuxmint.com rebecca/main amd64 Packages [32,2 kB]      
Get:10 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]            
Get:11 http://security.ubuntu.com trusty-security/main amd64 Packages [196 kB] 
Get:12 http://packages.linuxmint.com rebecca/upstream amd64 Packages [30,0 kB] 
Hit http://archive.ubuntu.com trusty Release                                   
Get:13 http://packages.linuxmint.com rebecca/import amd64 Packages [218 kB]    
Get:14 http://archive.ubuntu.com trusty-updates Release [62,0 kB]              
Get:15 http://security.ubuntu.com trusty-security/restricted amd64 Packages [8.875 B]
Get:16 http://security.ubuntu.com trusty-security/universe amd64 Packages [84,2 kB]
Get:17 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [1.166 B]
Get:18 http://packages.linuxmint.com rebecca/main i386 Packages [31,5 kB]      
Get:19 http://security.ubuntu.com trusty-security/main i386 Packages [187 kB]  
Ign http://extra.linuxmint.com rebecca/main Translation-en_US                  
Hit http://archive.ubuntu.com trusty/main amd64 Packages                       
Get:20 http://packages.linuxmint.com rebecca/upstream i386 Packages [30,0 kB]  
Ign http://extra.linuxmint.com rebecca/main Translation-en                     
Get:21 http://security.ubuntu.com trusty-security/restricted i386 Packages [8.846 B]
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages                 
Get:22 http://security.ubuntu.com trusty-security/universe i386 Packages [84,2 kB]
Get:23 http://packages.linuxmint.com rebecca/import i386 Packages [219 kB]     
Hit http://archive.ubuntu.com trusty/universe amd64 Packages                   
Get:24 http://security.ubuntu.com trusty-security/multiverse i386 Packages [1.412 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en             
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages                 
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en       
Hit http://archive.ubuntu.com trusty/main i386 Packages                        
Hit http://security.ubuntu.com trusty-security/restricted Translation-en       
Hit http://security.ubuntu.com trusty-security/universe Translation-en         
Hit http://archive.ubuntu.com trusty/restricted i386 Packages                  
Hit http://archive.ubuntu.com trusty/universe i386 Packages                    
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages                  
Hit http://archive.ubuntu.com trusty/main Translation-en                       
Hit http://archive.ubuntu.com trusty/multiverse Translation-en                 
Hit http://archive.ubuntu.com trusty/restricted Translation-en                 
Hit http://archive.ubuntu.com trusty/universe Translation-en                   
Get:25 http://archive.ubuntu.com trusty-updates/main amd64 Packages [398 kB]   
Get:26 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [8.875 B]
Ign http://packages.linuxmint.com rebecca/import Translation-en_US             
Ign http://packages.linuxmint.com rebecca/import Translation-en                
Ign http://packages.linuxmint.com rebecca/main Translation-en_US               
Get:27 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [239 kB]
Ign http://packages.linuxmint.com rebecca/main Translation-en                  
Ign http://packages.linuxmint.com rebecca/upstream Translation-en_US           
Ign http://packages.linuxmint.com rebecca/upstream Translation-en              
Get:28 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [9.373 B]
Get:29 http://archive.ubuntu.com trusty-updates/main i386 Packages [390 kB]    
Get:30 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [8.846 B]
Get:31 http://archive.ubuntu.com trusty-updates/universe i386 Packages [240 kB]
Get:32 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [9.567 B]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en               
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en         
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en         
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en           
Ign http://archive.ubuntu.com trusty/main Translation-en_US                    
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US              
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US              
Ign http://archive.ubuntu.com trusty/universe Translation-en_US                
Ign http://archive.canonical.com trusty InRelease                              
Hit http://archive.canonical.com trusty Release.gpg
Hit http://archive.canonical.com trusty Release
Hit http://archive.canonical.com trusty/partner amd64 Packages
Hit http://archive.canonical.com trusty/partner i386 Packages
Ign http://archive.canonical.com trusty/partner Translation-en
Fetched 2.606 kB in 2min 30s (17,4 kB/s)
Reading package lists... Done

## You seem to be using Linux Mint version rebecca.
## This maps to Ubuntu "trusty"... Adjusting for you...

## Confirming "trusty" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node/dists/trusty/Release'

## Your distribution, identified as "trusty", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

syamil@NADIA:~ >

Tag @ceefour

Submit the PGP key to a keyserver

Supporting a keyserver such as keys.gnupg.net or keyserver.ubuntu.com would allows us to easier implement the repository with configuration management systems such as salt, puppet, chef or ansible.

All that is required is to submit the key to the key server and publish the key id.

nodejs automatically updated to 0.11.15 in Ubuntu utopic-amd64 as of 2015-01-29

Hello. Is this expected? Is there a way to revert to 0.10.x?

Package: nodejs
Version: 0.11.15-1nodesource1~utopic1
Architecture: amd64
Maintainer: Jérémy Lal <[email protected]>
Installed-Size: 24599
Depends: libc6 (>= 2.15), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.9), rlwrap
Conflicts: nodejs-dev, nodejs-legacy, npm
Replaces: nodejs-dev (<= 0.8.22), nodejs-legacy, npm (<= 1.2.14)
Provides: nodejs-dev, nodejs-legacy, npm
Homepage: http://nodejs.org/
Priority: extra
Section: web
Filename: pool/main/n/nodejs/nodejs_0.11.15-1nodesource1~utopic1_amd64.deb
Size: 5698932
SHA256: 99731ceeaebcf1aba9e5d4148b803392db24e05c85551e8aad5549db4b831986
SHA1: 889acee2a935a56fdeb5b001eeeba4235fca4c7c
MD5sum: 40244d6d0629bd11b9bc1a22d22f51e2

Your distribution, identified as "wheezy", is not currently supported

Hi there I using a Beaglebone Black with Debian wheezy.

PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian

And this is the error:

Confirming "wheezy" is supported...

But in https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager says this:

Supported Debian versions:

Debian 7 / stable (wheezy)

Problems with certificates and wheezy

Hi,

I stumbled into what seems to be an issue with wheezy:

    cat /etc/apt/sources.list.d/nodesource.list 
    deb https://deb.nodesource.com/node wheezy main
    deb-src https://deb.nodesource.com/node wheezy main
    curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -

and when I apt-get update, I get:

Ign https://deb.nodesource.com wheezy Release.gpg                                                             
Ign https://deb.nodesource.com wheezy Release                                                      
Err https://deb.nodesource.com wheezy/main Sources                       
  Problem with the SSL CA cert (path? access rights?)
Err https://deb.nodesource.com wheezy/main amd64 Packages
  Problem with the SSL CA cert (path? access rights?)
Atteint http://security.debian.org wheezy/updates Release.gpg
Atteint http://security.debian.org wheezy/updates Release
Réception de : 3 http://security.debian.org wheezy/updates/main amd64 Packages [276 kB]
3 o réceptionnés en 5s (0 o/s)      
W: Impossible de récupérer https://deb.nodesource.com/node/dists/wheezy/main/source/Sources  Problem with the SSL CA cert (path? access rights?)

W: Impossible de récupérer https://deb.nodesource.com/node/dists/wheezy/main/binary-amd64/Packages  Problem with the SSL CA cert (path? access rights?)

Support for Ubuntu Utopic (14.10)

We won't be officially supporting Utopic until it's released by Canonical, towards the end of October. In the meantime, the Trusty binaries should work fine, simply run this as root to try it out:

apt-get update && apt-get install curl apt-transport-https -y
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
echo 'deb https://deb.nodesource.com/node trusty main' > /etc/apt/sources.list.d/nodesource.list
echo 'deb-src https://deb.nodesource.com/node trusty main' >> /etc/apt/sources.list.d/nodesource.list
apt-get update && apt-get install nodejs -y
node -v && npm -v

Additionally, to support building native add-ons:

apt-get install build-essential python -y

To confirm a full, working installation:

curl -sL https://deb.nodesource.com/test | bash -

Latest nodejs installed but still having the old npm version here

Just did this on Ubuntu 14.10:

$ curl -sL https://deb.nodesource.com/setup | sudo bash -
...
$ sudo apt-get install nodejs 
...
$ npm -v
1.4.28

How come I do not have npm v2.x here?

$ sudo apt-cache policy nodejs
nodejs:
  Installed: 0.10.33-2nodesource1~utopic1
  Candidate: 0.10.33-2nodesource1~utopic1
  Version table:
 *** 0.10.33-2nodesource1~utopic1 0
        500 https://deb.nodesource.com/node/ utopic/main amd64 Packages
        100 /var/lib/dpkg/status
     0.10.25~dfsg2-2ubuntu1 0
        500 http://nz.archive.ubuntu.com/ubuntu/ utopic/universe amd64 Packages

Failed to install on redhat-release-workstation-6Workstation-6.5.0.2.el6.x86_64

curl -sL https://rpm.nodesource.com/setup | bash -

Inspecting system...

  • rpm -q --whatprovides redhat-release
  • uname -m

Could not determine your distribution version, you may not be running a supported version of Enterprise Linux. Please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect. Include your 'distribution package'

Please let me know if you need any more info. Thank you!

My Distribution is not supported

I am part of BOSS Gnu/Linux distribution (http://bosslinux.in/) which is an derivative of debian, When i tried to install i was threw an error "## Your distribution, identified as "anokha", is not currently supported", We will be glad if this is solved, And if their is anything that we have to do from our end
we are ready to do that.

Trisquel 7 "Belenos" not supported

user@user-HP-ProBook-4530s:~/atom$ curl -sL https://deb.nodesource.com/setup | sudo -E bash -
[sudo] password for user: 

## Populating apt-get cache...

+ apt-get update
Ign http://ppa.launchpad.net trusty InRelease
Hit http://es.archive.trisquel.info belenos InRelease
Hit http://ppa.launchpad.net trusty Release.gpg                        
Hit http://es.archive.trisquel.info belenos-security InRelease
Hit http://ppa.launchpad.net trusty Release                            
Hit http://es.archive.trisquel.info belenos-updates InRelease
Hit http://ppa.launchpad.net trusty/main amd64 Packages                
Hit http://es.archive.trisquel.info belenos/main Sources          
Hit http://ppa.launchpad.net trusty/main i386 Packages            
Hit http://es.archive.trisquel.info belenos/main amd64 Packages   
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://es.archive.trisquel.info belenos/main i386 Packages
Hit http://es.archive.trisquel.info belenos/main Translation-en
Hit http://es.archive.trisquel.info belenos-security/main Sources
Hit http://es.archive.trisquel.info belenos-security/main amd64 Packages
Hit http://es.archive.trisquel.info belenos-security/main i386 Packages
Hit http://es.archive.trisquel.info belenos-updates/main Sources
Hit http://es.archive.trisquel.info belenos-updates/main amd64 Packages
Hit http://es.archive.trisquel.info belenos-updates/main i386 Packages
Ign http://es.archive.trisquel.info belenos/main Translation-en_US
Ign http://es.archive.trisquel.info belenos-security/main Translation-en_US
Ign http://es.archive.trisquel.info belenos-security/main Translation-en
Ign http://es.archive.trisquel.info belenos-updates/main Translation-en_US
Ign http://es.archive.trisquel.info belenos-updates/main Translation-en
Reading package lists... Done

## Confirming "belenos" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node/dists/belenos/Release'

## Your distribution, identified as "belenos", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

Can't populate Ubuntu repos via script

What is the problem here?

I already have nodejs installed via Ubuntu repos

$ curl -sL https://deb.nodesource.com/setup | sudo bash -
[sudo] password for myUser: 

## Populating apt-get cache...

# my repos list

## Confirming "trusty" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node/dists/trusty/Release'

## Your distribution, identified as "trusty", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

Failed to fetch...

Hi, performing the curl command, the script exits after the following error line:

Failed to fetch https://deb.nodesource.com/node/dists/wheezy/Release  Unable to find expected entry 'main/binary-armel/Packages' in Release file (Wrong sources.list entry or malformed file)

As far as i can see, the full node subdir node is no longer existing.

Failed to install on Ubuntu 14.04 `trusty`

Preparing to unpack .../nodejs_0.10.31-1chl1~trusty1_amd64.deb ...
Unpacking nodejs (0.10.31-1chl1~trusty1) over (0.10.25~dfsg2-2ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/nodejs_0.10.31-1chl1~trusty1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/node.1.gz', which is also in package nodejs-legacy 0.10.25~dfsg2-2ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.6.7.1-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/nodejs_0.10.31-1chl1~trusty1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

nodejs-legacy provides a symlink from /usr/bin/node to /usr/bin/nodejs which is very helpful if you are used to Node.js being installed as node.

I think that the correct solution is to mark this package as conflicting with nodejs-legacy and, if nodesource is providing the symlink, mark it as replacing.

debian sid, NODE_PATH and npm

It seems that your package doesn't add /usr/local/... to NODE_PATH but npm install package there.
It could be a problem of debian official packages as well. I'll check shortly.

thanks

linuxbbq

Could you please provide support for the various spins of linuxbbq (which in fact are all different debian distros)?
http://linuxbbq.org

Many thanks!

Fedora 21 isn't supported

I used the install script hosted at https://rpm.nodesource.com/setup - it seems fedora 21 isn't currently supported. There was an issue raised about this when fedora 21 was still Alpha #31 but it is now closed.

Your distribution, identified as "fedora-release-21-2.noarch", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

Documentation: Which version of Node?

It would be helpful to mention which version of NodeJS (and/or IOJS) you've installed in this distros. I looked throughout the README and couldn't find anything.

Add a Conflicts: line with nodejs-legacy

The nodejs packages in Debian are split into nodejs and nodejs-legacy to avoid conflicting with a pre-existing node tool.

I think it's fine not to do that in your packages, but could you add a Conflicts: nodejs-legacy line so that the upstream package gets automatically uninstalled on installing yours?

If you don't manually remove the nodejs-legacy package right now you get an extremely unhelpful error message like:

dpkg: error processing /vagrant/repository/pool/main/n/nodejs/nodejs_0.10.33-1nodesource1~wheezy1_amd64.deb (--unpack):
  trying to overwrite '/usr/share/man/man1/node.1.gz', which is also in package nodejs-legacy 0.10.2~dfsg1-1

Please add a license to the repo

There's currently no license specified, so most likely, it defaults to copyrighted with "All Rights Reserved", which means users cannot fork, modify, or distribute the repo.

v0.10.33 segfaults on Raspberry Pi with Raspbian Wheezy (2014-09-09)

I followed the Debian and Ubuntu based Linux distributions instructions.

When I run node or npm a segmentation fault occurs.

pi@raspberrypi ~ $ node -v
Segmentation fault
pi@raspberrypi ~ $ npm -v
Segmentation fault

GDB output:

pi@raspberrypi ~ $ gdb /usr/bin/node
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/node...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/node 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x001e8fd2 in DES_xcbc_encrypt ()
(gdb) bt
#0  0x001e8fd2 in DES_xcbc_encrypt ()
(gdb) 

Install output:

pi@raspberrypi ~ $ sudo apt-get install nodejs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  rlwrap
The following NEW packages will be installed:
  nodejs rlwrap
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/5,671 kB of archives.
After this operation, 17.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously unselected package rlwrap.
(Reading database ... 78080 files and directories currently installed.)
Unpacking rlwrap (from .../rlwrap_0.37-3_armhf.deb) ...
Selecting previously unselected package nodejs.
Unpacking nodejs (from .../nodejs_0.10.33-2nodesource1~wheezy1_armhf.deb) ...
Processing triggers for man-db ...
Setting up rlwrap (0.37-3) ...
update-alternatives: using /usr/bin/rlwrap to provide /usr/bin/readline-editor (readline-editor) in auto mode
Setting up nodejs (0.10.33-2nodesource1~wheezy1) ...

Ran a sudo apt-get update && sudo apt-get upgrade before node setup/install.

unicode segment fault

When I run scripts in a unicode language environment, the script give me a segment fault error.

curl -sL https://deb.nodesource.com/setup | sudo bash -

## Populating apt-get cache...

+ apt-get update
命中 http://dl.google.com stable Release.gpg                                   
命中 http://dl.google.com stable Release.gpg                                   
...
bash: 行 28:  1877 段错误               (核心已转储) bash -c "$1"              
Error executing command, exiting

It said in line 28 a segment fault occured.

locale:

LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:en
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC=zh_CN.UTF-8
LC_TIME=zh_CN.UTF-8
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY=zh_CN.UTF-8
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER=zh_CN.UTF-8
LC_NAME=zh_CN.UTF-8
LC_ADDRESS=zh_CN.UTF-8
LC_TELEPHONE=zh_CN.UTF-8
LC_MEASUREMENT=zh_CN.UTF-8
LC_IDENTIFICATION=zh_CN.UTF-8
LC_ALL=
bash --version
GNU bash, version 4.2.25(1)-release (i686-pc-linux-gnu)

While setting locale to LANG=C, everything work fine.

~$ LANG=C curl -sL https://deb.nodesource.com/setup | sudo bash -

I am wondering if it occured in other unicode character language. Although it could run by setting LANG=C, it's more convience for others if you cloud solve this.

Add newest version 0.10.36

Maybe I'm doing something wrong but can't get the lastest stable version 0.10.36! I really need it because the debugger is broken in 0.10.35...

Debian 6 64bit "squeeze" support

I'm getting an error saying debian squeeze is not supported when using:

curl -sL https://deb.nodesource.com/setup | bash -

Output:

:~# curl -sL https://deb.nodesource.com/setup | bash -

## Populating apt-get cache...

+ apt-get update
Hit http://nginx.org squeeze Release.gpg
Ign http://nginx.org/packages/debian/ squeeze/nginx Translation-en
Hit http://nginx.org squeeze Release
Hit http://ftp.debian.org squeeze Release.gpg
Ign http://ftp.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.debian.org/debian/ squeeze/non-free Translation-en
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en
Ign http://nginx.org squeeze/nginx Sources
Ign http://nginx.org squeeze/nginx amd64 Packages
Hit http://ftp.debian.org squeeze Release
Hit http://security.debian.org squeeze/updates Release
Hit http://nginx.org squeeze/nginx Sources
Ign http://ftp.debian.org squeeze/main amd64 Packages
Hit http://nginx.org squeeze/nginx amd64 Packages
Ign http://security.debian.org squeeze/updates/main amd64 Packages
Ign http://ftp.debian.org squeeze/contrib amd64 Packages
Ign http://ftp.debian.org squeeze/non-free amd64 Packages
Ign http://security.debian.org squeeze/updates/contrib amd64 Packages
Ign http://security.debian.org squeeze/updates/non-free amd64 Packages
Hit http://ftp.debian.org squeeze/main amd64 Packages
Hit http://ftp.debian.org squeeze/contrib amd64 Packages
Hit http://security.debian.org squeeze/updates/main amd64 Packages
Hit http://ftp.debian.org squeeze/non-free amd64 Packages
Hit http://security.debian.org squeeze/updates/contrib amd64 Packages
Hit http://security.debian.org squeeze/updates/non-free amd64 Packages
Reading package lists... Done

## Confirming "squeeze" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node/dists/squeeze/Rel

## Your distribution, identified as "squeeze", is not currently supported, e contact NodeSource at https://github.com/nodesource/distributions/issues u think this is incorrect or would like your distribution to be considered upport

Error message when I try to install on elive (What can be done now?)

curl -sL https://deb.nodesource.com/setup | bash -

Populating apt-get cache...

Installing packages required for setup: apt-transport-https...

  • apt-get install -y apt-transport-https 2>&1 > /dev/null

Confirming "Topaz+" is supported...

Your distribution, identified as "Topaz+", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

Trying to build/install on Fedora 21 errors.

## Confirming "fc21-x86_64" is supported...

+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub/fc/21/x86_64/nodesource-release-fc21-1.noarch.rpm'

## Your distribution, identified as "fedora-release-21-0.16.noarch", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

👎 :(

Kali Linux

Not working in Kali. I've taken a quick look and there's a problem installing the pkg "apt-transport-https" and another one (at least) because the "lsb_release" of the distro is not working correctly. Could you take a look please? :)

http://www.kali.org/

install on rhel 5.5 not working

I receive the following message when trying to install via "curl -kL https://rpm.nodesource.com/setup | bash -": "Your distribution, identified as "redhat-release-5Server-5.5.0.2", is not currently supported". What can be done to fix this? Is a newer version of rhel5 supported?
Thanks

Support for Ubuntu 15.04 "vivid"

A lot of devs ( myself included ) have begun moving to ubuntu+1 ( 15.04 codenamed "vivid" ) - could you add support for that release to your deb scripts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.