安装pycharm
(1) Copy the pycharm-*.tar.gz to the desired installation location (make sure you have rw permissions for that directory)
$ cd Downloads/
1
(2)Unpack the pycharm-.tar.gz using the following command: tar xfz pycharm-.tar.gz
$ tar xfz pycharm-*.tar.gz
1
(3)Remove the pycharm-*.tar.gz to save disk space (optional)
$ rm pycharm-*.tar.gz
1
(4)Run pycharm.sh from the bin subdirectory
$ cd pycharm/bin/$ ./pycharm.sh
1
2
创建快捷方式
sudo gedit /usr/share/applications/Pycharm.desktop
1
打开了文件之后,插入内容:
[Desktop Entry]
Encoding=UTF-8
Name=Pycharm
Comment=Pycharm IDE
Exec=sh /home/snow/Software/pycharm-community-2016.3.1/bin/pycharm.sh
Icon=/home/snow/Software/pycharm-community-2016.3.1/bin/pycharm.png
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;Development;
注意上面的这段内容在写到.desktop文件里面的时候,要保证行与行之间只有一个换行,没有空格~之前因为这个问题,折腾了将近两个小时……
好啦,现在保存上面的文件,按照路径/usr/share/applications/Pycharm.desktop找到文件,再把它复制到桌面,双击就可以用啦~