2.2 Compiling and Installing
In this section, you’ll learn how to operate Node.js not by using binary packages or by installing it using an installer for your system, but by creating a customized installation from the source files for your system. The following sections describe how you can compile Node.js on a Linux system. This explanation is based on the assumption of a standard Ubuntu desktop installation in version 20.04.2.0 LTS. The first step of the installation is that you need to download the Node.js source code. This is available as a zipped tar archive in the download area on https://nodejs.org/en/download/. Before you can start compiling Node.js, you should make sure that you have a compiler. By default, this isn’t the case with ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access