Skip to content

Commit ace19a0

Browse files
KunalKumar-1aduh95
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 4aa57b5 commit ace19a0

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
@@ -244,7 +244,7 @@ Consult previous versions of this document for older versions of Node.js:
244244

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

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

274274
```bash
275+
export CXX=g++-12
275276
./configure
276277
make -j4
277278
```

0 commit comments

Comments
 (0)