###Environment
Newly installed system: Ubuntu20.04
1. Environment c++ environment installation
Check whether the environment is installed c++、gdb、make、cmake、cmake-qt-ui、codeblocks
, and found that some have been installed
c++ 9.4.0
gdb 9.2
make 4.2.1
cmake not installedsudo apt-get install cmake
cmake-qt-ui not installedsudo apt-get install cmake-qt-gui
code::blocks not installedsudo apt-get install codeblocks
$ c++ --version
c++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Copyright (C) 2019 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.
$ gdb --version
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ make --version
GNU Make 4.2.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ cmake --version
cmake version 3.16.3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
If not installed, please refer to here
Install code::block development IDE tool
# 安装
sudo apt-get install codeblocks
# 启动
codeblocks
Set the default compiler
and successfully complete the installation
C++ environment verification (Code:Blocks project)
(to be continued)