Skip to content

MetaPackage build essential

MetaPackage : build-essential

The essential tools required to build a C/C++ project into an app on linux.
You may need to install additional libraries to compile more complicated software.

packages linked :

package purpose version installed (2021-11)
dpkg-dev Debian package development tools 1.19.7ubuntu3
g++ GNU C++ compiler 4:9.3.0-1ubuntu2
gcc GNU C compiler 4:9.3.0-1ubuntu2
libc6-dev GNU C Library: Development Libraries and Header Files 2.31-0ubuntu9.2
or : libc-dev virtual package provided by libc6-dev 2.31-0ubuntu9.2
make utility for directing compilation 4.2.1-1.2

ll packages checked with synaptic , already installed to latest version
very likely they are managed by LXM team

extra needed on top of build-essential :
| CMake | generates native makefiles and workspaces | not => 3.16.3-1ubuntu1 |
sudo apt-get install cmake or with synaptic

==HOWEVER==
gcc --version gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
g++ --version g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0

make versus Cmake
Cmake is a cross platform wrapper arround make that will generate specific make file to use with make , taillored to your specif platform and config
https://www.incredibuild.com/blog/cmake-vs-make