1. Install jdk
To download the JDK: https://pan.baidu.com/s/1o7MqvKA
extract to a local:
Method One: Right-click on the point "to extract this file
Method Two: Use the command line sudo tar -zxvf jdk1.8.0_91.tar. gz -C jdk1.8.0_91
Copied to the specified path, I use the / opt:
command line: sudo cp -r jdk1.8.0_91 /opt/jdk1.8.0_91
2. Configure jdk
Open the system configuration file: sudo gedit / etc / profile
at the end of the file add:
1 #setting java path 2 export JAVA_HOME=/opt/jdk1.8.0_91 3 export JRE_HOME=${JAVA_HOME}/jre 4 export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib 5 export PATH=${JAVA_HOME}/bin:$PATH
pycharm installation
Download pycharm (professional version): http://www.jetbrains.com/pycharm/
unzip the download package, find pycharm.sh bin directory, run sh pycharm.sh in the terminal