Python IDE Dedicated editor pycharm download and configure the installation process (Ubuntu environment)

Source: Internet
Author: User
Tags pycharm download
First, Pycharm download and installation process

The code is as follows Copy Code

Website Download Address: https://www.jetbrains.com/pycharm/download/

There are paid and free versions of the Pycharm, and we can use the free version (Community Edition).

The current version is pycharm-community-4.0.4, the downloaded file is. tar.gz compression, we put the downloaded file into the known disk file, and then need to extract.

After the decompression is complete, pycharm.sh the file to install in the Bin folder. Installation will prompt "No JDK found." Please validate either PYCHARM_JDK, Jdk_home or java_home "error, appears to be temporarily not installed, need to install JDK and other components package environment.

Second, install JDK

The code is as follows Copy Code

sudo add-apt-repository Ppa:webupd8team/java
sudo apt-get update
sudo apt-get install Oracle-java8-installer

This installation process is really long time, I was installed last night, took about one hours, until 1 o'clock before the installation is completed, as long as this is finished after the end of the fast.

By "java-version" detection, if there is a version number appears to indicate that there is no problem.

Third, configure $java_home environment variables

The code is as follows Copy Code

sudo update-alternatives--config java

Check the Java path.

Edit the sudo nano/etc/environment file and add the Java_home= "/usr/lib/jvm/java-8-oracle" line.

Load file test start Source/etc/environment, and then look at the file path echo $JAVA _home

Iv. Install Pycharm Tools

The environment is now configured and then we perform the SH pycharm.sh file installation.

Pop-up selection box to select the first one, click OK to continue, and then the interface behind us on the default. Create a project need to enter a password, we set a password.

In this way, our Pycharm tools have been installed, we can add to the Desktop toolbar, and then easy to start every time it is convenient. If we use the Ubuntu version does not have no way to add, you can do this kind of operation.

Five, set up the Pycharm the Quick Start way

Run sudo gedit/usr/share/applications/pycharm.desktop

And then add in the text that pops up:

The code is as follows Copy Code

[Desktop Entry]
Type=application
Name=pycharm
Genericname=pycharm3
Comment=pycharm3:the Python IDE
Exec= "/xxx/pycharm-community-4.0.4/bin/pycharm.sh"%f
Icon=/xxx/pycharm-community-4.0.4/bin/pycharm.png
Terminal=pycharm
Categories=pycharm;

In exec and icon's two paths need to look at our own real path to fill.

In this way, we can see the pycharm icon directly on the desktop shortcut, we can move to the taskbar to quickly open the use.

To summarize, the Pycharm editor is not yet installed directly, requires a JDK based environment, and we need to install the environment before we can install it. The whole process is relatively simple, that is, the need to wait a little longer, this is not always tossing.

S

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.