pycharm的安装手册
一、环境准备:
pycharm的运行需要jdk环境
1. 下载jdk:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
2. 安装jdk:
a 修改jdk安装文件运行权限:
chmod o+x jdk-6u38-linux-x64.bin
b 运行安装程序
. jdk-6u38-linux-x64.bin
3. 配置jdk:
a 将解压缩的jdk文件移至/usr/local/,并重命名为java
b 将java环境变量添加到/etc/profile.d/common.sh
cat > /etc/profile.d/common.sh << EOF
## jdk
export JAVA_HOME=/usr/local/java
export CLASSPATH=.:$JAVA_HOME/lib.tools.jar
export PATH=$JAVA_HOME/bin:$PATH
## pycharm
export PATH=$PATH:/usr/local/pycharm/bin
EOF
4. 环境变量生效:source /etc/profile.d/common.sh
二、安装pycharm
1. 下载pycharm:http://www.jetbrains.com/pycharm/
2. 配置pycharm:
tar -xzvf pycharm**.tar.gz -C /tmp
mv /tmp/pycharm** /usr/local/pycharm
3. 运行pycharm,环境变量生效
一、环境准备:
pycharm的运行需要jdk环境
1. 下载jdk:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
2. 安装jdk:
a 修改jdk安装文件运行权限:
chmod o+x jdk-6u38-linux-x64.bin
b 运行安装程序
. jdk-6u38-linux-x64.bin
3. 配置jdk:
a 将解压缩的jdk文件移至/usr/local/,并重命名为java
b 将java环境变量添加到/etc/profile.d/common.sh
cat > /etc/profile.d/common.sh << EOF
## jdk
export JAVA_HOME=/usr/local/java
export CLASSPATH=.:$JAVA_HOME/lib.tools.jar
export PATH=$JAVA_HOME/bin:$PATH
## pycharm
export PATH=$PATH:/usr/local/pycharm/bin
EOF
4. 环境变量生效:source /etc/profile.d/common.sh
二、安装pycharm
1. 下载pycharm:http://www.jetbrains.com/pycharm/
2. 配置pycharm:
tar -xzvf pycharm**.tar.gz -C /tmp
mv /tmp/pycharm** /usr/local/pycharm
3. 运行pycharm,环境变量生效