安装pycharm之前要安装好JDK8,依次执行如下的命令:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
检测安装是否成功
$ java -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
$ javac -version
javac 1.8.0_20
安装PyCharm
按照官网给出的安装指导【2】进行安装。
(1) Copy the pycharm-*.tar.gz to the desired installation location (make sure you have rw permissions for that directory)
$ cd Downloads/
(2)Unpack the pycharm-.tar.gz using the following command: tar xfz pycharm-.tar.gz
$ tar xfz pycharm-*.tar.gz
(3)Remove the pycharm-*.tar.gz to save disk space (optional)
$ rm pycharm-*.tar.gz
(4)Run pycharm.sh from the bin subdirectory
$ cd pycharm-community-3.4.1/bin/
$ ./pycharm.sh
成功进入如下的界面: