Skip to content
Home » Ubuntu Gcc Update | Upgrade Gcc And G++ In Ubuntu 상위 96개 베스트 답변

Ubuntu Gcc Update | Upgrade Gcc And G++ In Ubuntu 상위 96개 베스트 답변

당신은 주제를 찾고 있습니까 “ubuntu gcc update – Upgrade gcc and g++ in Ubuntu“? 다음 카테고리의 웹사이트 https://hu.taphoamini.com 에서 귀하의 모든 질문에 답변해 드립니다: https://hu.taphoamini.com/photos/. 바로 아래에서 답을 찾을 수 있습니다. 작성자 Andrew Grant 이(가) 작성한 기사에는 조회수 23,287회 및 좋아요 204개 개의 좋아요가 있습니다.

gcc-10 is available in the default repositories of Ubuntu 20.04 and later.You need to use the which command to locate c compiler binary called gcc. Usually, it is installed in /usr/bin directory.

How To Install The Latest GCC On Ubuntu
  1. Check The Current GCC Version. Run the command gcc -version in a terminal, if you get the below output, it means GCC is not installed. …
  2. Install GCC On Ubuntu Steps. Run the command sudo apt update to make sure the Ubuntu system is updated.
Install GCC the C compiler on Ubuntu 22.04 step by step instructions
  1. Open a command line terminal and install C compiler by installation of the development package build-essential : $ sudo apt update $ sudo apt install build-essential. …
  2. Check C compiler version to verify a successful installation: $ gcc –version.
There are three steps to install and use GNU GCC 10 under Ubuntu 20.04:
  1. Install build-essential package.
  2. Install gcc-10 packages (g++, too).
  3. Make GNU GCC 10 default compiler – use update-alternatives to point the GNU GCC 10 as the default compiler.

Table of Contents

ubuntu gcc update 주제에 대한 동영상 보기

여기에서 이 주제에 대한 비디오를 시청하십시오. 주의 깊게 살펴보고 읽고 있는 내용에 대한 피드백을 제공하세요!

d여기에서 Upgrade gcc and g++ in Ubuntu – ubuntu gcc update 주제에 대한 세부정보를 참조하세요

A brief description of how to upgrade gcc and g++ from version 5.4.0 to version 6.2.0 in Ubuntu Linux. Please click the \”Show more\” (if the Update November 2019 is not displayed) text below for the updated commands for gcc-9 an g++-9.
November 2019:
After a question from Gery M:
To get gcc 9.x and g++ 9.x, just follow the steps described, replacing the version number with 9.
If you are starting from gcc 8.x or lower you may have to do a stepped upgrade. For example, to go from gcc-5 to gcc-6 (g++-5 to g++-6). Follow the steps outlined below and in the video, but replace the version number with the version immediately following the installed version:
(installed) gcc-5 g++-5 (upgrade to)
(installed) gcc-6 g++-6 (upgrade to)
(installed) gcc-7 g++-7 (upgrade to)
(installed) gcc-8 g++-8 (upgrade to)
gcc-9 g++-9
Keep a good eye on any error messages. If necessary, you will have to upgrade any seemingly unrelated files to a more current version. This will ensure your compiler upgrade works properly and you will, hopefully, not run into obscure and difficult, if not impossible, to fix errors in your application/library compilations.
Usual caveats apply
April 2019:
To get gcc-8 and g++-8, as before replace gcc-6 or gcc-7 with gcc-8 and g++-6 or g++-7 with g++8.
The command sequence will now be:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-8 g++-8
sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-8 20 –slave /usr/bin/g++ g++ /usr/bin/g++-8
Sept 2017
This works with upgrading gcc-6/g++-7 as well. If you are starting from a version of gcc that is lower than 6, it is probably better to to do incremental upgrades rather than a straight up upgrade.
Just replace the gcc-6 and g++-6 with gcc-7 and g++-7
Usual caveats apply.
List of Commands:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-6 g++-6
sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-6 20 –slave /usr/bin/g++ g++ /usr/bin/g++-6
(corrected after comment from Belmokaddem Adil – thank you! 😀 )
I have also done a quick blog post at: http://ovenproof-linux.blogspot.com/2016/09/upgrade-gcc-and-g-in-ubuntu.html

ubuntu gcc update 주제에 대한 자세한 내용은 여기를 참조하세요.

How to Install GCC Compiler on Ubuntu 18.04 | Linuxize

Installing GCC on Ubuntu # · Start by updating the packages list: sudo apt update. Copy · Install the build-essential package by typing: sudo apt …

+ 자세한 내용은 여기를 클릭하십시오

Source: linuxize.com

Date Published: 7/29/2022

View: 5908

How do I use the latest GCC on Ubuntu?

You can change the default gcc version by using the update-alternatives command to determine which actual file is referenced by a generic name, for example …

+ 여기를 클릭

Source: askubuntu.com

Date Published: 3/24/2021

View: 2491

Hướng dẫn cài đặt GCC trên Ubuntu 20.04 – N Support

Hướng dẫn cài đặt GCC (build-essential) trên Ubuntu 20.04. Created December 2, 2020 … sudo apt update sudo apt install build-essential.

+ 여기에 보기

Source: howto.nsupport.asia

Date Published: 9/16/2022

View: 2147

How to install GCC the C compiler on Ubuntu 22.04 LTS …

Open a command line terminal and install C compiler by installation of the development package build-essential : · Check C compiler version to …

+ 자세한 내용은 여기를 클릭하십시오

Source: linuxconfig.org

Date Published: 8/18/2021

View: 1987

Install gcc 11 on Ubuntu 20.04 – Lindevs

The gcc is a compiler of the GNU Compiler Collection (GCC). The gcc compiler is mainly used to compile C programs.

+ 여기에 보기

Source: lindevs.com

Date Published: 5/27/2021

View: 4061

How to install GCC on Ubuntu 22.04 – Linux Hint

To install GCC, first update the system then install the build-essential package that contains the GCC package using “$ sudo apt install build-essential” …

+ 더 읽기

Source: linuxhint.com

Date Published: 8/7/2022

View: 3080

How to install latest gcc on Ubuntu LTS (12.04, 14.04, 16.04)

ABSOLUTELY NO WARRANTY. If you are still reading let’s carry on with the code. sudo apt-get update && …

+ 여기에 자세히 보기

Source: gist.github.com

Date Published: 3/20/2021

View: 2170

Install GCC (build-essential) on Ubuntu 20.04 LTS

Prerequisites. Update Operating System · Option 1 – Install GCC with APT – Ubuntu Repository · Option 2 – Install Latest GCC with APT – Toolchain …

+ 더 읽기

Source: www.linuxcapable.com

Date Published: 10/11/2022

View: 1179

주제와 관련된 이미지 ubuntu gcc update

주제와 관련된 더 많은 사진을 참조하십시오 Upgrade gcc and g++ in Ubuntu. 댓글에서 더 많은 관련 이미지를 보거나 필요한 경우 더 많은 관련 기사를 볼 수 있습니다.

Upgrade gcc and g++ in Ubuntu
Upgrade gcc and g++ in Ubuntu

주제에 대한 기사 평가 ubuntu gcc update

  • Author: Andrew Grant
  • Views: 조회수 23,287회
  • Likes: 좋아요 204개
  • Date Published: 2016. 9. 11.
  • Video Url link: https://www.youtube.com/watch?v=vVzshfYSgRk

How do I get latest GCC Ubuntu?

Install GCC the C compiler on Ubuntu 22.04 step by step instructions
  1. Open a command line terminal and install C compiler by installation of the development package build-essential : $ sudo apt update $ sudo apt install build-essential. …
  2. Check C compiler version to verify a successful installation: $ gcc –version.

Does Ubuntu 20.04 have GCC?

gcc-10 is available in the default repositories of Ubuntu 20.04 and later.

How do I get GCC 10 on Ubuntu?

There are three steps to install and use GNU GCC 10 under Ubuntu 20.04:
  1. Install build-essential package.
  2. Install gcc-10 packages (g++, too).
  3. Make GNU GCC 10 default compiler – use update-alternatives to point the GNU GCC 10 as the default compiler.

Where is GCC installed on Ubuntu?

You need to use the which command to locate c compiler binary called gcc. Usually, it is installed in /usr/bin directory.

How do I update gcc to latest version?

Update using terminal:
  1. Run the command prompt/terminal ( cmd or sh ).
  2. Update the package list: mingw-get update.
  3. After updating the package list, run: mingw-get upgrade.

How do I install the latest version of gcc?

Installing GCC on Ubuntu
  1. Start by updating the packages list: sudo apt update.
  2. Install the build-essential package by typing: sudo apt install build-essential. …
  3. To validate that the GCC compiler is successfully installed, use the gcc –version command which prints the GCC version: gcc –version.

How do I check my gcc version?

So if you ever need to check the version of the GCC C++ compiler that you have installed on your PC, you can do it through the command prompt by typing in the single line, g++ –version, and this will return the result.

How do I know if gcc is installed on Ubuntu?

In the Command Prompt window type “gcc” and hit enter. If the output says something like “gcc: fatal error: no input files”, that is good, and you pass the test.

What is difference between G ++ and gcc?

DIFFERENCE BETWEEN g++ & gcc

g++ is used to compile C++ program. gcc is used to compile C program.

Does Ubuntu come with GCC?

The gcc package is installed by default on all Ubuntu desktop flavors.

What version of GCC do I have Linux?

How do I find out the version of my GNU gcc compiler that was used by upstream Linux distribution to compile and pack my binary Linux kernel? You need to cat the /proc/version file. This file identifies the kernel version that is currently running and gcc version used to build the kernel.

What is sudo apt get update?

sudo apt-get update and sudo apt-get upgrade are two commands you can use to keep all of your packages up to date in Debian or a Debian-based Linux distribution. They’re common commands for Linux admins and people doing DevOps, but are handy to know even if you don’t use the command line often.

Why gcc is not working?

If you have not installed gcc compiler and trying to use gcc command then the error message is obvious as the functionality is not available on your computer. If you have not installed gcc compiler, then install MinGW gcc compiler on your development environment.

What is command of install the gcc?

sudo apt install build-essential. command-2. It will take some time to install all the essential packages. Command 3: After the second command it will install GCC on your Linux, to verify it is installed correctly, check the version of the GCC. gcc –version.

How install gcc manually in Linux?

Follow the steps below to install the GCC Compiler Debian 10:
  1. First, update the packages list: sudo apt update.
  2. Install the build-essential package by running: sudo apt install build-essential. …
  3. To confirm that the GCC compiler is successfully installed type gcc –version : gcc –version.

How To Install The Latest GCC On Ubuntu

GCC is the abbreviation of GNU Compiler Collection. It contains a set of compilers that can compile C, C++, Objective-C, etc language-coded programs. This article will tell you how to install the latest version of GCC on Linux OS, especially Ubuntu.

Run the command sudo apt update to make sure the Ubuntu system is updated. $ sudo apt update [sudo] password for jerry: Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Hit:2 http://cn.archive.ubuntu.com/ubuntu focal InRelease Get:3 http://cn.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:4 http://cn.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB] Get:5 http://cn.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [581 kB] Get:6 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1,445 kB] Get:7 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [892 kB] Get:8 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [662 kB] Fetched 3,915 kB in 19s (205 kB/s) Reading package lists… Done Building dependency tree Reading state information… Done 191 packages can be upgraded. Run ‘apt list –upgradable’ to see them.

Run the command sudo apt install build-essential to install GCC. The build-essential package is the meta-package, it contains a set of tools that includes GNU debugger, g++/GNU compiler. $ sudo apt install build-essential Reading package lists… Done Building dependency tree …… Processing triggers for man-db (2.9.1-1) … Processing triggers for libc-bin (2.31-0ubuntu9.2) …

Run the command gcc –version again to verify the GCC has been installed successfully. $ gcc –version gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.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.

Get where the GCC is installed with the below command. $ whereis gcc make gcc: /usr/bin/gcc /usr/lib/gcc /usr/share/gcc /usr/share/man/man1/gcc.1.gz make: /usr/bin/make /usr/share/man/man1/make.1.gz

How do I use the latest GCC on Ubuntu?

I want to compile my program with the latest version of gcc .

Ubuntu 14.04 comes with gcc 4.8.2, however there’s 4.9.0 available, moreover, I see that it is available as a package: gcc-4.9 . I tried to install it

sudo apt-get install gcc-4.9

but it says

Reading package lists… Done Building dependency tree Reading state information… Done Note, selecting ‘gcc-4.9-base’ for regex ‘gcc-4.9’ gcc-4.9-base is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Looks like it is already installed, just not as the default one? How do I utilize it to build my program?

Does Ubuntu 20.04.1 LTS not come with a c compiler by default?

I recently downloaded the official desktop version of 20.04.1 and installed it on a machine. I was surprised to find that there was no gcc command available! I installed it with apt but I always thought that every flavour of Linux came with gcc straight out of the box.

Has something recently changed in the release philosophy of Ubuntu?

Install and make GNU GCC 10 default in Ubuntu 20.04 Focal

The best way to install and use GNU GCC 10 is to install first, build-essential package, which will pull in the GNU GCC 9.2, and then install the GNU GCC 10. In fact, it is possible to install only GNU GCC 10 packages, but build-essential brings with it many additional packages, which are mandatory for the configuration and compiling stages.

GNU GCC is included in the official Ubuntu Focal repository! It just needs to be installed and made to be the default compiler.

Install build-essential ensures all generic packages to be installed, which are involved in the building process of a software product.

There are three steps to install and use GNU GCC 10 under Ubuntu 20.04:

Install build-essential package. Install gcc-10 packages (g++, too). Make GNU GCC 10 default compiler – use update-alternatives to point the GNU GCC 10 as the default compiler

Four simple lines and the third is a little bit more complex:

apt update -y apt upgrade -y apt install -y build-essential apt install -y gcc-10 g++-10 cpp-10 update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-10 100 –slave /usr/bin/g++ g++ /usr/bin/g++-10 –slave /usr/bin/gcov gcov /usr/bin/gcov-10

Always update and upgrade before installing new software. Use sudo before each command, if installation is performed by a user other than root:

sudo apt update -y sudo apt upgrade -y sudo apt install -y build-essential sudo apt install -y gcc-10 g++-10 cpp-10 sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-10 100 –slave /usr/bin/g++ g++ /usr/bin/g++-10 –slave /usr/bin/gcov gcov /usr/bin/gcov-10

It is a good idea to install cmake package, in addition to the above, because cmake is not included in build-essential:

apt install -y cmake

The apt output of installing GNU GCC 10

Many additional packages like multiple perl modules, libraries and make are installed.

root@srv:~# apt update -y Get:1 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB] Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB] Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB] Get:6 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB] Get:7 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB] Get:8 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB] Get:9 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [587 kB] Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1586 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1084 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [33.4 kB] Get:13 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [637 kB] Get:14 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [6310 B] Get:15 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [2668 B] Get:16 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [30.1 kB] Get:17 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [796 kB] Get:18 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [1139 kB] Fetched 19.3 MB in 5s (3748 kB/s) Reading package lists… Done Building dependency tree Reading state information… Done 9 packages can be upgraded. Run ‘apt list –upgradable’ to see them. root@srv:~# apt upgrade -y Reading package lists… Done Building dependency tree Reading state information… Done Calculating upgrade… Done The following packages will be upgraded: libgcrypt20 libpam-modules libpam-modules-bin libpam-runtime libpam0g libprocps8 libsystemd0 libudev1 procps 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1428 kB of archives. After this operation, 2048 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libpam0g amd64 1.3.1-5ubuntu4.3 [55.4 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libpam-modules-bin amd64 1.3.1-5ubuntu4.3 [41.2 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libpam-modules amd64 1.3.1-5ubuntu4.3 [260 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libsystemd0 amd64 245.4-4ubuntu3.13 [270 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgcrypt20 amd64 1.8.5-5ubuntu1.1 [420 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libpam-runtime all 1.3.1-5ubuntu4.3 [37.3 kB] Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libudev1 amd64 245.4-4ubuntu3.13 [77.6 kB] Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libprocps8 amd64 2:3.3.16-1ubuntu2.3 [33.0 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 procps amd64 2:3.3.16-1ubuntu2.3 [233 kB] Fetched 1428 kB in 0s (3017 kB/s) debconf: delaying package configuration, since apt-utils is not installed (Reading database … 4127 files and directories currently installed.) Preparing to unpack …/libpam0g_1.3.1-5ubuntu4.3_amd64.deb … Unpacking libpam0g:amd64 (1.3.1-5ubuntu4.3) over (1.3.1-5ubuntu4.2) … Setting up libpam0g:amd64 (1.3.1-5ubuntu4.3) … debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can’t locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype (Reading database … 4127 files and directories currently installed.) Preparing to unpack …/libpam-modules-bin_1.3.1-5ubuntu4.3_amd64.deb … Unpacking libpam-modules-bin (1.3.1-5ubuntu4.3) over (1.3.1-5ubuntu4.2) … Setting up libpam-modules-bin (1.3.1-5ubuntu4.3) … (Reading database … 4127 files and directories currently installed.) Preparing to unpack …/libpam-modules_1.3.1-5ubuntu4.3_amd64.deb … debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can’t locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Unpacking libpam-modules:amd64 (1.3.1-5ubuntu4.3) over (1.3.1-5ubuntu4.2) … Setting up libpam-modules:amd64 (1.3.1-5ubuntu4.3) … (Reading database … 4127 files and directories currently installed.) Preparing to unpack …/libsystemd0_245.4-4ubuntu3.13_amd64.deb … Unpacking libsystemd0:amd64 (245.4-4ubuntu3.13) over (245.4-4ubuntu3.11) … Setting up libsystemd0:amd64 (245.4-4ubuntu3.13) … (Reading database … 4127 files and directories currently installed.) Preparing to unpack …/libgcrypt20_1.8.5-5ubuntu1.1_amd64.deb … Unpacking libgcrypt20:amd64 (1.8.5-5ubuntu1.1) over (1.8.5-5ubuntu1) … Setting up libgcrypt20:amd64 (1.8.5-5ubuntu1.1) … (Reading database … 4127 files and directories currently installed.) Preparing to unpack …/libpam-runtime_1.3.1-5ubuntu4.3_all.deb … Unpacking libpam-runtime (1.3.1-5ubuntu4.3) over (1.3.1-5ubuntu4.2) … Setting up libpam-runtime (1.3.1-5ubuntu4.3) … debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can’t locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype (Reading database … 4127 files and directories currently installed.) Preparing to unpack …/libudev1_245.4-4ubuntu3.13_amd64.deb … Unpacking libudev1:amd64 (245.4-4ubuntu3.13) over (245.4-4ubuntu3.11) … Setting up libudev1:amd64 (245.4-4ubuntu3.13) … (Reading database … 4127 files and directories currently installed.) Preparing to unpack …/libprocps8_2%3a3.3.16-1ubuntu2.3_amd64.deb … Unpacking libprocps8:amd64 (2:3.3.16-1ubuntu2.3) over (2:3.3.16-1ubuntu2.2) … Preparing to unpack …/procps_2%3a3.3.16-1ubuntu2.3_amd64.deb … Unpacking procps (2:3.3.16-1ubuntu2.3) over (2:3.3.16-1ubuntu2.2) … Setting up libprocps8:amd64 (2:3.3.16-1ubuntu2.3) … Setting up procps (2:3.3.16-1ubuntu2.3) … Processing triggers for libc-bin (2.31-0ubuntu9.2) … root@srv:~# apt install -y build-essential Reading package lists… Done Building dependency tree Reading state information… Done The following additional packages will be installed: binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-9 dirmngr dpkg-dev fakeroot g++ g++-9 gcc gcc-9 gcc-9-base gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5 libasn1-8-heimdal libassuan0 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-9-dev libgdbm-compat4 libgdbm6 libgomp1 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libisl22 libitm1 libkrb5-26-heimdal libksba8 libldap-2.4-2 libldap-common liblocale-gettext-perl liblsan0 libmpc3 libmpfr6 libnpth0 libperl5.30 libquadmath0 libreadline8 libroken18-heimdal libsasl2-2 libsasl2-modules libsasl2-modules-db libsqlite3-0 libssl1.1 libstdc++-9-dev libtsan0 libubsan1 libwind0-heimdal linux-libc-dev make manpages manpages-dev netbase patch perl perl-modules-5.30 pinentry-curses readline-common xz-utils Suggested packages: binutils-doc cpp-doc gcc-9-locales dbus-user-session libpam-systemd pinentry-gnome3 tor debian-keyring g++-multilib g++-9-multilib gcc-9-doc gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-9-multilib parcimonie xloadimage scdaemon glibc-doc git bzr gdbm-l10n libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql libstdc++-9-doc make-doc man-browser ed diffutils-doc perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl libb-debug-perl liblocale-codes-perl pinentry-doc readline-doc The following NEW packages will be installed: binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-9 dirmngr dpkg-dev fakeroot g++ g++-9 gcc gcc-9 gcc-9-base gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5 libasn1-8-heimdal libassuan0 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-9-dev libgdbm-compat4 libgdbm6 libgomp1 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libisl22 libitm1 libkrb5-26-heimdal libksba8 libldap-2.4-2 libldap-common liblocale-gettext-perl liblsan0 libmpc3 libmpfr6 libnpth0 libperl5.30 libquadmath0 libreadline8 libroken18-heimdal libsasl2-2 libsasl2-modules libsasl2-modules-db libsqlite3-0 libssl1.1 libstdc++-9-dev libtsan0 libubsan1 libwind0-heimdal linux-libc-dev make manpages manpages-dev netbase patch perl perl-modules-5.30 pinentry-curses readline-common xz-utils 0 upgraded, 84 newly installed, 0 to remove and 0 not upgraded. Need to get 57.4 MB of archives. After this operation, 256 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 liblocale-gettext-perl amd64 1.07-4 [17.1 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 perl-modules-5.30 all 5.30.0-9ubuntu0.2 [2738 kB] Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 libgdbm6 amd64 1.18.1-5 [27.4 kB] Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 libgdbm-compat4 amd64 1.18.1-5 [6244 B] Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libperl5.30 amd64 5.30.0-9ubuntu0.2 [3952 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 perl amd64 5.30.0-9ubuntu0.2 [224 kB] Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 readline-common all 8.0-4 [53.5 kB] Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 libreadline8 amd64 8.0-4 [131 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libsqlite3-0 amd64 3.31.1-4ubuntu0.2 [549 kB] Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libssl1.1 amd64 1.1.1f-1ubuntu2.8 [1320 kB] Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 netbase all 6.1 [13.1 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 xz-utils amd64 5.2.4-1ubuntu1 [82.5 kB] Get:13 http://archive.ubuntu.com/ubuntu focal/main amd64 manpages all 5.05-1 [1314 kB] Get:14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 binutils-common amd64 2.34-6ubuntu1.1 [207 kB] Get:15 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libbinutils amd64 2.34-6ubuntu1.1 [475 kB] Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libctf-nobfd0 amd64 2.34-6ubuntu1.1 [47.1 kB] Get:17 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libctf0 amd64 2.34-6ubuntu1.1 [46.6 kB] Get:18 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 binutils-x86-64-linux-gnu amd64 2.34-6ubuntu1.1 [1613 kB] Get:19 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 binutils amd64 2.34-6ubuntu1.1 [3380 B] Get:20 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc-dev-bin amd64 2.31-0ubuntu9.2 [71.8 kB] Get:21 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-libc-dev amd64 5.4.0-88.99 [1116 kB] Get:22 http://archive.ubuntu.com/ubuntu focal/main amd64 libcrypt-dev amd64 1:4.4.10-10ubuntu4 [104 kB] Get:23 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-dev amd64 2.31-0ubuntu9.2 [2520 kB] Get:24 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gcc-9-base amd64 9.3.0-17ubuntu1~20.04 [19.1 kB] Get:25 http://archive.ubuntu.com/ubuntu focal/main amd64 libisl22 amd64 0.22.1-1 [592 kB] Get:26 http://archive.ubuntu.com/ubuntu focal/main amd64 libmpfr6 amd64 4.0.2-1 [240 kB] Get:27 http://archive.ubuntu.com/ubuntu focal/main amd64 libmpc3 amd64 1.1.0-1 [40.8 kB] Get:28 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cpp-9 amd64 9.3.0-17ubuntu1~20.04 [7494 kB] Get:29 http://archive.ubuntu.com/ubuntu focal/main amd64 cpp amd64 4:9.3.0-1ubuntu2 [27.6 kB] Get:30 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libcc1-0 amd64 10.3.0-1ubuntu1~20.04 [48.8 kB] Get:31 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgomp1 amd64 10.3.0-1ubuntu1~20.04 [102 kB] Get:32 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libitm1 amd64 10.3.0-1ubuntu1~20.04 [26.2 kB] Get:33 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libatomic1 amd64 10.3.0-1ubuntu1~20.04 [9284 B] Get:34 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libasan5 amd64 9.3.0-17ubuntu1~20.04 [394 kB] Get:35 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 liblsan0 amd64 10.3.0-1ubuntu1~20.04 [835 kB] Get:36 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libtsan0 amd64 10.3.0-1ubuntu1~20.04 [2009 kB] Get:37 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libubsan1 amd64 10.3.0-1ubuntu1~20.04 [784 kB] Get:38 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libquadmath0 amd64 10.3.0-1ubuntu1~20.04 [146 kB] Get:39 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgcc-9-dev amd64 9.3.0-17ubuntu1~20.04 [2360 kB] Get:40 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gcc-9 amd64 9.3.0-17ubuntu1~20.04 [8241 kB] Get:41 http://archive.ubuntu.com/ubuntu focal/main amd64 gcc amd64 4:9.3.0-1ubuntu2 [5208 B] Get:42 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libstdc++-9-dev amd64 9.3.0-17ubuntu1~20.04 [1714 kB] Get:43 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 g++-9 amd64 9.3.0-17ubuntu1~20.04 [8405 kB] Get:44 http://archive.ubuntu.com/ubuntu focal/main amd64 g++ amd64 4:9.3.0-1ubuntu2 [1604 B] Get:45 http://archive.ubuntu.com/ubuntu focal/main amd64 make amd64 4.2.1-1.2 [162 kB] Get:46 http://archive.ubuntu.com/ubuntu focal/main amd64 libdpkg-perl all 1.19.7ubuntu3 [230 kB] Get:47 http://archive.ubuntu.com/ubuntu focal/main amd64 patch amd64 2.7.6-6 [105 kB] Get:48 http://archive.ubuntu.com/ubuntu focal/main amd64 dpkg-dev all 1.19.7ubuntu3 [679 kB] Get:49 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 build-essential amd64 12.8ubuntu1.1 [4664 B] Get:50 http://archive.ubuntu.com/ubuntu focal/main amd64 libassuan0 amd64 2.5.3-7ubuntu2 [35.7 kB] Get:51 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gpgconf amd64 2.2.19-3ubuntu2.1 [124 kB] Get:52 http://archive.ubuntu.com/ubuntu focal/main amd64 libksba8 amd64 1.3.5-2 [92.6 kB] Get:53 http://archive.ubuntu.com/ubuntu focal/main amd64 libroken18-heimdal amd64 7.7.0+dfsg-1ubuntu1 [41.8 kB] Get:54 http://archive.ubuntu.com/ubuntu focal/main amd64 libasn1-8-heimdal amd64 7.7.0+dfsg-1ubuntu1 [181 kB] Get:55 http://archive.ubuntu.com/ubuntu focal/main amd64 libheimbase1-heimdal amd64 7.7.0+dfsg-1ubuntu1 [29.7 kB] Get:56 http://archive.ubuntu.com/ubuntu focal/main amd64 libhcrypto4-heimdal amd64 7.7.0+dfsg-1ubuntu1 [87.9 kB] Get:57 http://archive.ubuntu.com/ubuntu focal/main amd64 libwind0-heimdal amd64 7.7.0+dfsg-1ubuntu1 [48.0 kB] Get:58 http://archive.ubuntu.com/ubuntu focal/main amd64 libhx509-5-heimdal amd64 7.7.0+dfsg-1ubuntu1 [107 kB] Get:59 http://archive.ubuntu.com/ubuntu focal/main amd64 libkrb5-26-heimdal amd64 7.7.0+dfsg-1ubuntu1 [208 kB] Get:60 http://archive.ubuntu.com/ubuntu focal/main amd64 libheimntlm0-heimdal amd64 7.7.0+dfsg-1ubuntu1 [15.1 kB] Get:61 http://archive.ubuntu.com/ubuntu focal/main amd64 libgssapi3-heimdal amd64 7.7.0+dfsg-1ubuntu1 [96.1 kB] Get:62 http://archive.ubuntu.com/ubuntu focal/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-2 [14.9 kB] Get:63 http://archive.ubuntu.com/ubuntu focal/main amd64 libsasl2-2 amd64 2.1.27+dfsg-2 [49.3 kB] Get:64 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libldap-common all 2.4.49+dfsg-2ubuntu1.8 [16.6 kB] Get:65 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libldap-2.4-2 amd64 2.4.49+dfsg-2ubuntu1.8 [155 kB] Get:66 http://archive.ubuntu.com/ubuntu focal/main amd64 libnpth0 amd64 1.6-1 [7736 B] Get:67 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 dirmngr amd64 2.2.19-3ubuntu2.1 [329 kB] Get:68 http://archive.ubuntu.com/ubuntu focal/main amd64 libfakeroot amd64 1.24-1 [25.7 kB] Get:69 http://archive.ubuntu.com/ubuntu focal/main amd64 fakeroot amd64 1.24-1 [62.6 kB] Get:70 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gnupg-l10n all 2.2.19-3ubuntu2.1 [51.7 kB] Get:71 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gnupg-utils amd64 2.2.19-3ubuntu2.1 [480 kB] Get:72 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gpg amd64 2.2.19-3ubuntu2.1 [483 kB] Get:73 http://archive.ubuntu.com/ubuntu focal/main amd64 pinentry-curses amd64 1.1.0-3build1 [36.3 kB] Get:74 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gpg-agent amd64 2.2.19-3ubuntu2.1 [232 kB] Get:75 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gpg-wks-client amd64 2.2.19-3ubuntu2.1 [97.6 kB] Get:76 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gpg-wks-server amd64 2.2.19-3ubuntu2.1 [90.3 kB] Get:77 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gpgsm amd64 2.2.19-3ubuntu2.1 [217 kB] Get:78 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gnupg all 2.2.19-3ubuntu2.1 [259 kB] Get:79 http://archive.ubuntu.com/ubuntu focal/main amd64 libalgorithm-diff-perl all 1.19.03-2 [46.6 kB] Get:80 http://archive.ubuntu.com/ubuntu focal/main amd64 libalgorithm-diff-xs-perl amd64 0.04-6 [11.3 kB] Get:81 http://archive.ubuntu.com/ubuntu focal/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB] Get:82 http://archive.ubuntu.com/ubuntu focal/main amd64 libfile-fcntllock-perl amd64 0.22-3build4 [33.1 kB] Get:83 http://archive.ubuntu.com/ubuntu focal/main amd64 libsasl2-modules amd64 2.1.27+dfsg-2 [49.1 kB] Get:84 http://archive.ubuntu.com/ubuntu focal/main amd64 manpages-dev all 5.05-1 [2266 kB] Fetched 57.4 MB in 5s (10.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package liblocale-gettext-perl. (Reading database … 4127 files and directories currently installed.) Preparing to unpack …/00-liblocale-gettext-perl_1.07-4_amd64.deb … Unpacking liblocale-gettext-perl (1.07-4) … Selecting previously unselected package perl-modules-5.30. Preparing to unpack …/01-perl-modules-5.30_5.30.0-9ubuntu0.2_all.deb … Unpacking perl-modules-5.30 (5.30.0-9ubuntu0.2) … Selecting previously unselected package libgdbm6:amd64. Preparing to unpack …/02-libgdbm6_1.18.1-5_amd64.deb … Unpacking libgdbm6:amd64 (1.18.1-5) … Selecting previously unselected package libgdbm-compat4:amd64. Preparing to unpack …/03-libgdbm-compat4_1.18.1-5_amd64.deb … Unpacking libgdbm-compat4:amd64 (1.18.1-5) … Selecting previously unselected package libperl5.30:amd64. Preparing to unpack …/04-libperl5.30_5.30.0-9ubuntu0.2_amd64.deb … Unpacking libperl5.30:amd64 (5.30.0-9ubuntu0.2) … Selecting previously unselected package perl. Preparing to unpack …/05-perl_5.30.0-9ubuntu0.2_amd64.deb … Unpacking perl (5.30.0-9ubuntu0.2) … Selecting previously unselected package readline-common. Preparing to unpack …/06-readline-common_8.0-4_all.deb … Unpacking readline-common (8.0-4) … Selecting previously unselected package libreadline8:amd64. Preparing to unpack …/07-libreadline8_8.0-4_amd64.deb … Unpacking libreadline8:amd64 (8.0-4) … Selecting previously unselected package libsqlite3-0:amd64. Preparing to unpack …/08-libsqlite3-0_3.31.1-4ubuntu0.2_amd64.deb … Unpacking libsqlite3-0:amd64 (3.31.1-4ubuntu0.2) … Selecting previously unselected package libssl1.1:amd64. Preparing to unpack …/09-libssl1.1_1.1.1f-1ubuntu2.8_amd64.deb … Unpacking libssl1.1:amd64 (1.1.1f-1ubuntu2.8) … Selecting previously unselected package netbase. Preparing to unpack …/10-netbase_6.1_all.deb … Unpacking netbase (6.1) … Selecting previously unselected package xz-utils. Preparing to unpack …/11-xz-utils_5.2.4-1ubuntu1_amd64.deb … Unpacking xz-utils (5.2.4-1ubuntu1) … Selecting previously unselected package manpages. Preparing to unpack …/12-manpages_5.05-1_all.deb … Unpacking manpages (5.05-1) … Selecting previously unselected package binutils-common:amd64. Preparing to unpack …/13-binutils-common_2.34-6ubuntu1.1_amd64.deb … Unpacking binutils-common:amd64 (2.34-6ubuntu1.1) … Selecting previously unselected package libbinutils:amd64. Preparing to unpack …/14-libbinutils_2.34-6ubuntu1.1_amd64.deb … Unpacking libbinutils:amd64 (2.34-6ubuntu1.1) … Selecting previously unselected package libctf-nobfd0:amd64. Preparing to unpack …/15-libctf-nobfd0_2.34-6ubuntu1.1_amd64.deb … Unpacking libctf-nobfd0:amd64 (2.34-6ubuntu1.1) … Selecting previously unselected package libctf0:amd64. Preparing to unpack …/16-libctf0_2.34-6ubuntu1.1_amd64.deb … Unpacking libctf0:amd64 (2.34-6ubuntu1.1) … Selecting previously unselected package binutils-x86-64-linux-gnu. Preparing to unpack …/17-binutils-x86-64-linux-gnu_2.34-6ubuntu1.1_amd64.deb … Unpacking binutils-x86-64-linux-gnu (2.34-6ubuntu1.1) … Selecting previously unselected package binutils. Preparing to unpack …/18-binutils_2.34-6ubuntu1.1_amd64.deb … Unpacking binutils (2.34-6ubuntu1.1) … Selecting previously unselected package libc-dev-bin. Preparing to unpack …/19-libc-dev-bin_2.31-0ubuntu9.2_amd64.deb … Unpacking libc-dev-bin (2.31-0ubuntu9.2) … Selecting previously unselected package linux-libc-dev:amd64. Preparing to unpack …/20-linux-libc-dev_5.4.0-88.99_amd64.deb … Unpacking linux-libc-dev:amd64 (5.4.0-88.99) … Selecting previously unselected package libcrypt-dev:amd64. Preparing to unpack …/21-libcrypt-dev_1%3a4.4.10-10ubuntu4_amd64.deb … Unpacking libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) … Selecting previously unselected package libc6-dev:amd64. Preparing to unpack …/22-libc6-dev_2.31-0ubuntu9.2_amd64.deb … Unpacking libc6-dev:amd64 (2.31-0ubuntu9.2) … Selecting previously unselected package gcc-9-base:amd64. Preparing to unpack …/23-gcc-9-base_9.3.0-17ubuntu1~20.04_amd64.deb … Unpacking gcc-9-base:amd64 (9.3.0-17ubuntu1~20.04) … Selecting previously unselected package libisl22:amd64. Preparing to unpack …/24-libisl22_0.22.1-1_amd64.deb … Unpacking libisl22:amd64 (0.22.1-1) … Selecting previously unselected package libmpfr6:amd64. Preparing to unpack …/25-libmpfr6_4.0.2-1_amd64.deb … Unpacking libmpfr6:amd64 (4.0.2-1) … Selecting previously unselected package libmpc3:amd64. Preparing to unpack …/26-libmpc3_1.1.0-1_amd64.deb … Unpacking libmpc3:amd64 (1.1.0-1) … Selecting previously unselected package cpp-9. Preparing to unpack …/27-cpp-9_9.3.0-17ubuntu1~20.04_amd64.deb … Unpacking cpp-9 (9.3.0-17ubuntu1~20.04) … Selecting previously unselected package cpp. Preparing to unpack …/28-cpp_4%3a9.3.0-1ubuntu2_amd64.deb … Unpacking cpp (4:9.3.0-1ubuntu2) … Selecting previously unselected package libcc1-0:amd64. Preparing to unpack …/29-libcc1-0_10.3.0-1ubuntu1~20.04_amd64.deb … Unpacking libcc1-0:amd64 (10.3.0-1ubuntu1~20.04) … Selecting previously unselected package libgomp1:amd64. Preparing to unpack …/30-libgomp1_10.3.0-1ubuntu1~20.04_amd64.deb … Unpacking libgomp1:amd64 (10.3.0-1ubuntu1~20.04) … Selecting previously unselected package libitm1:amd64. Preparing to unpack …/31-libitm1_10.3.0-1ubuntu1~20.04_amd64.deb … Unpacking libitm1:amd64 (10.3.0-1ubuntu1~20.04) … Selecting previously unselected package libatomic1:amd64. Preparing to unpack …/32-libatomic1_10.3.0-1ubuntu1~20.04_amd64.deb … Unpacking libatomic1:amd64 (10.3.0-1ubuntu1~20.04) … Selecting previously unselected package libasan5:amd64. Preparing to unpack …/33-libasan5_9.3.0-17ubuntu1~20.04_amd64.deb … Unpacking libasan5:amd64 (9.3.0-17ubuntu1~20.04) … Selecting previously unselected package liblsan0:amd64. Preparing to unpack …/34-liblsan0_10.3.0-1ubuntu1~20.04_amd64.deb … Unpacking liblsan0:amd64 (10.3.0-1ubuntu1~20.04) … Selecting previously unselected package libtsan0:amd64. Preparing to unpack …/35-libtsan0_10.3.0-1ubuntu1~20.04_amd64.deb … Unpacking libtsan0:amd64 (10.3.0-1ubuntu1~20.04) … Selecting previously unselected package libubsan1:amd64. Preparing to unpack …/36-libubsan1_10.3.0-1ubuntu1~20.04_amd64.deb … Unpacking libubsan1:amd64 (10.3.0-1ubuntu1~20.04) … Selecting previously unselected package libquadmath0:amd64. Preparing to unpack …/37-libquadmath0_10.3.0-1ubuntu1~20.04_amd64.deb … Unpacking libquadmath0:amd64 (10.3.0-1ubuntu1~20.04) … Selecting previously unselected package libgcc-9-dev:amd64. Preparing to unpack …/38-libgcc-9-dev_9.3.0-17ubuntu1~20.04_amd64.deb … Unpacking libgcc-9-dev:amd64 (9.3.0-17ubuntu1~20.04) … Selecting previously unselected package gcc-9. Preparing to unpack …/39-gcc-9_9.3.0-17ubuntu1~20.04_amd64.deb … Unpacking gcc-9 (9.3.0-17ubuntu1~20.04) … Selecting previously unselected package gcc. Preparing to unpack …/40-gcc_4%3a9.3.0-1ubuntu2_amd64.deb … Unpacking gcc (4:9.3.0-1ubuntu2) … Selecting previously unselected package libstdc++-9-dev:amd64. Preparing to unpack …/41-libstdc++-9-dev_9.3.0-17ubuntu1~20.04_amd64.deb … Unpacking libstdc++-9-dev:amd64 (9.3.0-17ubuntu1~20.04) … Selecting previously unselected package g++-9. Preparing to unpack …/42-g++-9_9.3.0-17ubuntu1~20.04_amd64.deb … Unpacking g++-9 (9.3.0-17ubuntu1~20.04) … Selecting previously unselected package g++. Preparing to unpack …/43-g++_4%3a9.3.0-1ubuntu2_amd64.deb … Unpacking g++ (4:9.3.0-1ubuntu2) … Selecting previously unselected package make. Preparing to unpack …/44-make_4.2.1-1.2_amd64.deb … Unpacking make (4.2.1-1.2) … Selecting previously unselected package libdpkg-perl. Preparing to unpack …/45-libdpkg-perl_1.19.7ubuntu3_all.deb … Unpacking libdpkg-perl (1.19.7ubuntu3) … Selecting previously unselected package patch. Preparing to unpack …/46-patch_2.7.6-6_amd64.deb … Unpacking patch (2.7.6-6) … Selecting previously unselected package dpkg-dev. Preparing to unpack …/47-dpkg-dev_1.19.7ubuntu3_all.deb … Unpacking dpkg-dev (1.19.7ubuntu3) … Selecting previously unselected package build-essential. Preparing to unpack …/48-build-essential_12.8ubuntu1.1_amd64.deb … Unpacking build-essential (12.8ubuntu1.1) … Selecting previously unselected package libassuan0:amd64. Preparing to unpack …/49-libassuan0_2.5.3-7ubuntu2_amd64.deb … Unpacking libassuan0:amd64 (2.5.3-7ubuntu2) … Selecting previously unselected package gpgconf. Preparing to unpack …/50-gpgconf_2.2.19-3ubuntu2.1_amd64.deb … Unpacking gpgconf (2.2.19-3ubuntu2.1) … Selecting previously unselected package libksba8:amd64. Preparing to unpack …/51-libksba8_1.3.5-2_amd64.deb … Unpacking libksba8:amd64 (1.3.5-2) … Selecting previously unselected package libroken18-heimdal:amd64. Preparing to unpack …/52-libroken18-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb … Unpacking libroken18-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Selecting previously unselected package libasn1-8-heimdal:amd64. Preparing to unpack …/53-libasn1-8-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb … Unpacking libasn1-8-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Selecting previously unselected package libheimbase1-heimdal:amd64. Preparing to unpack …/54-libheimbase1-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb … Unpacking libheimbase1-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Selecting previously unselected package libhcrypto4-heimdal:amd64. Preparing to unpack …/55-libhcrypto4-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb … Unpacking libhcrypto4-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Selecting previously unselected package libwind0-heimdal:amd64. Preparing to unpack …/56-libwind0-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb … Unpacking libwind0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Selecting previously unselected package libhx509-5-heimdal:amd64. Preparing to unpack …/57-libhx509-5-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb … Unpacking libhx509-5-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Selecting previously unselected package libkrb5-26-heimdal:amd64. Preparing to unpack …/58-libkrb5-26-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb … Unpacking libkrb5-26-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Selecting previously unselected package libheimntlm0-heimdal:amd64. Preparing to unpack …/59-libheimntlm0-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb … Unpacking libheimntlm0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Selecting previously unselected package libgssapi3-heimdal:amd64. Preparing to unpack …/60-libgssapi3-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb … Unpacking libgssapi3-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Selecting previously unselected package libsasl2-modules-db:amd64. Preparing to unpack …/61-libsasl2-modules-db_2.1.27+dfsg-2_amd64.deb … Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-2) … Selecting previously unselected package libsasl2-2:amd64. Preparing to unpack …/62-libsasl2-2_2.1.27+dfsg-2_amd64.deb … Unpacking libsasl2-2:amd64 (2.1.27+dfsg-2) … Selecting previously unselected package libldap-common. Preparing to unpack …/63-libldap-common_2.4.49+dfsg-2ubuntu1.8_all.deb … Unpacking libldap-common (2.4.49+dfsg-2ubuntu1.8) … Selecting previously unselected package libldap-2.4-2:amd64. Preparing to unpack …/64-libldap-2.4-2_2.4.49+dfsg-2ubuntu1.8_amd64.deb … Unpacking libldap-2.4-2:amd64 (2.4.49+dfsg-2ubuntu1.8) … Selecting previously unselected package libnpth0:amd64. Preparing to unpack …/65-libnpth0_1.6-1_amd64.deb … Unpacking libnpth0:amd64 (1.6-1) … Selecting previously unselected package dirmngr. Preparing to unpack …/66-dirmngr_2.2.19-3ubuntu2.1_amd64.deb … Unpacking dirmngr (2.2.19-3ubuntu2.1) … Selecting previously unselected package libfakeroot:amd64. Preparing to unpack …/67-libfakeroot_1.24-1_amd64.deb … Unpacking libfakeroot:amd64 (1.24-1) … Selecting previously unselected package fakeroot. Preparing to unpack …/68-fakeroot_1.24-1_amd64.deb … Unpacking fakeroot (1.24-1) … Selecting previously unselected package gnupg-l10n. Preparing to unpack …/69-gnupg-l10n_2.2.19-3ubuntu2.1_all.deb … Unpacking gnupg-l10n (2.2.19-3ubuntu2.1) … Selecting previously unselected package gnupg-utils. Preparing to unpack …/70-gnupg-utils_2.2.19-3ubuntu2.1_amd64.deb … Unpacking gnupg-utils (2.2.19-3ubuntu2.1) … Selecting previously unselected package gpg. Preparing to unpack …/71-gpg_2.2.19-3ubuntu2.1_amd64.deb … Unpacking gpg (2.2.19-3ubuntu2.1) … Selecting previously unselected package pinentry-curses. Preparing to unpack …/72-pinentry-curses_1.1.0-3build1_amd64.deb … Unpacking pinentry-curses (1.1.0-3build1) … Selecting previously unselected package gpg-agent. Preparing to unpack …/73-gpg-agent_2.2.19-3ubuntu2.1_amd64.deb … Unpacking gpg-agent (2.2.19-3ubuntu2.1) … Selecting previously unselected package gpg-wks-client. Preparing to unpack …/74-gpg-wks-client_2.2.19-3ubuntu2.1_amd64.deb … Unpacking gpg-wks-client (2.2.19-3ubuntu2.1) … Selecting previously unselected package gpg-wks-server. Preparing to unpack …/75-gpg-wks-server_2.2.19-3ubuntu2.1_amd64.deb … Unpacking gpg-wks-server (2.2.19-3ubuntu2.1) … Selecting previously unselected package gpgsm. Preparing to unpack …/76-gpgsm_2.2.19-3ubuntu2.1_amd64.deb … Unpacking gpgsm (2.2.19-3ubuntu2.1) … Selecting previously unselected package gnupg. Preparing to unpack …/77-gnupg_2.2.19-3ubuntu2.1_all.deb … Unpacking gnupg (2.2.19-3ubuntu2.1) … Selecting previously unselected package libalgorithm-diff-perl. Preparing to unpack …/78-libalgorithm-diff-perl_1.19.03-2_all.deb … Unpacking libalgorithm-diff-perl (1.19.03-2) … Selecting previously unselected package libalgorithm-diff-xs-perl. Preparing to unpack …/79-libalgorithm-diff-xs-perl_0.04-6_amd64.deb … Unpacking libalgorithm-diff-xs-perl (0.04-6) … Selecting previously unselected package libalgorithm-merge-perl. Preparing to unpack …/80-libalgorithm-merge-perl_0.08-3_all.deb … Unpacking libalgorithm-merge-perl (0.08-3) … Selecting previously unselected package libfile-fcntllock-perl. Preparing to unpack …/81-libfile-fcntllock-perl_0.22-3build4_amd64.deb … Unpacking libfile-fcntllock-perl (0.22-3build4) … Selecting previously unselected package libsasl2-modules:amd64. Preparing to unpack …/82-libsasl2-modules_2.1.27+dfsg-2_amd64.deb … Unpacking libsasl2-modules:amd64 (2.1.27+dfsg-2) … Selecting previously unselected package manpages-dev. Preparing to unpack …/83-manpages-dev_5.05-1_all.deb … Unpacking manpages-dev (5.05-1) … Setting up libksba8:amd64 (1.3.5-2) … Setting up perl-modules-5.30 (5.30.0-9ubuntu0.2) … Setting up manpages (5.05-1) … Setting up libssl1.1:amd64 (1.1.1f-1ubuntu2.8) … debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline Setting up libsqlite3-0:amd64 (3.31.1-4ubuntu0.2) … Setting up libsasl2-modules:amd64 (2.1.27+dfsg-2) … Setting up binutils-common:amd64 (2.34-6ubuntu1.1) … Setting up linux-libc-dev:amd64 (5.4.0-88.99) … Setting up libctf-nobfd0:amd64 (2.34-6ubuntu1.1) … Setting up libnpth0:amd64 (1.6-1) … Setting up libassuan0:amd64 (2.5.3-7ubuntu2) … Setting up libgomp1:amd64 (10.3.0-1ubuntu1~20.04) … Setting up libldap-common (2.4.49+dfsg-2ubuntu1.8) … Setting up libfakeroot:amd64 (1.24-1) … Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-2) … Setting up fakeroot (1.24-1) … update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/fakeroot.1.gz because associated file /usr/share/man/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/man1/faked.1.gz because associated file /usr/share/man/man1/faked-sysv.1.gz (of link group fakeroot) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/es/man1/fakeroot.1.gz because associated file /usr/share/man/es/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/es/man1/faked.1.gz because associated file /usr/share/man/es/man1/faked-sysv.1.gz (of link group fakeroot) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/fr/man1/fakeroot.1.gz because associated file /usr/share/man/fr/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/fr/man1/faked.1.gz because associated file /usr/share/man/fr/man1/faked-sysv.1.gz (of link group fakeroot) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/sv/man1/fakeroot.1.gz because associated file /usr/share/man/sv/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/sv/man1/faked.1.gz because associated file /usr/share/man/sv/man1/faked-sysv.1.gz (of link group fakeroot) doesn’t exist Setting up make (4.2.1-1.2) … Setting up libmpfr6:amd64 (4.0.2-1) … Setting up gnupg-l10n (2.2.19-3ubuntu2.1) … Setting up xz-utils (5.2.4-1ubuntu1) … update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/lzma.1.gz because associated file /usr/share/man/man1/xz.1.gz (of link group lzma) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/man1/unlzma.1.gz because associated file /usr/share/man/man1/unxz.1.gz (of link group lzma) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzcat.1.gz because associated file /usr/share/man/man1/xzcat.1.gz (of link group lzma) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzmore.1.gz because associated file /usr/share/man/man1/xzmore.1.gz (of link group lzma) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzless.1.gz because associated file /usr/share/man/man1/xzless.1.gz (of link group lzma) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzdiff.1.gz because associated file /usr/share/man/man1/xzdiff.1.gz (of link group lzma) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzcmp.1.gz because associated file /usr/share/man/man1/xzcmp.1.gz (of link group lzma) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzgrep.1.gz because associated file /usr/share/man/man1/xzgrep.1.gz (of link group lzma) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzegrep.1.gz because associated file /usr/share/man/man1/xzegrep.1.gz (of link group lzma) doesn’t exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzfgrep.1.gz because associated file /usr/share/man/man1/xzfgrep.1.gz (of link group lzma) doesn’t exist Setting up libquadmath0:amd64 (10.3.0-1ubuntu1~20.04) … Setting up libmpc3:amd64 (1.1.0-1) … Setting up libatomic1:amd64 (10.3.0-1ubuntu1~20.04) … Setting up patch (2.7.6-6) … Setting up libsasl2-2:amd64 (2.1.27+dfsg-2) … Setting up libroken18-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Setting up libubsan1:amd64 (10.3.0-1ubuntu1~20.04) … Setting up libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) … Setting up libisl22:amd64 (0.22.1-1) … Setting up netbase (6.1) … Setting up libbinutils:amd64 (2.34-6ubuntu1.1) … Setting up libc-dev-bin (2.31-0ubuntu9.2) … Setting up readline-common (8.0-4) … Setting up libcc1-0:amd64 (10.3.0-1ubuntu1~20.04) … Setting up liblocale-gettext-perl (1.07-4) … Setting up liblsan0:amd64 (10.3.0-1ubuntu1~20.04) … Setting up libitm1:amd64 (10.3.0-1ubuntu1~20.04) … Setting up libheimbase1-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Setting up libgdbm6:amd64 (1.18.1-5) … Setting up gcc-9-base:amd64 (9.3.0-17ubuntu1~20.04) … Setting up libtsan0:amd64 (10.3.0-1ubuntu1~20.04) … Setting up libctf0:amd64 (2.34-6ubuntu1.1) … Setting up pinentry-curses (1.1.0-3build1) … Setting up manpages-dev (5.05-1) … Setting up libasn1-8-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Setting up libreadline8:amd64 (8.0-4) … Setting up libhcrypto4-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Setting up libasan5:amd64 (9.3.0-17ubuntu1~20.04) … Setting up libwind0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Setting up libgdbm-compat4:amd64 (1.18.1-5) … Setting up gpgconf (2.2.19-3ubuntu2.1) … Setting up cpp-9 (9.3.0-17ubuntu1~20.04) … Setting up libperl5.30:amd64 (5.30.0-9ubuntu0.2) … Setting up libc6-dev:amd64 (2.31-0ubuntu9.2) … Setting up gpg (2.2.19-3ubuntu2.1) … Setting up gnupg-utils (2.2.19-3ubuntu2.1) … Setting up binutils-x86-64-linux-gnu (2.34-6ubuntu1.1) … Setting up gpg-agent (2.2.19-3ubuntu2.1) … Setting up libhx509-5-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Setting up gpgsm (2.2.19-3ubuntu2.1) … Setting up binutils (2.34-6ubuntu1.1) … Setting up libgcc-9-dev:amd64 (9.3.0-17ubuntu1~20.04) … Setting up perl (5.30.0-9ubuntu0.2) … Setting up libdpkg-perl (1.19.7ubuntu3) … Setting up gpg-wks-server (2.2.19-3ubuntu2.1) … Setting up cpp (4:9.3.0-1ubuntu2) … Setting up libkrb5-26-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Setting up gcc-9 (9.3.0-17ubuntu1~20.04) … Setting up libstdc++-9-dev:amd64 (9.3.0-17ubuntu1~20.04) … Setting up libfile-fcntllock-perl (0.22-3build4) … Setting up libalgorithm-diff-perl (1.19.03-2) … Setting up libheimntlm0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Setting up gcc (4:9.3.0-1ubuntu2) … Setting up dpkg-dev (1.19.7ubuntu3) … Setting up libgssapi3-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) … Setting up g++-9 (9.3.0-17ubuntu1~20.04) … Setting up g++ (4:9.3.0-1ubuntu2) … update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/c++.1.gz because associated file /usr/share/man/man1/g++.1.gz (of link group c++) doesn’t exist Setting up build-essential (12.8ubuntu1.1) … Setting up libalgorithm-diff-xs-perl (0.04-6) … Setting up libalgorithm-merge-perl (0.08-3) … Setting up libldap-2.4-2:amd64 (2.4.49+dfsg-2ubuntu1.8) … Setting up dirmngr (2.2.19-3ubuntu2.1) … Setting up gpg-wks-client (2.2.19-3ubuntu2.1) … Setting up gnupg (2.2.19-3ubuntu2.1) … Processing triggers for libc-bin (2.31-0ubuntu9.2) … root@srv:~# apt install -y gcc-10 g++-10 cpp-10 Reading package lists… Done Building dependency tree Reading state information… Done The following additional packages will be installed: libasan6 libgcc-10-dev libstdc++-10-dev Suggested packages: gcc-10-locales g++-10-multilib gcc-10-doc gcc-10-multilib libstdc++-10-doc The following NEW packages will be installed: cpp-10 g++-10 gcc-10 libasan6 libgcc-10-dev libstdc++-10-dev 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 42.1 MB of archives. After this operation, 151 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 cpp-10 amd64 10.3.0-1ubuntu1~20.04 [8610 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libasan6 amd64 10.3.0-1ubuntu1~20.04 [2062 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgcc-10-dev amd64 10.3.0-1ubuntu1~20.04 [2342 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 gcc-10 amd64 10.3.0-1ubuntu1~20.04 [17.5 MB] Get:5 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libstdc++-10-dev amd64 10.3.0-1ubuntu1~20.04 [1759 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 g++-10 amd64 10.3.0-1ubuntu1~20.04 [9803 kB] Fetched 42.1 MB in 4s (10.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package cpp-10. (Reading database … 12414 files and directories currently installed.) Preparing to unpack …/0-cpp-10_10.3.0-1ubuntu1~20.04_amd64.deb … Unpacking cpp-10 (10.3.0-1ubuntu1~20.04) … Selecting previously unselected package libasan6:amd64. Preparing to unpack …/1-libasan6_10.3.0-1ubuntu1~20.04_amd64.deb … Unpacking libasan6:amd64 (10.3.0-1ubuntu1~20.04) … Selecting previously unselected package libgcc-10-dev:amd64. Preparing to unpack …/2-libgcc-10-dev_10.3.0-1ubuntu1~20.04_amd64.deb … Unpacking libgcc-10-dev:amd64 (10.3.0-1ubuntu1~20.04) … Selecting previously unselected package gcc-10. Preparing to unpack …/3-gcc-10_10.3.0-1ubuntu1~20.04_amd64.deb … Unpacking gcc-10 (10.3.0-1ubuntu1~20.04) … Selecting previously unselected package libstdc++-10-dev:amd64. Preparing to unpack …/4-libstdc++-10-dev_10.3.0-1ubuntu1~20.04_amd64.deb … Unpacking libstdc++-10-dev:amd64 (10.3.0-1ubuntu1~20.04) … Selecting previously unselected package g++-10. Preparing to unpack …/5-g++-10_10.3.0-1ubuntu1~20.04_amd64.deb … Unpacking g++-10 (10.3.0-1ubuntu1~20.04) … Setting up libasan6:amd64 (10.3.0-1ubuntu1~20.04) … Setting up cpp-10 (10.3.0-1ubuntu1~20.04) … Setting up libgcc-10-dev:amd64 (10.3.0-1ubuntu1~20.04) … Setting up gcc-10 (10.3.0-1ubuntu1~20.04) … Setting up libstdc++-10-dev:amd64 (10.3.0-1ubuntu1~20.04) … Setting up g++-10 (10.3.0-1ubuntu1~20.04) … Processing triggers for libc-bin (2.31-0ubuntu9.2) … root@srv:~# update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-10 100 –slave /usr/bin/g++ g++ /usr/bin/g++-10 –slave /usr/bin/gcov gcov /usr/bin/gcov-10 update-alternatives: using /usr/bin/gcc-10 to provide /usr/bin/gcc (gcc) in auto mode root@srv:~# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v –with-pkgversion=’Ubuntu 10.3.0-1ubuntu1~20.04′ –with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs –enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 –prefix=/usr –with-gcc-major-version-only –program-suffix=-10 –program-prefix=x86_64-linux-gnu- –enable-shared –enable-linker-build-id –libexecdir=/usr/lib –without-included-gettext –enable-threads=posix –libdir=/usr/lib –enable-nls –enable-bootstrap –enable-clocale=gnu –enable-libstdcxx-debug –enable-libstdcxx-time=yes –with-default-libstdcxx-abi=new –enable-gnu-unique-object –disable-vtable-verify –enable-plugin –enable-default-pie –with-system-zlib –enable-libphobos-checking=release –with-target-system-zlib=auto –enable-objc-gc=auto –enable-multiarch –disable-werror –with-arch-32=i686 –with-abi=m64 –with-multilib-list=m32,m64,mx32 –enable-multilib –with-tune=generic –enable-offload-targets=nvptx-none=/build/gcc-10-S4I5Pr/gcc-10-10.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-10-S4I5Pr/gcc-10-10.3.0/debian/tmp-gcn/usr,hsa –without-cuda-driver –enable-checking=release –build=x86_64-linux-gnu –host=x86_64-linux-gnu –target=x86_64-linux-gnu –with-build-config=bootstrap-lto-lean –enable-link-mutex Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.3.0 (Ubuntu 10.3.0-1ubuntu1~20.04) root@srv:~# c++ -v Using built-in specs. COLLECT_GCC=c++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v –with-pkgversion=’Ubuntu 10.3.0-1ubuntu1~20.04′ –with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs –enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 –prefix=/usr –with-gcc-major-version-only –program-suffix=-10 –program-prefix=x86_64-linux-gnu- –enable-shared –enable-linker-build-id –libexecdir=/usr/lib –without-included-gettext –enable-threads=posix –libdir=/usr/lib –enable-nls –enable-bootstrap –enable-clocale=gnu –enable-libstdcxx-debug –enable-libstdcxx-time=yes –with-default-libstdcxx-abi=new –enable-gnu-unique-object –disable-vtable-verify –enable-plugin –enable-default-pie –with-system-zlib –enable-libphobos-checking=release –with-target-system-zlib=auto –enable-objc-gc=auto –enable-multiarch –disable-werror –with-arch-32=i686 –with-abi=m64 –with-multilib-list=m32,m64,mx32 –enable-multilib –with-tune=generic –enable-offload-targets=nvptx-none=/build/gcc-10-S4I5Pr/gcc-10-10.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-10-S4I5Pr/gcc-10-10.3.0/debian/tmp-gcn/usr,hsa –without-cuda-driver –enable-checking=release –build=x86_64-linux-gnu –host=x86_64-linux-gnu –target=x86_64-linux-gnu –with-build-config=bootstrap-lto-lean –enable-link-mutex Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.3.0 (Ubuntu 10.3.0-1ubuntu1~20.04) root@srv:~# g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v –with-pkgversion=’Ubuntu 10.3.0-1ubuntu1~20.04′ –with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs –enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 –prefix=/usr –with-gcc-major-version-only –program-suffix=-10 –program-prefix=x86_64-linux-gnu- –enable-shared –enable-linker-build-id –libexecdir=/usr/lib –without-included-gettext –enable-threads=posix –libdir=/usr/lib –enable-nls –enable-bootstrap –enable-clocale=gnu –enable-libstdcxx-debug –enable-libstdcxx-time=yes –with-default-libstdcxx-abi=new –enable-gnu-unique-object –disable-vtable-verify –enable-plugin –enable-default-pie –with-system-zlib –enable-libphobos-checking=release –with-target-system-zlib=auto –enable-objc-gc=auto –enable-multiarch –disable-werror –with-arch-32=i686 –with-abi=m64 –with-multilib-list=m32,m64,mx32 –enable-multilib –with-tune=generic –enable-offload-targets=nvptx-none=/build/gcc-10-S4I5Pr/gcc-10-10.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-10-S4I5Pr/gcc-10-10.3.0/debian/tmp-gcn/usr,hsa –without-cuda-driver –enable-checking=release –build=x86_64-linux-gnu –host=x86_64-linux-gnu –target=x86_64-linux-gnu –with-build-config=bootstrap-lto-lean –enable-link-mutex Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.3.0 (Ubuntu 10.3.0-1ubuntu1~20.04)

Hướng dẫn cài đặt GCC trên Ubuntu 20.04

Giới thiệu

GNU Compiler Collection (GCC) là một tập hợp các trình biên dịch và thư viện cho các ngôn ngữ lập trình C, C ++, Objective-C, Fortran, Ada, Go và rất nhiều dự án mã nguồn mở, bao gồm hạt nhân (kernel) của Linux và các công cụ GNU được biên dịch bằng GCC.

Trong bài viết này, chúng tôi sẽ hướng dẫn cho bạn cách để cài đặt GCC trên Ubuntu 20.04.

Cài đặt GCC trên Ubuntu 20.04

Các kho lưu trữ mặc định của Ubuntu chứa một gói meta có tên là “build-essential” bao gồm bộ sưu tập trình biên dịch GNU, trình gỡ lỗi GNU, các thư viện phát triển khác và các công cụ cần thiết để biên dịch phần mềm. Ngoài ra, kho lưu trữ repository của Ubuntu 20.04 cung cấp mặc định cho người dùng phiên bản GCC 9.3.0.

Để cài đặt GCC trên Ubuntu 20.04, bạn hãy sử dụng câu lệnh bên dưới với người dùng root hoặc người dùng có đặc quyền sudo.

sudo apt update sudo apt install build-essential

Lệnh trên sẽ thực hiện cài đặt rất nhiều gói, bao gồm gcc, g ++ và make.

Bạn có thể kiểm tra xem trình biên dịch GCC đã được cài đặt thành công hay không bằng cách chạy lệnh sau để in phiên bản GCC

Cài đặt đa phiên bản GCC trên Ubuntu 20.04

Ở mục này, chúng tôi sẽ cung cấp hướng dẫn về cách cài đặt và sử dụng nhiều phiên bản GCC trên Ubuntu 20.04.

Các phiên bản mới hơn của trình biên dịch GCC bao gồm các chức năng mới và cải tiến tối ưu hóa.

Để cài đặt đa phiên bản GCC trên Ubuntu 20.04, bạn hãy sử dụng câu lệnh sau với người dùng root hoặc người dùng có đặc quyền sudo.

apt install gcc-8 g++-8 gcc-9 g++-9 gcc-10 g++-10

Sau đó chúng tôi sẽ thực hiện cấu hình mức độ ưu tiên và cho phép lựa chọn các phiên bản GCC đã cài đặt trên máy chủ Ubuntu 20.04 bằng cách sử dụng các câu lệnh sau.

# GCC ver 10 sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-10 100 –slave /usr/bin/g++ g++ /usr/bin/g++-10 –slave /usr/bin/gcov gcov /usr/bin/gcov-10 # GCC ver 9 sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-9 90 –slave /usr/bin/g++ g++ /usr/bin/g++-9 –slave /usr/bin/gcov gcov /usr/bin/gcov-9 # GCC ver 8 sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-8 80 –slave /usr/bin/g++ g++ /usr/bin/g++-8 –slave /usr/bin/gcov gcov /usr/bin/gcov-8

Phiên bản mặc định là phiên bản có mức độ ưu tiên cao nhất trong câu lệnh trên sẽ là phiên bản gcc 10. Bạn có thể thay đổi từng phiên bản bằng cách sử dụng lệnh sau:

update-alternatives –config gcc

Bạn sẽ thấy danh sách tất cả các phiên bản GCC đã cài đặt trên hệ thống Ubuntu của bạn. Nhập số phiên bản bạn muốn sử dụng làm mặc định và nhấn Enter.

Lệnh sẽ tạo các liên kết tượng trưng (symbolic link) đến các phiên bản cụ thể của GCC và G ++.

Tổng kết

Chúng tôi đã hướng dẫn bạn cách cài đặt GCC trên Ubuntu 20.04. Bạn có thể truy cập trang Tài liệu GCC chính thức để tham khảo và tìm hiểu cách sử dụng GCC và G ++ để biên dịch cho các chương trình C và C ++ của mình.

Trong trường hợp bạn cần thêm các thông tin về dịch vụ hoặc các hướng dẫn sử dụng, bạn có thể xem thêm về các hướng dẫn, tips, cài đặt và các vấn đề liên quan đến bảo mật tại đây.

Nếu bạn có bất kỳ câu hỏi hoặc phản hồi nào, đừng ngại bình luận bên dưới.

Install gcc 11 on Ubuntu 20.04

The gcc is a compiler of the GNU Compiler Collection (GCC). The gcc compiler is mainly used to compile C programs.

This tutorial demonstrates how to install gcc 11 on Ubuntu 20.04.

Install gcc

Run the following command to add the Toolchain repository:

sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test

Install gcc 11:

sudo apt install -y gcc-11

Check gcc version to verify that the installation completed successfully:

gcc-11 –version

Testing gcc

Create a main.c file:

nano main.c

Add the following code:

#include int main() { printf(“Hello world

“); return 0; }

Compile a code:

gcc-11 main.c -o test

Run a program:

./test

Uninstall gcc

If you want to completely remove gcc and related dependencies, run the following command:

sudo apt purge –autoremove -y gcc-11

Remove GPG key and repository:

How to install GCC on Ubuntu 22.04

GCC aka GNU Compiler Collection is a set of development tools and compilers. These compilers/tools can be used on platforms such as Windows, Linux, BSDs, and many other operating systems.

GCC can be used to compile many programming languages such as C, Objective C, C++, D, Go, Ada, and Fortran. This software is completely free and was originally developed by Free Software Foundation aka FSF.

Here we have guided you step-by-step on the procedure of installing GCC on the latest release of Ubuntu which is Ubuntu 22.04.

How to install GCC on Ubuntu 22.04

If you wish to install GCC on Ubuntu 22.04 then consult the guide provided below.

Step 1: Update the system

Before installing GCC, update your Ubuntu 22.04 by running the following command. This is done to make sure all the relevant packages are updated so that any conflict does not occur.

$ sudo apt update

Output

Step 2: Install GCC

Afterward, it is recommended to install the build-essential package that consists of packages of GCC and many other applications.

$ sudo apt install build-essential

Output

Step 3: Evaluate Installation

Now to verify the successful installation of GCC evaluate the C compiler version through the following command.

$ gcc –version

Output

Step 4: Create a C program

Once installed, verify if the compiler is working properly or not by creating a simple C program. For instance, below we have created a simple hello world C program in nano editor and saved the file as helloworld.c.

Save this file and convert this into an executable one.

$ gcc -o helloworld helloworld.c

This command will generate a binary file by the name “helloworld” in the same directory. Now you have to execute the program using the below-mentioned command.

$ . / helloworld

Output

The C program was executed successfully.

Voila! GCC has been successfully installed on Ubuntu 22.04.

Conclusion

For the purpose of installing GCC on Ubuntu 22.04, first update it by using the command $ sudo apt update then install the build-essential package that contains the GCC package through the command $ sudo apt install build-essential. Then use the $ gcc –version command to verify the successful installation of GCC. Lastly, make a simple C program and compile and execute this program using these commands; $ gcc -o filename filename.c, and $ ./filename.

How to install latest gcc on Ubuntu LTS (12.04, 14.04, 16.04)

What would you like to do?

Embed Embed this gist in your website. Share Copy sharable link for this gist. Clone via HTTPS Clone with Git or checkout with SVN using the repository’s web address.

Install GCC (build-essential) on Ubuntu 20.04 LTS

GCC, better known as The GNU Compiler Collection, is a set of compilers, development tools, and front ends such as C, C++, Objective-C, Fortran, Ada, Go, and D. GCC is open-source and is widely used as it was the original compiler for GNU and currently is in use to compile the Linux Kernel along with many other projects.

In the following tutorial, you will learn how to install GCC on Ubuntu 20.04 LTS Focal Fossa desktop or server.

Prerequisites

Recommended OS: Ubuntu 20.04.

Ubuntu 20.04. User account: A user account with sudo or root access.

The tutorial will utilize the terminal interface, which can be found in the show applications menu.

Example:

Update Operating System

Update your Ubuntu operating system to make sure all existing packages are up to date:

sudo apt update && sudo apt upgrade -y

The tutorial will be using the sudo command and assuming you have sudo status.

To verify sudo status on your account:

sudo whoami

Example output showing sudo status:

[joshua@ubuntu ~]$ sudo whoami root

To set up an existing or new sudo account, visit our tutorial on How to Add a User to Sudoers on Ubuntu.

Use the following command with the root password to log in to use the root account.

su

Option 1 – Install GCC with APT – Ubuntu Repository

The first recommended option to install GCC is to install the build-essential package containing GCC and many other application packages such as make.

To begin the installation, use the following command.

sudo apt install build-essential

Example output:

Type Y, then press the ENTER KEY to proceed.

Once installed, verify the installation and check the version using the following command.

gcc –version

Example output:

gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0

Option 2 – Install Latest GCC with APT – Toolchain PPA

The second option is to install the Toolchain PPA, which contains the latest versions of GCC.

To import the PPA, use the following command.

sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y

For users that have installed the build-essential package, you can run an update and upgrade.

sudo apt update && sudo apt upgrade

For users who need to install for the first time, run the same command as option 1.

sudo apt install build-essential

Install & Configure Multiple Versions

For developers and specific users, you may require multiple versions installed of GCC.

First, install the versions you require, or install four versions of GCC along with G++.

Example:

sudo apt install gcc-8 g++-8 gcc-9 g++-9 gcc-10 g++-10 gcc-11 g++-11

Once installed, you can use the update-alternatives command to configure the priority of each version. The default version used on your system will be the highest priority.

Below is an example of setting all 4 with a priority split, with GCC-11 being the highest set at priority 100.

sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-11 100 –slave /usr/bin/g++ g++ /usr/bin/g++-11 –slave /usr/bin/gcov gcov /usr/bin/gcov-11 sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-10 80 –slave /usr/bin/g++ g++ /usr/bin/g++-10 –slave /usr/bin/gcov gcov /usr/bin/gcov-10 sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-9 60 –slave /usr/bin/g++ g++ /usr/bin/g++-9 –slave /usr/bin/gcov gcov /usr/bin/gcov-9 sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-8 40 –slave /usr/bin/g++ g++ /usr/bin/g++-8 –slave /usr/bin/gcov gcov /usr/bin/gcov-8

Confirm GCC-11 is now the default version of your system.

gcc –version

Example output:

gcc (Ubuntu 11.1.0-1ubuntu1~20.04) 11.1.0

The default GCC version set on your system can be re-configured. Use the following command first to list the priority.

sudo update-alternatives –config gcc

Example output:

As above, you need to enter the number of the version corresponding to the list you would like to switch to.

For example, switching from GCC-11 to GCC-10, just type 2 and press the ENTER KEY.

Confirm the version switch has occurred successfully using the –version command.

gcc –version

Example output:

gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0

Compile a Hello World Example

Test compiling with GCC, create the famous “Hello World” in a C program using any text editor, the tutorial will use nano.

nano hello.c

Next, add the following.

#include int main() { printf(“Hello, World from Linuxcapable.com!”); return 0; }

Save the file, CTRL+O, then exit CTRL+X.

Compile the Hello World test using the following command.

gcc hello.c -o hello

Next, run the hello compiled program.

./hello

Example output:

Hello, World from Linuxcapable.com!

A handy package to install is the manual pages (man page). This will help you with using GNU by providing documentation on your system.

Use the following command to install the manpages-dev package. By default, this should be installed on most Ubuntu systems.

sudo apt-get install manpages-dev

Once installed, use the following command to bring up the options.

man -h

In the tutorial, you have learned how to install GCC, along with a PPA option for newer GCC alternatives and how to switch between versions on Ubuntu 20.04 LTS Focal Fossa.

For further reading and information, visit the GCC official documentation.

키워드에 대한 정보 ubuntu gcc update

다음은 Bing에서 ubuntu gcc update 주제에 대한 검색 결과입니다. 필요한 경우 더 읽을 수 있습니다.

이 기사는 인터넷의 다양한 출처에서 편집되었습니다. 이 기사가 유용했기를 바랍니다. 이 기사가 유용하다고 생각되면 공유하십시오. 매우 감사합니다!

사람들이 주제에 대해 자주 검색하는 키워드 Upgrade gcc and g++ in Ubuntu

  • 동영상
  • 공유
  • 카메라폰
  • 동영상폰
  • 무료
  • 올리기

Upgrade #gcc #and #g++ #in #Ubuntu


YouTube에서 ubuntu gcc update 주제의 다른 동영상 보기

주제에 대한 기사를 시청해 주셔서 감사합니다 Upgrade gcc and g++ in Ubuntu | ubuntu gcc update, 이 기사가 유용하다고 생각되면 공유하십시오, 매우 감사합니다.

See also  당황 하다 영어 로 | 80% 한국인이 어려워하는 영어표현 | ‘당황하다’ 답을 믿으세요

Leave a Reply

Your email address will not be published. Required fields are marked *