How can i install g++

Hello Garuda users.

how can i install g++ on gadura linux

I believe g++ and gcc come preinstalled in all linux distributions. You can check with,

g++ --version

However, If it's not there then,

sudo pacman -S gcc gcc-libs lib32-gcc-libs

This will install both gcc and it's needed libraries. BTW, g++ comes with gcc. So installing gcc means installing g++ as well.

btw, you have vscode in the title for help what's the reason for that? your help was related to g++ right?


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.