Ubuntu14.04 install Pycharm and set desktop shortcut

Download Pycharm

Pycharm official website: https://www.jetbrains.com/pycharm/


Download the Community version.

Install

Choose a suitable location to decompress

cd /path/to/your/download/dir
tar -xvzf pycharm-community-2018.1.2.tar.gz -C ~ //Extract to home folder

run

cd /path/to/your/pycharm-community-2018.1.2/bin
sh pycharm.sh &

Add desktop shortcut

cd /usr/share/applications
sudo subl Pycharm.desktop

In the file add:

[Desktop Entry]
Type = Application      
Name = Pycharm
GenericName = Pycharm
Comment = Pycharm:The Python IDE
Exec = "/path/to/your/pycharm-community-2018.1.2/bin/pycharm.sh" %f
Icon = /path/to/your/pycharm-community-2018.1.2/bin/pycharm.png
Terminal = pycharm
Categories = Pycharm;

start the program again

cd /path/to/your/pycharm-community-2018.1.2/bin
sh pycharm.sh

Pin pycharm to the launcher and that's it.

You can also copy Pycharm to the desktop shortcut under the /usr/share/applications/ folder

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325372724&siteId=291194637