Install Pycharm under Ubuntu

Source: Internet
Author: User

1. Install Java Environment (JDK required for pycharm operation)

sudo mkdir/usr/lib/java

sudo mv jdk-8u25-linux-x64.tar.gz/usr/lib/java/

cd/usr/lib/java/
sudo tar-zxvf jdk-8u5-linux-x64.tar.gz

sudo rm-rf jdk-8u25-linux-x64.tar.gz

Configuring the Environment

sudo gedit/etc/profile

Add in Text

Export JAVA_HOME=/USR/LIB/JAVA/JDK1. 8 . 0_25 export Jre_home=/usr/lib/java/jdk1. 8. 0_25/JRE  export CLASSPATH=.: $JAVA _home/lib: $JRE _home/lib: $CLASSPATH  export PATH = $JAVA _home/bin: $JRE _home/bin: $JAVA _home: $PATH

sudo source/etc/profile

Test Java

Java-version

2. Download Pycharm Linux version on official website

3. Enter the directory after decompression

cd/usr/lib/pycharm/pycharm-3.4.1/bin/

4. Running pycharm.sh

./pycharm.sh (user name and password reference http://blog.csdn.net/chenggong2dm/article/details/9365437)

5. Create a pycharm shortcut

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

[Desktop entry]encoding=utf-8Name=pycharmcomment=pycharm ideexec=sh /usr/lib/pycharm/pycharm-3.4. 1/bin/pycharm.shicon=/usr/lib/pycharm/pycharm-3.4. 1/bin/pycharm.pngterminal=falsestartupnotify=true  Type=applicationcategories=application;development;

Then go to the/usr/share/applications directory and you'll find the Pycharm shortcut.

Can be copied to the desktop

Install Pycharm under Ubuntu

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.