The latest Ubuntu18.04 install Pycharm and create a shortcut

First, install Pycharm

The process is simple, and similar to Windows.

Enter the official website to download the corresponding version of Linux

The next step is to enter the bin directory under the installation package

input the command

sh ./pycharm.sh

Then there is the step by step installation.

Second, create a shortcut for Pycharm

1. Create pycharm.desktop file

    is first switched to the desktop directory:
    cd ~ / Desktop
    with vim create pycharm.desktop:
    vim pycharm.desktop
    as follows (note must write an absolute path):

[Desktop Entry]
Name = PyCharm
Type = Application
Exec = /home/sun/下载/pycharm-professional-2019.2/pycharm-2019.2/bin/pycharm.sh
Icon = /home/sun/下载/pycharm-professional-2019.2/pycharm-2019.2/bin/pycharm.png
Terminal = False

    Save and exit vim: :
    WQ Enter
2. Add the executable permissions and trust the

    right-click pycharm.desktop on the desktop, click Properties.
    Click the Permissions tab.
    Check allowed as program executable file, close the window.
    Double-click the icon, click the trust and start the Trust and Launch.
    PyCharm started successfully, and the icon becomes PyCharm own icon


Original link: https: //blog.csdn.net/jpch89/article/details/81739176

Guess you like

Origin www.cnblogs.com/ssxblog/p/11354261.html