voxsrc20

    技术2026-02-25  11

    Install Pycharm

    Step1: extract pycharm-community-2020.1.2Step2: follow `Install-Linux-tar.txt`Step3: add pycharm to my favorites Firstly, download the installation package from jetbrains: pycharm-community-2020.1.2.tar.gz

    Step1: extract pycharm-community-2020.1.2

    $ tar -xf pycharm-community-2020.1.2.tar.gz $ cd pycharm-community-2020.1.2 $ ls bin help Install-Linux-tar.txt lib plugins build.txt index jbr license product-info.json

    Then, open Install-Linux-tar.txt and go to next step.

    Step2: follow Install-Linux-tar.txt

    guide:

    To start the application, open a console, cd into “{installation home}/bin” and type: ./pycharm.sh This will initialize various configuration files in the configuration directory: ~/.config/JetBrains/PyCharmCE2020.1.

    record:

    $ cd bin $ ./pycharm.sh OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. ...

    The installation was done.

    Step3: add pycharm to my favorites

    Q: How to add pycharm to my favorites? A: Totally 2 steps: step1-create pycharm.desktop, and step2-add to favorites

    Step1: create pycharm.desktop Tried method1, but got failed.

    $ sudo subl /usr/share/applications/Pycharm.desktop sudo: subl: command not found

    Tried method2, and it worked: $ sudo gedit /usr/share/applications/Pycharm.desktop And copy this words to Pycharm.desktop:

    [Desktop Entry] Version = 1.0 Type = Application Name = Pycharm Icon = /home/cui/Downloads/pycharm-community-2020.1.2/bin/pycharm.png # change 'cui/Downloads/pycharm-community-2020.1.2' to your own Exec = "/home/cui/Downloads/pycharm-community-2020.1.2/bin/pycharm.sh" %f # change 'cui/Downloads/pycharm-community-2020.1.2' to your own Comment=The Python IDE Categories=IDE; Terminal = false Startup

    Step2: add to favorites After that, pycharm icon can be found in ‘show applications’ Then select pycharm icon and right click, you can get two options:New Window and Add to Favorites. Click the second one, you will make it.

    PyCharm基本使用

    Processed: 0.028, SQL: 9