解决方法一:
找了半天,中文论坛实在找不到方法,结果在一个国外的某人的博客上找到了,嘿嘿
方法如下:
After completing the installation procedure of Ubuntu 10.04 Lucid Lynx,I had finished installation of some Ubuntu extras like Adobe Flash,VLC,Google Chrome ..and so on.Then I searched for my favorite C++ IDE – KDevelop but it wasn’t there either in Ubuntu software center or Synaptic Package Manager.Then how can we install KDevelop on Ubuntu 10.04,well it’s very simple and how?that’s the purposes of this post.Later I found that KDevelop can be installed in three simple steps by changing Repository settings in SPM.
#1. Open Synaptic Package Manager and click on ‘Settings->Repositories’.A new window (named as software sources) will open,then click on tab which says ‘Updates’ and check the box for ‘Unsupported updates’(close the current window).
#2. Now click on Reload(Since repository settings have changed) to update the software listings and search for ‘kdevelop’;then mark the packages for installation and finally click on Apply(click OK if it asks for dependent libraries/API) to install KDevelop.
#3. Wait…….for few moments until the installation is completed.That’s All! Open kdevelop from Applications->Programming->KDevelop and Enjoy the FUN! of programming.
I Hope you have installed KDE successfully …if it’s true then let me know through comments else,what’s the problem?..write in a comment.
我是这么安装的,打开ubuntu自带的仓库,在Application下,打开后,选择Edit--> Software source,这时会弹出一个窗口,选择UPDATE选项卡,将unsupport update打上勾,关闭后重新搜索Kdevelop,这时就可以获得Kdevelop的集成开发环境的下载的了。
解决方法二:
有些网友提供的解决方法是:
kdevelop没有加进ubuntu 10.04的源;
想要安装得通过ppa
代码:
sudo add-apt-repository ppa:kubuntu-ppa/backports
然后
代码:
sudo apt-get update
sudo apt-get install kdevelop
不过我在sudo add-apt-repository ppa:kubuntu-ppa/backports 这一步时就出现了问题,提示ppa.py脚本错误,没有深究就改用第一种方案。