Install Pycharm
- Step1: extract pycharm-community-2020.1.2
- Step2: follow `Install-Linux-tar.txt`
- Step3: add pycharm to my favorites
Firstly, download the installation package from jetbrains:
Step1: extract pycharm-community-2020.1.2
1 2 3 4 5 | $ 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
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:
1 2 3 4 | $ 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.
1 2 | $ sudo subl /usr/share/applications/Pycharm.desktop sudo: subl: command not found |
Tried method2, and it worked:
And copy this words to Pycharm.desktop:
1 2 3 4 5 6 7 8 9 10 11 | [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:
PyCharm基本使用