build-essential

build-essential

Return to C Compilers

The CMake error message indicates that CMake is unable to find aC compiler on your system. This is necessary for configuring and generating the build system files, even if your main language is C++.

The most straightforward fix for this issue is to install a C compiler if it isn't already installed, or to specify the path to an existing C compiler. On Linux, the commonly used compilers are GCC (GNU Compiler Collection) or Clang. This should resolve the issue related to the missing C compiler.

Set Environment Variable (Optional): If the compiler isn't in your PATH after installation, you can set the CC environment variable to the full path of the C compiler.

sudo apt-get install build-essential

[sudo] password for ADMIN:

Reading package lists… Done

Building dependency tree… Done

Reading state information… Done

The following packages were automatically installed and are no longer required:

 flac libaudiofile1 libgpod-common libgpod4t64 libsgutils2-1.46-2 normalize-audio python3-deprecation python3-eyed3
 python3-filetype python3-html5lib python3-mygpoclient python3-podcastparser python3-simplejson python3-six
 python3-webencodings vorbis-tools
Use 'sudo apt autoremove' to remove them.

The following additional packages will be installed:

 binutils binutils-common binutils-x86-64-linux-gnu dpkg-dev fakeroot g++ g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu
 gcc gcc-14 gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libalgorithm-diff-perl libalgorithm-diff-xs-perl
 libalgorithm-merge-perl libasan8 libbinutils libcc1-0 libctf-nobfd0 libctf0 libfakeroot libgcc-14-dev libgprofng0 libhwasan0
 libitm1 liblsan0 libquadmath0 libsframe1 libstdc++-14-dev libtsan2 libubsan1 lto-disabled-list make
Suggested packages:
 binutils-doc gprofng-gui debian-keyring g++-multilib g++-14-multilib gcc-14-doc gcc-multilib autoconf automake libtool flex
 bison gdb gcc-doc gcc-14-multilib gcc-14-locales gdb-x86-64-linux-gnu libstdc++-14-doc make-doc
The following NEW packages will be installed:
 binutils binutils-common binutils-x86-64-linux-gnu build-essential dpkg-dev fakeroot g++ g++-14 g++-14-x86-64-linux-gnu
 g++-x86-64-linux-gnu gcc gcc-14 gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libalgorithm-diff-perl libalgorithm-diff-xs-perl
 libalgorithm-merge-perl libasan8 libbinutils libcc1-0 libctf-nobfd0 libctf0 libfakeroot libgcc-14-dev libgprofng0 libhwasan0
 libitm1 liblsan0 libquadmath0 libsframe1 libstdc++-14-dev libtsan2 libubsan1 lto-disabled-list make
0 upgraded, 35 newly installed, 0 to remove and 0 not upgraded. Need to get 58.5 MB of archives. After this operation, 208 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 binutils-common amd64 2.43.1-4ubuntu1 [244 kB] Get:2 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libsframe1 amd64 2.43.1-4ubuntu1 [15.1 kB] Get:3 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libbinutils amd64 2.43.1-4ubuntu1 [580 kB] Get:4 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libctf-nobfd0 amd64 2.43.1-4ubuntu1 [99.1 kB] Get:5 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libctf0 amd64 2.43.1-4ubuntu1 [96.2 kB] Get:6 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libgprofng0 amd64 2.43.1-4ubuntu1 [871 kB] Get:7 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 binutils-x86-64-linux-gnu amd64 2.43.1-4ubuntu1 [2,507 kB] Get:8 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 binutils amd64 2.43.1-4ubuntu1 [3,208 B] Get:9 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libcc1-0 amd64 14.2.0-4ubuntu2 [47.6 kB] Get:10 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libitm1 amd64 14.2.0-4ubuntu2 [29.3 kB] Get:11 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libasan8 amd64 14.2.0-4ubuntu2 [2,997 kB] Get:12 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 liblsan0 amd64 14.2.0-4ubuntu2 [1,316 kB] Get:13 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libtsan2 amd64 14.2.0-4ubuntu2 [2,733 kB] Get:14 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libubsan1 amd64 14.2.0-4ubuntu2 [1,178 kB] Get:15 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libhwasan0 amd64 14.2.0-4ubuntu2 [1,634 kB] Get:16 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libquadmath0 amd64 14.2.0-4ubuntu2 [153 kB] Get:17 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libgcc-14-dev amd64 14.2.0-4ubuntu2 [2,814 kB] Get:18 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-4ubuntu2 [23.4 MB] Get:19 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 gcc-14 amd64 14.2.0-4ubuntu2 [522 kB] Get:20 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1,214 B] Get:21 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5,000 B] Get:22 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libstdc++-14-dev amd64 14.2.0-4ubuntu2 [2,501 kB] Get:23 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-4ubuntu2 [13.4 MB] Get:24 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 g++-14 amd64 14.2.0-4ubuntu2 [19.0 kB] Get:25 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] Get:26 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1,100 B] Get:27 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 make amd64 4.3-4.1build2 [180 kB] Get:28 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 lto-disabled-list all 53 [12.2 kB] Get:29 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 dpkg-dev all 1.22.11ubuntu1 [1,087 kB] Get:30 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 build-essential amd64 12.10ubuntu1 [4,928 B] Get:31 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libfakeroot amd64 1.36-1 [33.0 kB] Get:32 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 fakeroot amd64 1.36-1 [67.6 kB] Get:33 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libalgorithm-diff-perl all 1.201-1 [41.8 kB] Get:34 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libalgorithm-diff-xs-perl amd64 0.04-8build3 [11.2 kB] Get:35 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 libalgorithm-merge-perl all 0.08-5 [11.4 kB] Fetched 58.5 MB in 5s (11.6 MB/s) Extracting templates from packages: 100% Selecting previously unselected package binutils-common:amd64. (Reading database … 327701 files and directories currently installed.) Preparing to unpack …/00-binutils-common_2.43.1-4ubuntu1_amd64.deb … Unpacking binutils-common:amd64 (2.43.1-4ubuntu1) … Selecting previously unselected package libsframe1:amd64. Preparing to unpack …/01-libsframe1_2.43.1-4ubuntu1_amd64.deb … Unpacking libsframe1:amd64 (2.43.1-4ubuntu1) … Selecting previously unselected package libbinutils:amd64. Preparing to unpack …/02-libbinutils_2.43.1-4ubuntu1_amd64.deb … Unpacking libbinutils:amd64 (2.43.1-4ubuntu1) … Selecting previously unselected package libctf-nobfd0:amd64. Preparing to unpack …/03-libctf-nobfd0_2.43.1-4ubuntu1_amd64.deb … Unpacking libctf-nobfd0:amd64 (2.43.1-4ubuntu1) … Selecting previously unselected package libctf0:amd64. Preparing to unpack …/04-libctf0_2.43.1-4ubuntu1_amd64.deb … Unpacking libctf0:amd64 (2.43.1-4ubuntu1) … Selecting previously unselected package libgprofng0:amd64. Preparing to unpack …/05-libgprofng0_2.43.1-4ubuntu1_amd64.deb … Unpacking libgprofng0:amd64 (2.43.1-4ubuntu1) … Selecting previously unselected package binutils-x86-64-linux-gnu. Preparing to unpack …/06-binutils-x86-64-linux-gnu_2.43.1-4ubuntu1_amd64.deb … Unpacking binutils-x86-64-linux-gnu (2.43.1-4ubuntu1) … Selecting previously unselected package binutils. Preparing to unpack …/07-binutils_2.43.1-4ubuntu1_amd64.deb … Unpacking binutils (2.43.1-4ubuntu1) … Selecting previously unselected package libcc1-0:amd64. Preparing to unpack …/08-libcc1-0_14.2.0-4ubuntu2_amd64.deb … Unpacking libcc1-0:amd64 (14.2.0-4ubuntu2) … Selecting previously unselected package libitm1:amd64. Preparing to unpack …/09-libitm1_14.2.0-4ubuntu2_amd64.deb … Unpacking libitm1:amd64 (14.2.0-4ubuntu2) … Selecting previously unselected package libasan8:amd64. Preparing to unpack …/10-libasan8_14.2.0-4ubuntu2_amd64.deb … Unpacking libasan8:amd64 (14.2.0-4ubuntu2) … Selecting previously unselected package liblsan0:amd64. Preparing to unpack …/11-liblsan0_14.2.0-4ubuntu2_amd64.deb … Unpacking liblsan0:amd64 (14.2.0-4ubuntu2) … Selecting previously unselected package libtsan2:amd64. Preparing to unpack …/12-libtsan2_14.2.0-4ubuntu2_amd64.deb … Unpacking libtsan2:amd64 (14.2.0-4ubuntu2) … Selecting previously unselected package libubsan1:amd64. Preparing to unpack …/13-libubsan1_14.2.0-4ubuntu2_amd64.deb … Unpacking libubsan1:amd64 (14.2.0-4ubuntu2) … Selecting previously unselected package libhwasan0:amd64. Preparing to unpack …/14-libhwasan0_14.2.0-4ubuntu2_amd64.deb … Unpacking libhwasan0:amd64 (14.2.0-4ubuntu2) … Selecting previously unselected package libquadmath0:amd64. Preparing to unpack …/15-libquadmath0_14.2.0-4ubuntu2_amd64.deb … Unpacking libquadmath0:amd64 (14.2.0-4ubuntu2) … Selecting previously unselected package libgcc-14-dev:amd64. Preparing to unpack …/16-libgcc-14-dev_14.2.0-4ubuntu2_amd64.deb … Unpacking libgcc-14-dev:amd64 (14.2.0-4ubuntu2) … Selecting previously unselected package gcc-14-x86-64-linux-gnu. Preparing to unpack …/17-gcc-14-x86-64-linux-gnu_14.2.0-4ubuntu2_amd64.deb … Unpacking gcc-14-x86-64-linux-gnu (14.2.0-4ubuntu2) … Selecting previously unselected package gcc-14. Preparing to unpack …/18-gcc-14_14.2.0-4ubuntu2_amd64.deb … Unpacking gcc-14 (14.2.0-4ubuntu2) … Selecting previously unselected package gcc-x86-64-linux-gnu. Preparing to unpack …/19-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb … Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) … Selecting previously unselected package gcc. Preparing to unpack …/20-gcc_4%3a14.1.0-2ubuntu1_amd64.deb … Unpacking gcc (4:14.1.0-2ubuntu1) … Selecting previously unselected package libstdc++-14-dev:amd64. Preparing to unpack …/21-libstdc++-14-dev_14.2.0-4ubuntu2_amd64.deb … Unpacking libstdc++-14-dev:amd64 (14.2.0-4ubuntu2) … Selecting previously unselected package g++-14-x86-64-linux-gnu. Preparing to unpack …/22-g++-14-x86-64-linux-gnu_14.2.0-4ubuntu2_amd64.deb … Unpacking g++-14-x86-64-linux-gnu (14.2.0-4ubuntu2) … Selecting previously unselected package g++-14. Preparing to unpack …/23-g++-14_14.2.0-4ubuntu2_amd64.deb … Unpacking g++-14 (14.2.0-4ubuntu2) … Selecting previously unselected package g++-x86-64-linux-gnu. Preparing to unpack …/24-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb … Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) … Selecting previously unselected package g++. Preparing to unpack …/25-g++_4%3a14.1.0-2ubuntu1_amd64.deb … Unpacking g++ (4:14.1.0-2ubuntu1) … Selecting previously unselected package make. Preparing to unpack …/26-make_4.3-4.1build2_amd64.deb … Unpacking make (4.3-4.1build2) … Selecting previously unselected package lto-disabled-list. Preparing to unpack …/27-lto-disabled-list_53_all.deb … Unpacking lto-disabled-list (53) … Selecting previously unselected package dpkg-dev. Preparing to unpack …/28-dpkg-dev_1.22.11ubuntu1_all.deb … Unpacking dpkg-dev (1.22.11ubuntu1) … Selecting previously unselected package build-essential. Preparing to unpack …/29-build-essential_12.10ubuntu1_amd64.deb … Unpacking build-essential (12.10ubuntu1) … Selecting previously unselected package libfakeroot:amd64. Preparing to unpack …/30-libfakeroot_1.36-1_amd64.deb … Unpacking libfakeroot:amd64 (1.36-1) … Selecting previously unselected package fakeroot. Preparing to unpack …/31-fakeroot_1.36-1_amd64.deb … Unpacking fakeroot (1.36-1) … Selecting previously unselected package libalgorithm-diff-perl. Preparing to unpack …/32-libalgorithm-diff-perl_1.201-1_all.deb … Unpacking libalgorithm-diff-perl (1.201-1) … Selecting previously unselected package libalgorithm-diff-xs-perl:amd64. Preparing to unpack …/33-libalgorithm-diff-xs-perl_0.04-8build3_amd64.deb … Unpacking libalgorithm-diff-xs-perl:amd64 (0.04-8build3) … Selecting previously unselected package libalgorithm-merge-perl. Preparing to unpack …/34-libalgorithm-merge-perl_0.08-5_all.deb … Unpacking libalgorithm-merge-perl (0.08-5) … Setting up lto-disabled-list (53) … Setting up libalgorithm-diff-perl (1.201-1) … Setting up binutils-common:amd64 (2.43.1-4ubuntu1) … Setting up libctf-nobfd0:amd64 (2.43.1-4ubuntu1) … Setting up libsframe1:amd64 (2.43.1-4ubuntu1) … Setting up libfakeroot:amd64 (1.36-1) … Setting up fakeroot (1.36-1) … update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Setting up make (4.3-4.1build2) … Setting up libquadmath0:amd64 (14.2.0-4ubuntu2) … Setting up libubsan1:amd64 (14.2.0-4ubuntu2) … Setting up libhwasan0:amd64 (14.2.0-4ubuntu2) … Setting up libasan8:amd64 (14.2.0-4ubuntu2) … Setting up libtsan2:amd64 (14.2.0-4ubuntu2) … Setting up libbinutils:amd64 (2.43.1-4ubuntu1) … Setting up libalgorithm-diff-xs-perl:amd64 (0.04-8build3) … Setting up libcc1-0:amd64 (14.2.0-4ubuntu2) … Setting up liblsan0:amd64 (14.2.0-4ubuntu2) … Setting up libitm1:amd64 (14.2.0-4ubuntu2) … Setting up libalgorithm-merge-perl (0.08-5) … Setting up libctf0:amd64 (2.43.1-4ubuntu1) … Setting up libgprofng0:amd64 (2.43.1-4ubuntu1) … Setting up libgcc-14-dev:amd64 (14.2.0-4ubuntu2) … Setting up libstdc++-14-dev:amd64 (14.2.0-4ubuntu2) … Setting up binutils-x86-64-linux-gnu (2.43.1-4ubuntu1) … Setting up binutils (2.43.1-4ubuntu1) … Setting up dpkg-dev (1.22.11ubuntu1) … Setting up gcc-14-x86-64-linux-gnu (14.2.0-4ubuntu2) … Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) … Setting up gcc-14 (14.2.0-4ubuntu2) … Setting up g++-14-x86-64-linux-gnu (14.2.0-4ubuntu2) … Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) … Setting up g++-14 (14.2.0-4ubuntu2) … Setting up gcc (4:14.1.0-2ubuntu1) … Setting up g++ (4:14.1.0-2ubuntu1) … update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode Setting up build-essential (12.10ubuntu1) … Processing triggers for man-db (2.12.1-3) … Processing triggers for libc-bin (2.40-1ubuntu3) …

gcc related ONLY: Give me a 125 term vocabulary list sorted by popularity in usage (by commonly used / frequency of use in codebases). That means 125 terms, not 125 words. DO NOT REPEAT YOURSELF. Acronyms related to gcc technology are allowed but they must be expanded. e.g. RAII (Resource Acquisition Is Initialization). The terms should have to do ONLY with and SPECIFICALLY with gcc, CANNOT include generic operating system terms, generic IT terms, or computing terms. No definitions. Just the words. Each word should be surrounded by double brackets and separated by a comma and on the same lines. e.g. robots, robotics. Etc.

gcc (GNU Compiler Collection), clang (C Language Frontend), g++ (GNU C++ Compiler), javac (Java Compiler), kotlinc (Kotlin Compiler), scalac (Scala Compiler), rustc (Rust Compiler), go (Go Compiler), tsc (TypeScript Compiler), dart (Dart Compiler), swiftc (Swift Compiler), csc (C Sharp Compiler), fsc (F Sharp Compiler), nim (Nim Compiler), dmd (D Language Compiler), ldc (LLVM D Compiler), gdc (GNU D Compiler), haskell ghc (Glasgow Haskell Compiler), elm (Elm Compiler), ocamlc (OCaml Compiler), cabal (Haskell Build System), dotnet CLI (C Sharp Compiler), mcs (Mono Compiler Suite), erlang (Erlang Compiler), python -m py_compile (Python Bytecode Compiler), node (Node.js Compiler), babel (Babel JavaScript Compiler), emcc (Emscripten Compiler), javac -module-path (Java Module Compiler), wat2wasm (WebAssembly Text Format Compiler).

navbar_gcc (GNU Compiler Collection)]], navbar_clang (C Language Frontend)]], navbar_gpp (GNU C++ Compiler)]], navbar_javac (Java Compiler)]], navbar_kotlinc (Kotlin Compiler)]], navbar_scalac (Scala Compiler)]], navbar_rustc (Rust Compiler)]], go (Go Compiler), navbar_tsc (TypeScript Compiler)]], navbar_dart_cli (Dart Compiler)]], navbar_swiftc (Swift Compiler)]], navbar_csc (C Sharp Compiler)]], navbar_fsc (F Sharp Compiler)]], navbar_nim (Nim Compiler)]], dmd (D Language Compiler), ldc (LLVM D Compiler), gdc (GNU D Compiler), haskell navbar_ghc (Glasgow Haskell Compiler)]], navbar_elm_cli (Elm Compiler)]], ocamlc (OCaml Compiler), navbar_cabal] (Haskell Build System), navbar_dotnet_CLI]{ (C Sharp Compiler), mcs (Mono Compiler Suite), navbar_erlang (Erlang Compiler)]], python -m py_compile (Python Bytecode Compiler), navbar_node (Node.js Compiler)]], navbar_babel (Babel JavaScript Compiler)]], navbar_emcc (Emscripten Compiler)]], javac -module-path (Java Module Compiler), navbar_wat2wasm (WebAssembly Text Format Compiler)]].

Compilers: GCC - GNU Compiler Collection, LLVM, clang, On Windows use mingw and cygwin, Compiled language, Compiler Explorer, Compiler list, Compiler, Compilation, Compiled, Compiling, Decompiler, Decompilation, Decompiled, Decompiling, Recompiler, Recompilation, Recompiled, Recompiling

(navbar_compilers - see also navbar_llvm, navbar_gcc)


Cloud Monk is Retired ( for now). Buddha with you. © 2025 and Beginningless Time - Present Moment - Three Times: The Buddhas or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.


build-essential.txt · Last modified: 2025/02/01 07:14 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki