标签:art evel usr python 创建 svg download false nload
镜像UOS
#!/bin/bash
# 下载pycharm到桌面
wget -P /home/$USER/Documents https://download.jetbrains.8686c.com/python/pycharm-community-2020.1.3.tar.gz
# 获取系统sudo权限
echo "1" | sudo -S su
# 安装java环境
sudo apt-get install openjdk-8-jdk
# 解压pycharm
cd /home/$USER/Documents && sudo tar -xzvf pycharm-community-2020.1.3.tar.gz && sudo rm -rf pycharm-community-2020.1.3.tar.gz && cd /home/$USER/Documents/pycharm-community-2020.1.3/bin
sudo touch /usr/share/applications/pycharm.desktop
# 创建桌面图标
echo "[Desktop Entry]
Version=1.0
Type=Application
Name=PyCharm Community Edition
Icon=/home/$USER/Documents/pycharm-community-2020.1.3/bin/pycharm.svg
Exec=sh /home/$USER/Documents/pycharm-community-2020.1.3/bin/pycharm.sh
Comment=Python IDE for Professional Developers
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-pycharm-ce
X-Deepin-CreatedBy=com.deepin.dde.daemon.Launcher
X-Deepin-AppID=jetbrains-pycharm-ce
" | sudo tee /usr/share/applications/pycharm.desktop
sudo chmod +x /usr/share/applications/pycharm.desktop
echo "PyCharm安装完毕,在启动器中点击启动。。。"
sh /home/$USER/Documents/pycharm-community-2020.1.3/bin/pycharm.sh
基于UOS在AMD、ARM、MIPS、SW平台上安装PyCharm
标签:art evel usr python 创建 svg download false nload
原文地址:https://www.cnblogs.com/mikigo/p/14149847.html