Skip to content

Commit c074140

Browse files
KunalKumar-1targos
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 d437980 commit c074140

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

242242
Installation via Linux package manager can be achieved with:
243243

244-
* Ubuntu, Debian: `sudo apt-get install python3 g++ make python3-pip`
244+
* Ubuntu, Debian: `sudo apt-get install python3 g++-12 gcc-12 make python3-pip`
245245
* Fedora: `sudo dnf install python3 gcc-c++ make python3-pip`
246246
* CentOS and RHEL: `sudo yum install python3 gcc-c++ make python3-pip`
247247
* OpenSUSE: `sudo zypper install python3 gcc-c++ make python3-pip`
@@ -269,6 +269,7 @@ fail.
269269
To build Node.js:
270270

271271
```bash
272+
export CXX=g++-12
272273
./configure
273274
make -j4
274275
```

0 commit comments

Comments
 (0)