Skip to content

Commit 03878b0

Browse files
KunalKumar-1marco-ippolito
authored andcommitted
doc: update gcc-version for ubuntu-lts
PR-URL: #56553 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
1 parent acbbd7c commit 03878b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

BUILDING.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Consult previous versions of this document for older versions of Node.js:
243243

244244
Installation via Linux package manager can be achieved with:
245245

246-
* Ubuntu, Debian: `sudo apt-get install python3 g++ make python3-pip`
246+
* Ubuntu, Debian: `sudo apt-get install python3 g++-12 gcc-12 make python3-pip`
247247
* Fedora: `sudo dnf install python3 gcc-c++ make python3-pip`
248248
* CentOS and RHEL: `sudo yum install python3 gcc-c++ make python3-pip`
249249
* OpenSUSE: `sudo zypper install python3 gcc-c++ make python3-pip`
@@ -271,6 +271,7 @@ fail.
271271
To build Node.js:
272272

273273
```bash
274+
export CXX=g++-12
274275
./configure
275276
make -j4
276277
```

0 commit comments

Comments
 (0)