Home>Article>Operation and Maintenance> What should I do if the installation of gcc on ubuntu fails?

What should I do if the installation of gcc on ubuntu fails?

coldplay.xixi
coldplay.xixi Original
2020-06-19 15:41:28 9811browse

What should I do if the installation of gcc on ubuntu fails?What should I do if the installation of gcc on ubuntu fails?

Solution to the failure of installing gcc on ubuntu:

Step 1: First open the terminal.

Step 2: Enter sudo apt install gcc.

Step 3: Then enter the Ubuntu password.

Step 4: Install build-essential, enter sudo apt install build-essential.

Step 5: Enter gcc --version to check the gcc version.

Recommended tutorial: "linux video tutorial"

The above is the detailed content of What should I do if the installation of gcc on ubuntu fails?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn