centos7安装pycharm
centos7安装pycharm
-
首先在官网下载最新格式为tar.gz的压缩包
-
命令行模式中cd切换到到压缩包所在文件夹位置,运行解压缩命令解压到将要安装的文件夹下
-
运行bin目录中的.pycharm.sh:
进入解压后的文件夹下的bin目录,运行命令:
./pycharm.sh
-
接下来安装过程就同Windows环境下安装pycharm
创建pycharm桌面快捷方式
创建pycharm.desktop
cd /usr/share/applications/
vim pycharm.desktop
内容如下:
[Desktop Entry]
Type=Application
Name=Pycharm2020
GenericName=Pycharm2020
Comment=Pycharm2020:The Python IDE
Exec=sh /home/town/pycharm/bin/pycharm.sh
Icon=/home/town/pycharm/bin/pycharm.png
Terminal=pycharm
Categories=Pycharm;
复制到用户目录下
chmod 777 pycharm.desktop
cp pycharm.desktop /home/town/Desktop/
cd /home/town/Desktop
chmod 777 pycharm.desktop
chown town:town pycharm.desktop