Installing Pycharm on CentOS 7

## 安装 GNOME Desktop 环境
#
yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
## 安装 python
#
yum install -y epel-release

yum install java-1.8.0-openjdk.x86_64 java-1.8.0-openjdk-devel.x86_64

yum install python36.x86_64 python36-pip
## 下载 pycharm
#
wget https://download.jetbrains.com/python/pycharm-community-2018.3.4.tar.gz

Unpack the pycharm-2018.3.4.tar.gz file to the desired installation location (make sure you have rw permissions for that directory)
using the following command:

## 解压到安装目录
#
tar -xzf pycharm-community-2018.3.4.tar.gz -C /opt/

Note: A new instance MUST NOT be extracted over an existing one. The target folder must be empty.

ln -s /opt/pycharm-community-2018.3.4/ /opt/pycharm
ll /opt/

total 0
lrwxrwxrwx   1 root root ...... pycharm -> /opt/pycharm-community-2018.3.4/
drwxr-xr-x  10 root root ...... pycharm-community-2018.3.4

Run pycharm.sh from the bin subdirectory

## 安装 pycharm
# 
cd /opt/pycharm

./bin/pycharm.sh 
## 创建快捷方式
#
gedit /usr/share/applications/Pycharm.desktop
## 创建快捷方式

[Desktop Entry]
Type=Application
Name=Pycharm
GenericName=Pycharm3
Comment=Pycharm3:The Python IDE
Exec=sh /opt/pycharm/bin/pycharm.sh
Icon=/opt/pycharm/bin/pycharm.png
Terminal=pycharm
Categories=Pycharm;

Pycharm shortcut icon

Pycharm