Debian

How to install Node.js LTS on Debian 9 stretch

Debian 9, code-named stretch, is the latest edition of Debian. Because of security issues and lack of maintainers to keep it updated, it’s not recommended to install Node.js on Debian 9 from the official Debian 9 repository. Here’s what the Release Notes have to say about Node.js on Debian 9:

The Node.js platform is built on top of libv8-3.14, which experiences a high volume of security issues, but there are currently no volunteers within the project or the security team sufficiently interested and willing to spend the large amount of time required to stem those incoming issues.

Unfortunately, this means that libv8-3.14, nodejs, and the associated node-* package ecosystem should not currently be used with untrusted content, such as unsanitized data from the Internet.

In addition, these packages will not receive any security updates during the lifetime of the stretch release.

That’s why you need to find a secure and reliable source for installing Node.js on Debian 9. In this tutorial, you’ll learn a quick and easy method of installing the long-term support (LTS) version of Node.js from a known and trusted source. Installing Node.js also installs npm.

Related Post:  How to install Ansible on your favorite Linux distribution

The secure and reliable source we’ll use is NodeSource, an outfit that provides support for Node.js. To install both applications, use the following commands:

That gives you Node.js 6.x LTS. Support for it is available until April 2019.

Related Post:  How to install Ansible on your favorite Linux distribution

Node.js logo

Subscribe to LinuxBSDos.com

Subscribe to receive the latest articles in your Inbox

Trust me, you'll not be spammed...

Please share:
Tags:

We Recommend These Vendors and Free Offers

Register now for Blockchain & Cryptocurrency Con 2018, international conference on blockchain technnology in Dallas, TX (USA), Feb. 23-24, 2018. Students can register at a 50% discount.

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


Leave a Comment

Your email address will not be published. Required fields are marked *

*