1、首先查看是否安装java
执行 java -version
如果没有查看到java版本号 需要安装java sdk
2、从网上下载pycharm安装包 官网地址http://www.jetbrains.com/pycharm/
3、拷贝pycharm-professional-2017.2.tar.gz 到目录/usr/local
tar -zxvf pycharm-professional-2017.2.tar.gz
4、进入pycharm目录
cd /usr/local/pycharm-2017.2/bin
执行./pycharm.sh
5设置桌面快捷方式
新建文件pycharm.desktop
#!/usr/bin/env xdg-open [Desktop Entry] Encoding=UTF-8 Name=pycharm Comment=pycharm IDE Exec=/usr/local/pycharm-2017.2/bin/pycharm.sh Icon=/usr/local/pycharm-2017.2/bin/pycharm.png Terminal=false StartupNotify=true Type=Application Categories=Application;Development;
把文件pycharm.desktop拷贝到/usr/share/applications和桌面
桌面上点击图标即可启动pycharm