Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install gcc programming tools in ubuntu system

2025-03-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "how to install gcc programming tools in ubuntu system". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

1. Open your computer, and then open the terminal. If there is a shortcut on the desktop, just open it directly. If not, you can press the Ctrl+Alt+T key combination on the keyboard.

2. After that, you can install it, because you have to download the file, so you must connect to the network and install it automatically. after installation, it is shown in the following figure.

3. If the system does not have the editing tool of vim, it can be installed as follows, and it can be installed soon, as shown below:

4. Then write a .c file in the home directory for testing and write a common hello program, as shown in the following figure.

5. After that, you can compile. Be sure to type it correctly. Sometimes an error in a space may result in not finding the command. The first one in the figure below is the wrong input, and now the correct input.

6. Then enter the run command and you can run it. The results are printed on the terminal.

Note: friends who do not know how to operate can first establish a snapshot, if there is a problem, you can restore it.

This is the end of the content of "how to install gcc programming tools on ubuntu system". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report