To create C++ software we need 2 tools :
I will use gcc in this course.
Other options are :
1 - online compiler : godbolt.
2 - IDE (integrated development environment) : Microsoft visual studio, codeblock etc..
To install gcc on Linux/Ubuntu open a terminal and write this command :
sudo apt update && sudo apt install build-essential
To install the latest version or a specific version of the compiler : check this article.