Skip to content

Commit c2d5a0c

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 202af46 commit c2d5a0c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

BUILDING.md

Lines changed: 2 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy