码迷,mamicode.com
首页 > 其他好文 > 详细

基于UOS在AMD、ARM、MIPS、SW平台上安装PyCharm

时间:2020-12-22 12:22:43      阅读:0      评论:0      收藏:0      [点我收藏+]

标签: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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!