Build a development environment in Ubuntu

Source: Internet
Author: User
Build a development environment in Ubuntu-general Linux technology-Linux programming and kernel information. The following is a detailed description. 1. Question mark? Basic ??? Environment and some? Helper tools, such as text? N.
Sudo apt-get install manpages-dev
Ann? C/C ++ Man's hand? Yu? @? Cool? R. Why are you not? What is the prototype of the function to be parsed ?? ;? Can you view some include? N case details? Ming.

Sudo apt-get install build-essential
Ann? Gcc, g ++, make, etc.

Sudo apt-get install libc6-dev libstdc ++ 6-4.0-dev
Ann? Include & lib

Sudo apt-get install autoconf automake1.9
Ann? Autoconf automake1.9

Sudo apt-get install binutils-doc cpp-doc gcc-4.0-doc gcc-doc glibc-doc libstdc ++ 6-4.0-doc stl-manual cpp-4.0-doc
Ann? Text? N

2. Construct ??? Hand ?? Is Vi (Emacs too ?? No, I dare not? Get ),?? /Root/. vimrc (if? O here? N case 1 ??), Use the following? Hot Swap? Q.
Set nocompatible
"Set the file browser directory to the current directory
Set bsdir = buffer
"Set autochdir
"Set Encoding
Set enc = UTF-8
"Set file encoding
Set fenc = UTF-8
"Sets the file encoding detection type and supported formats
Set fencs = UTF-8, ucs-bom, gb18030, gbk, gb2312, cp936
"Specify the menu language
Set langmenu = zh_CN.UTF-8
Source $ VIMRUNTIME/delmenu. vim
Source $ VIMRUNTIME/menu. vim
"Set high syntax brightness
Set syn = cpp
"Display row number
Set nu!
"High Brightness Display of search results
Set hlsearch
"Tab width
Set tabstop = 8
Set cindent shiftwidth = 8
Set autoindent shiftwidth = 8
Syntax on
"C/C ++ comments
Set comments = ://
"Corrected the automatic C style annotation function <2005/07/16>
Set comments = s1:/*, mb: *, ex0 :/
"Enhanced search functions
Set tags =./tags,./../tags,./**/tags
"Save File Format
Set fileformats = unix, dos
"Keyboard operations
Map gk
Map gj
"Command Line Height
Set Partition Height = 1
"Chinese help
If version> 603
Set helplang = cn
Endi

3. Construct ??? Hand IDE, Anjuta
Sudo apt-get install anjuta
Sudo apt-get install automake (previously installed ?)
Sudo apt-get install autoconf (previously installed ?)
Sudo apt-get install autogen
Sudo apt-get install indent
Sudo apt-get install libtool
?? Yes? DE already? Ratio? Yes? M foot is used in daily use ?? Eclipse is too busy? And cdt ??
Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.