The path of the extracted pycharm related files:/home/hadoop2/download/pycharm-community-4.5.4
To add the Quick Launch Pycharm command:
(1) Enter/usr/local/sbin in this directory
originally need to enter/pycharm-community-4.5.4/bin/under the input sh pycharm.sh into the pycharm into the graphical interface [[email protected] pycharm- community-4.5.4]#cd bin[[email protected] bin]#sh pycharm.sh...// Enter the graphical interface
Make changes, add software link ~]#cd/usr/local/sbin[[email protected] sbin]#pycharm
After the change, you need to enter /usr/local/sbin/input Pycharm Enter the pycharm into the graphical interface [[email protected] sbin]# Pycharm
(2) Now we want to solve is, do not need to enter the/usr/local/sbin/, and then directly enter the Pycharm can enter the graphical interface, such as:
[[Email protected] Desktop]$ Pycharm failed
Now that you have failed, you need to add an environment variable When you set it up:
[[email protected] desktop] # Vi/etc/profile
After entering, add the PYCHARM environment variable at the end of the code, as follows:
# # JAVA export java_home=/root/app/jdk1.8export PATH= $PATH: $JAVA _home/bin# # Pycharmexport pycharm_home=/home/hadoop2/Download/pycharm-community-4.5.4export path= $PATH: $PYCHARM _home/bin
You can now directly pycharm the boot Pycharm for verification:
in 8.0
Quick access to Pycharm graphical interface