1. First you need to install a Java virtual machine
(1) Go to the official website to download the installation package www.sun.com
(2) The installation package is. tar.gz can be extracted with TAR-XZVF + compression package path
(3) After decompression needs to configure environment variables, input sudo gedit/etc/profile open (profile to configure the entire machine environment variables, the system starts from this file read, equivalent to the global variables in Windows), and then enter the following:
Export java_home=~/java/jdk1.8.0_121 (This is the path after your JAVA decompression)
Export path= $JAVA _home/bin: $PATH
Export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
After saving, (see the online tutorial said that it is necessary to log off the re-login, but I tried to try not to re-login also can), enter java-version The version number indicates that the Java installation was successful.
2. The following is the installation of Eclipse
(1) Go to the official website to download the installation package (note Here you download the installation to meet the number of machines, I then installed 32-bit machine, the results downloaded a 64-bit installation package, how also can not run up, find a half-day only to find, crying dead).
(2) Unzip the installation package, even if the installation was successful with Eclipse.
Use the terminal CD into the extracted Eclipse folder and enter the./eclipse command to start. After startup you will find out how there is no menu bar??? Haha, in fact you just maximize and then put on the mouse hover will appear, is hidden. Of course, you can also let him appear permanently, just to create a new eclipse.sh document,
Add the following to the polygon:
Export ubuntu_menuproxy=0
~/eclipse/eclipse/eclipse (the first two eclipse is the installation path) Save
In terminal sh./eclipse.sh
3. Installing Pydev
There are two ways to do this:
(1) Online upgrade method Help->install new software
Click the Add button to enter Pydev and pydev.org/updates to select the first one, always next down on the good, the middle will allow a certificate, determine the following is good
(In fact, not all of them can be successful, some versions will be wrong, how to solve is not clear, I am through the installation of other versions of Eclipse to solve, so do not worry about the beginning of their own installation package, do not change one, if you have to use the version you currently download can only be installed using method two)
(2) Go to the official website to download the Pydev installation package and then unzip, the decompression after the two copied to the Eclispe in the Dropinsl, restart, to Window->perforence, see Pydev even if the installation succeeded, next configuration, Expand Pydev->interpreter->python Interpreter, and click Quick auto-config. (Of course, you need to install Python in your computer, the general Linux system comes with, if you do not install one yourself)
Once you're done, you can create a Python engineering test.
Install Eclipse and Pydev plug-ins to develop Python programs under Linux