First, perform the following steps:
(C ++ version), you must first install the JAVA environment JDK 1.6 or later, so the original JAVA environment must be upgraded, the idea was to upgrade the original JDK (gcj component), but later found that the operation was not good, so I changed the idea to uninstall the original JAVA environment. The steps are as follows:
# Rpm-qa | grep gcj: Check the gcj version. The JAVA environment that comes with linux
# Yum-y remove java-1.4.2-gcj-compat uninstall gcj
Download file jdk-6u22-linux-i586-rpm.bin
# Chmod u + x jdk-6u22-linux-i586-rpm.bin
#./Jdk-6u22-linux-i586-rpm.bin Select YES installed
Install environment variables and then restart them to take effect.
# Vi/etc/profile
Export JAVA_HOME =/usr/java/jdk1.6.0 _ 10
Export CLASSPATH =.: $ JAVA_HOME/jre/lib/rt. jar: $ JAVA_HOME/lib/dt. jar: $ JAVA_HOME/lib/tools. jar
Export PATH = $ PATH: $ JAVA_HOME/bin
(2) install eclipse(eclipse-cpp-helios-sr1-linux-gtk.tar.gz) after installing the Java environment)
Automatically generated in this directory after decompression, as shown in
(3) install the python environment. The download is python-2.6.5.tar.bz2,
# Tar-jxf Python-2.6.5.tar.bz2
# Enter the decompressed folder
#./Configure // installed in the default directory. You can use -- prefix to specify the installation directory.
# Make
# Make install // install it to/usr/local/lib by default
# Automatically update the version to Python-2.6.5 (if the version fails to be updated to the highest version, change the soft connection ln)
(4) manually install the Eclipse plug-in Pydev
Because Automatic Installation and download are too slow, you can manually download the general version for installation.
Download org.python.pydev.feature-1.6.3.2010100513.zip, which can be used in windows and linux
# Combine the decompressed two folders (features and plugins) into the two folders in the Eclipse directory.
# After restarting, you can use HELP -- About Eclipse to view the newly created green icon, as shown in:
# Configure the PyDev Interpreter, select Windows> Preferences> PyDev> Interpreter-python, click New, find your python installation path, and select python, then select the specific Libraries (related Python version information ).
# Switch to the Pydev compiling mode in Eclipse, and finally implement Installation