Welcome 微信登录

首页 / 操作系统 / Linux / Ubuntu中安装python编辑器Ulipad

由于在Windows中使用Ulipad一段时间了,尤其对于python代码的编辑功能,我觉得目前还没有一款别的编辑器能与之媲美(当然Ulipad也有美中不足的地方)。下面介绍一下在Linux下Ulipad的安装,由于没有像Windows下那样的exe安装文件,所以Uinux下安装Ulipad只能是下载Ulipad的源码,进行编译安装。下面讲讲我在Ubuntu中的安装步骤:一 . 安装wxpython。由于Ulipad的界面是用wxpython写的,所以要先安装wxpython,而且是2.8版本以上的。安装wxpython的方法,这里简单说下步骤。1 .The packages and the repository meta-data are digitally signed, so you"ll need to import the keyinto your apt"s list of trusted keys in order to not get warnings about it.$ curl http://apt.wxwidgets.org/key.asc | sudo apt-key add -   如果没有任何信息打印出来,则说明目前linux里面没有关于wxpython的源,需要我们手动添加源,方法如下:2. Add the following lines to your /etc/apt/sources.list file (or use the "software sources"program under the "system" menu). Replace the "DIST" text with whatever is appropriate foryour system.(See the table below for a list of supported distributions and architectures.)(把下面的内容添加到你的sources.list文件里,这里要详细说明一下,DIST是指的你的linux的发行版本,详细的版本查询可以通过上面我们给的连接,打开后,页面下面有个表,列出了Ubuntu的一些发行版本信息,比如下面的例子里,是gutsy,指的是ubuntu7.10)# wxWidgets/wxPython repository at apt.wxwidgets.orgdeb http://apt.wxwidgets.org/ DIST-wx maindeb-src http://apt.wxwidgets.org/ DIST-wx mainFor example, if your distro is Ubuntu Gutsy, then you would use the following configurationstatements:# wxWidgets/wxPython repository at apt.wxwidgets.orgdeb http://apt.wxwidgets.org/ gutsy-wx maindeb-src http://apt.wxwidgets.org/ gutsy-wx main我的ubuntu是8.10,查那个表可以知道DIST name是intrepid,就可以把DIST 改为intrepid,注意与前面的/之间空一个空格 ,其实这个DIST name有个简单的方法能得到,就是在shell里输入命令:  cat /etc/*-releasexiaopeng@ubuntu:~$ cat /etc/*-releaseDISTRIB_ID=UbuntuDISTRIB_RELEASE=8.10DISTRIB_CODENAME=intrepidDISTRIB_DESCRIPTION="Ubuntu 8.10"上面是我的结果,可以知道DIST name是intrepid
  • 1
  • 2
  • 下一页
删除了一组Ubuntu动态壁纸修改Ubuntu 9.10显示分辨率到1024*768和1280*1024相关资讯      ubuntu安装  python  Ulipad 
  • Linux系统教程:如何通过代理服务  (03月17日)
  • Python 决定迁移到 GitHub  (01月03日)
  • Python面试必须要看的15个问题  (11/26/2015 22:23:21)
  • Python 为什么要迁移到 Github  (01月26日)
  • Python 程序员最常犯的十个错误  (12/11/2015 18:32:46)
  • Linux系统入门教程: 当使用代理服  (11/08/2015 09:04:46)
本文评论 查看全部评论 (0)
表情: 姓名: 字数