Download PyCharm: Python IDE for Professional Developers by JetBrainshttps://www.jetbrains.com/pycharm/download/#section=linux官网下载pycharm的linux版
下载后解压
wget https://download.jetbrains.com/python/pycharm-community-2021.1.3.tar.gz
tar -xzvf pycharm-community-2021.1.3.tar.gz -C /tmp
cd /tmp/pycharm-community-2021.1.3/bin
运行 pycharm.sh 文件启动pycharm
./pycharm.sh
加入应用列表并创建桌面快捷方式
cat >> /usr/share/applications/Pycharm.desktop <<EOF
[Desktop Entry]
Type=Application
Name=Pycharm
GenericName=Pycharm3
Comment=Pycharm3:The Python IDE
Exec=/tmp/pycharm-community-2021.1.3/bin/pycharm.sh #写实际安装路径
Icon=/tmp/pycharm-community-2021.1.3/bin/pycharm.png #写实际安装路径
Terminal=pycharm
Categories=Pycharm;
EOF
如果如果图标不显示可以使用vim编辑,保存并退出,然后在Applications的Other中可以看到pycharm的图标,拖动至桌面即可