Current environment: Debian 11.
1 Download pycharm-community-2023.1.3.tar.gz, addressDownload PyCharm: Python IDE for Professional Developers by JetBrains
2 Unzip pycharm-community-2023.1.3.tar.gz to /usr/local and use the command:
tar -zxvf pycharm-community-2023.1.3.tar.gz -C /usr/local
3 Start, use the command: sh /usr/local/pycharm-community-2023.1.3/bin/pycharm.sh
4 Create shortcut Toos -- Create Desktop Entry...
5 View the contents of the jetbrains-pycharm-ce.desktop file
Change the directory to /usr/share/applications. There is a jetbrains-pycharm-ce.desktop file.
cd /usr/share/applications
jetbrains-pycharm-ce.desktop
content
[Desktop Entry]
Version=1.0
Type=Application
Name=PyCharm Community Edition
Icon=/usr/local/pycharm-community-2023.1.3/bin/pycharm.svg
Exec="/usr/local/pycharm-community-2023.1.3/bin/pycharm.sh" %f
Comment=Python IDE for Professional Developers
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-pycharm-ce
StartupNotify=truee