mirror of https://github.com/nodejs/node.git
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
parent
046be6d28f
commit
4c2739348d
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue