install jdk
sudo apt-get install default-jdk
sudo apt-get install default-jre
download pycharm
add "pycharm" into command
sudo vim /etc/bash.bashrc
add one line:
alias pycharm=f"sh **/pycharm/bin/pycharm.sh &"
compile:sudo source /etc/bash.bashrc
then ,you can enter pycharm start pycharm program