(go) Install the development environment under Linux

Source: Internet
Author: User
Tags gtk

I. Development environment for the installation of A/C + + program
1. sudo apt-get install build-essential//install main compilation tool GCC, g++, make
2. Sudo apt-get install autoconf automake1.9
3. Sudo apt-get install Flex bison
4. sudo apt-get install Manpages-dev//install C language function man document
5. Sudo apt-get install binutils-doc cpp-doc gcc-doc glibc-doc stl-manual//Installation related documents

Two. Installing the GNOME Desktop application development environment
1. sudo apt-get install gnome-core-devel//installation core file
2. sudo apt-get install Pkg-config
3. sudo apt-get install devhelp//install GTK document viewer
4. Sudo apt-get install Libglib2.0-doc libgtk2.0-doc//Install API Reference manual and other Help documentation
5. Sudo apt-get instal glade libglade2-dev//Install GTK Interface Construction Program

Three. Installing the Java Development environment
1. sudo apt-get install sun-java6-jdk sun-java6-doc sun-java6-source//install core Development Kit, related documents
2. sudo update-alternatives--config java//usually gives two or more JRE selection paths
Select:/usr/lib/jvm/java-1.5.0-sun/jre/bin/java as your Java Runtime environment
3. sudo vim/etc/environment//config environment variable, add the following two lines:
Classpath=/usr/lib/jvm/java-6-sun/lib
Java_home=/usr/lib/jvm/java-6-sun
4. Sudo apt-get install eclipse//installation eclipse
5. Sudo update-java-alternatives-s java-6-sun//sun version of Java is set to system default JDK
6. Sudo vim/etc/jvm//Edit the JVM configuration file and place the/usr/lib/jvm/java-6-sun in the file at the top of the configuration file
7. Sudo vim/etc/eclipse/java_home//operation above

(go) Install the development environment under Linux

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.