1.下载pycharm安装包,放在安装目录,比如我是在home/user/install
目录下
2.在桌面创建快捷方式pycharm.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Pycharm
Icon=/home/user/install/pycharm-community-2021.3.2/bin/pycharm.png
Exec=sh /home/user/install/pycharm-community-2021.3.2/bin/pycharm.sh
MimeType=application/x-py;
Name[en_US]=pycharm
3.赋予快捷方式可执行权限
chmod +x pycharm.desktop
4.将快捷方式拷贝到app目录
sudo cp pycharm.desktop /usr/share/applications
5.然后就可以在程序里面看到pycharm程序了