doc: update gcc-version for ubuntu-lts

PR-URL: https://github.com/nodejs/node/pull/56553
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
pull/56292/head
Kunal Kumar 2025-01-12 23:39:50 +05:30 committed by GitHub
parent 046be6d28f
commit 4c2739348d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -241,7 +241,7 @@ Consult previous versions of this document for older versions of Node.js:
Installation via Linux package manager can be achieved with:
* Ubuntu, Debian: `sudo apt-get install python3 g++ make python3-pip`
* Ubuntu, Debian: `sudo apt-get install python3 g++-12 gcc-12 make python3-pip`
* Fedora: `sudo dnf install python3 gcc-c++ make python3-pip`
* CentOS and RHEL: `sudo yum install python3 gcc-c++ make python3-pip`
* OpenSUSE: `sudo zypper install python3 gcc-c++ make python3-pip`
@ -269,6 +269,7 @@ fail.
To build Node.js:
```bash
export CXX=g++-12
./configure
make -j4
```