C ++ programming environment construction in Ubuntu-general Linux technology-Linux programming and kernel information. The following is a detailed description. Everything is done under the command line
First, make sure that the computer is connected to IOT platform.
Then input it on the terminal (this step is to download the compilation tool required for programming, etc)
Sudo apt-get install build-essential gcc make autoconf automake libtool gdb g ++
If the password appears, enter the password and press Enter.
Select a favorite editor. For emacs, enter
Sudo apt-get install emacs
Or vim (I use it), input
Sudo apt-get install vim
Then I will learn how to use the editor. Here I will steal the lazy and search it myself !~
Let's talk about how to enable the syntax coloring function of vim.
The default syntax coloring function of vim is disabled. You can edit the/etc/vim/vimrc file.
Remove the symbols before syntax on and save them. You can start the syntax coloring function of vim.
Another method is to build an IDE programming environment. I have never tried it. Here I will go through the configuration method.
1) switch to root
Sudo-s-H
2) run the following script to install the anjuta integrated development environment.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service