Skip to main content

Command Palette

Search for a command to run...

Compiler setup

c++ compiler setup

Published
•1 min read•View as Markdown
Compiler setup

C++ compiler setup on Linux Mint:

Run these commands in terminal:

sudo apt update && sudo apt upgrade
sudo apt install build-essential

Check if g++ (our c++ compiler) is installed by running:

g++ --version

It should print something like this:

g++ (Ubuntu 11.4.0-1ubuntu1~22.04.2) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Done!