(编辑:jimmy 日期: 2024/12/30 浏览:2)
ubuntu安装pycharm的方法如下所示:
1. 下载
http://www.jetbrains.com/pycharm/download/
选择Linux Tab,选择下载免费的Community Edition.
2. 安装PyCharm
按照官网给出的安装指导【2】进行安装。
(1) Copy the pycharm-*.tar.gz to the desired installation location (make sure you have rw permissions for that directory)
$ cd Downloads/
(2)Unpack the pycharm-*.tar.gz using the following command: tar xfz pycharm-*.tar.gz
$ tar xfz pycharm-*.tar.gz
(3)Remove the pycharm-*.tar.gz to save disk space (optional)
$ rm pycharm-*.tar.gz
(4)Run pycharm.sh from the bin subdirectory
$ cd pycharm/bin/ $ ./pycharm.sh
3. 一直点默认
4.添加桌面快捷方式
$ sudo gedit /usr/share/applications/Pycharm.desktop [Desktop Entry] Type=Application Name=Pycharm GenericName=Pycharm3 Comment=Pycharm3:The Python IDE Exec="~/pycharm/bin/pycharm.sh" %f Icon=~/pycharm/bin/pycharm.png Terminal=pycharm Categories=Pycharm;
然后双击打开,再锁定到启动器就好了.
下面看下第二种方法:
1、安装jdk1.8
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer
2、设置环境变量
输入vim ~/.bashrc,在文件末尾添加
export JAVA_HOME=/usr/lib/jvm/java-8-oracle export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH
3、使配置生效 source ~/.bashrc
4、java -version 查看安装java的版本
5、官网下载社区版:pycharm-community-2016.2.3.tar
6、解压tar -zxvf pycharm-community-2016.2.3.tar
7、pycharm解压即可用,每次使用的时候直接运行pycharm-community-2016.2.3/bin/pychar.sh即可
以上所述是小编给大家介绍的Ubuntu14.04安装pycharm的步骤,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对网站的支持!