Python development environment 2 in Linux-install eclipse + pydev

Source: Internet
Author: User

Eclipse is developed by Java. To run eclipse, you must install JDK. Enter javac in the command line to check whether JDK has been installed on the local machine.

1. Install JDK

Download the JDK from the official Oracle website and put it in the/usr/local/src/file. Because the Linux download connection cannot be found, you can only use ff to directly download the JDK on the interface.

1 , CD / USR / Local / SRC / # Enter the directory of the downloaded file
2 , Chmod u + X JDK - 6u22 - Linux - I586 - Rpm. Bin # Because the downloaded installation file does not have the X permission, add the X permission to the root user.
3 ,. / JDK - 6u22 - Linux - I586 - Rpm. Bin # Installation Complete

Enter Java-version in the command line to view the Java installation information.

 

2. Install eclipse

Download the eclipse version of Linux on the official eclipse website and save it to the/usr/local/src/directory. Here, I will download the eclipse-cpp-helios-sr1-linux-gtk.tar.gz version of for C/csung, it is a compressed package. Eclipse is free of installation and can be used directly after decompression.

1 , CD / USR / Local / SRC / # Go to the downloaded file directory
2 , Tar - Zxv - F eclipse - CPP - Helios - SR1 - Linux - Gtk.tar.gz - C / USR / Local / # -C: Decompress the directory to automatically generate the eclipse directory.

 

You can only start eclipse in the graphic interface, but not in command line mode. You can find the decompressed directory/usr/local/Eclipse/In the GUI like windows, and double-click the eclipse file to start it, you can also enter/usr/local/Eclipse/eclipse on the terminal to start the service.

 

3. Configure pydev

(1) Start eclipse and select help> install new software...

(2) In the workwith type http://www.fabioz.com/pydev/updates, click Add, eclipse automatically search for pydev plug-in, select it, step by step next to install

(3) Check whether pydev is successfully installed. Select help> about release st> Installation Details to go To the installed plug-in.

(4) configure the pydev interpreter, select Windows> preferences> pydev> interpreter-python, click new, find the installation package of your python, select python.exe, and then select the specific libraries.

(5) the final step is to use the pydev environment. In the top-right corner of Eclipse, it shows which development environment is currently in use. Select open perspective-> Other-> pydev-> OK, you can switch to the pydev development environment.

 

 

 

 

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.