hsudogedit/etc/apt/sources.list。转到文件的末尾,您将看到如下内容: ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://repos.codelite.org/ubuntu/ saucy universe
确保你的版本有你的ubuntu代码名(在我的例子中是'saucy')。网站上的示例代码是针对Ubuntu14的,因此我错误地在这里找到了“可靠”的源代码。编辑该行,使其适合您的Ubuntu版本,然后保存并关闭该文件 最后,您需要更新您的回购协议,以便进行更改。从终端运行hsudogedit/etc/apt/sources.list。转到文件的末尾,您将看到如下内容: ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://repos.codelite.org/ubuntu/ saucy universe,c,ubuntu,ide,C,Ubuntu,Ide,确保你的版本有你的ubuntu代码名(在我的例子中是'saucy')。网站上的示例代码是针对Ubuntu14的,因此我错误地在这里找到了“可靠”的源代码。编辑该行,使其适合您的Ubuntu版本,然后保存并关闭该文件 最后,您需要更新您的回购协议,以便进行更改。从终端运行sudo apt get update。如果一切正常,您现在应该能够sudo apt get install codelite而不会出现错误 我的问题是由于从codelite网站上剪切和粘贴了太多代码造成的。我遵循了与您完全相同的
sudo apt get update
。如果一切正常,您现在应该能够sudo apt get install codelite
而不会出现错误
我的问题是由于从codelite网站上剪切和粘贴了太多代码造成的。我遵循了与您完全相同的页面,他们的示例代码适用于使用UbuntuTrusy的用户(14) 我也有类似的问题。你可能需要检查你的Ubuntu版本,并且你已经添加了正确的存储库。如果这就是问题所在,那么解决方法非常简单 首先,检查你的Ubuntu版本。从终端,您可以使用命令
lsb\u release-a
执行此操作。对于我们来说,最重要的部分是代码名。我用的是Ubuntu13,又名“俏皮”
现在让我们看看您添加的多元宇宙存储库。从终端,您可以使用sudo gedit/etc/apt/sources.list
执行此操作。转到文件的末尾,您将看到如下内容:
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://repos.codelite.org/ubuntu/ saucy universe
确保你的版本有你的ubuntu代码名(在我的例子中是'saucy')。网站上的示例代码是针对Ubuntu14的,因此我错误地在这里找到了“可靠”的源代码。编辑该行,使其适合您的Ubuntu版本,然后保存并关闭该文件
最后,您需要更新您的回购协议,以便进行更改。从终端运行sudo apt get update
。如果一切正常,您现在应该能够sudo apt get install codelite
而不会出现错误
我的问题是由于从codelite网站上剪切和粘贴了太多代码造成的。我遵循了与您完全相同的页面,他们的示例代码适用于使用UbuntuTrusy的用户(14) 我是这本书的作者。我已经在Trusty上测试了最新的codelite
如果您对codelite仍然有问题,请像这样删除:sudo apt get purge codelite
请注意,依赖项链接已失效。但是,我还是设法安装了它:
Ubuntu Trusty Thar 14.04上的codelite 6.1。
图片来源:
这样安装:
sudo apt-add-repository "deb http://repos.codelite.org/ubuntu/ $(lsb_release -sc) universe"
sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
sudo apt-get update
sudo apt-get install codelite wxcrafter
请随时联系我这里或我的网站,为任何问题,你可能有
来源:
sudo apt get purge codelite
请注意,依赖项链接已失效。但是,我还是设法安装了它:
Ubuntu Trusty Thar 14.04上的codelite 6.1。
图片来源:
这样安装:
sudo apt-add-repository "deb http://repos.codelite.org/ubuntu/ $(lsb_release -sc) universe"
sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
sudo apt-get update
sudo apt-get install codelite wxcrafter
请随时联系我这里或我的网站,为任何问题,你可能有
来源:
sudo apt get purge codelite
请注意,依赖项链接已失效。但是,我还是设法安装了它:
Ubuntu Trusty Thar 14.04上的codelite 6.1。
图片来源:
这样安装:
sudo apt-add-repository "deb http://repos.codelite.org/ubuntu/ $(lsb_release -sc) universe"
sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
sudo apt-get update
sudo apt-get install codelite wxcrafter
请随时联系我这里或我的网站,为任何问题,你可能有
来源:
sudo apt get purge codelite
请注意,依赖项链接已失效。但是,我还是设法安装了它:
Ubuntu Trusty Thar 14.04上的codelite 6.1。
图片来源:
这样安装:
sudo apt-add-repository "deb http://repos.codelite.org/ubuntu/ $(lsb_release -sc) universe"
sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
sudo apt-get update
sudo apt-get install codelite wxcrafter
请随时联系我这里或我的网站,为任何问题,你可能有
来源: