I installed pycharm normally via bin/pycharm.sh, but the mistake I made was doing bash pycharm.sh while the pycharm directory has inside the D
bin/pycharm.sh
bash pycharm.sh
In the 2016 version of PyCharm just do following: