标签:des style blog http color io ar java sp
1.安装java环境(pycharm运行需要jdk)
sudo mkdir /usr/lib/java
sudo mv jdk-8u25-linux-x64.tar.gz /usr/lib/java/
cd /usr/lib/java/
sudo tar -zxvf jdk-8u5-linux-x64.tar.gz
sudo rm -rf jdk-8u25-linux-x64.tar.gz
配置环境
sudo gedit /etc/profile
在文本中添加
export JAVA_HOME=/usr/lib/java/jdk1.8.0_25 export JRE_HOME=/usr/lib/java/jdk1.8.0_25/jre export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$JAVA_HOME:$PATH
sudo source /etc/profile
测试java
java -version
2.官网上下载pycharm的linux版本
3.解压后进入目录
cd /usr/lib/pycharm/pycharm-3.4.1/bin/
4.运行pycharm.sh
./pycharm.sh (用户名和密码参考http://blog.csdn.net/chenggong2dm/article/details/9365437)
5.创建pycharm快捷方式
sudo gedit /usr/share/applications/Pycharm.desktop
[Desktop Entry] Encoding=UTF-8 Name=Pycharm Comment=Pycharm IDE Exec=sh /usr/lib/pycharm/pycharm-3.4.1/bin/pycharm.sh Icon=/usr/lib/pycharm/pycharm-3.4.1/bin/pycharm.png Terminal=false StartupNotify=true Type=Application Categories=Application;Development;
然后进入/usr/share/applications目录下就可以找到pycharm的快捷方式
可复制到桌面
标签:des style blog http color io ar java sp
原文地址:http://www.cnblogs.com/zflibra/p/4035420.html