1.安装
tar -zxvf pycharm.tar.gz
cd /pycharm-2021.2.3/bin
sh ./pycharm.sh
2.创建快捷方式
法一:直接从安装好的pycharm的tools中创建desktop entry
法二:sudo gedit/usr/share/applications/pycharm.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=PyCharm
Icon=/home/leo/Downloads/pycharm-2021.2.3/bin/pycharm.png
Exec="/home/leo/Downloads/pycharm-2021.2.3/bin/pycharm.sh" %f
Comment=The Drive to Develop
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-pycharm
加可执行权限sudo chmod a+x /usr/share/applications/pycharm.desktop