简体   繁体   English

包括el-get和elpa之间的依赖关系

[英]packages dependence between el-get and elpa

I am try to use el-get to manage my packages because it is good to update the latest from github. 我尝试使用el-get来管理我的包,因为最好从github更新最新版本。 But sometimes the package I want is only available in ELPA. 但有时我想要的包装只能在ELPA中使用。 So I use 所以我用

(:name <package_name> :type elpa)

to install them. 安装它们。

Now my problem is: I installed org-mode with el-get and try to install org-gcal by 现在我的问题是:我用el-get安装了org-mode并尝试安装org-gcal

(:name org-gcal :type elpa)

The "org-gcal" depends on org-mode 8.2.4 which I already have under el-get directory, but it still said it can't find it and will install org from elpa again. “org-gcal”依赖于我已经在el-get目录下的org-mode 8.2.4,但它仍然说它无法找到它并将再次从elpa安装org。

How could I solve this kind of dependence problem between elpa and el-get? 我怎么能解决elpa和el-get之间的这种依赖问题?

You can't “solve” this dependency problem in that you could teach ELPA about el-get packages. 你不能“解决”这个依赖性问题,因为你可以教ELPA关于el-get包。 That's not (easily) possible. 这不是(轻松)可能的。

el-get understands ELPA packages, but not vice versa. EL-GET理解ELPA包,而不是相反。 ELPA does not see el-get packages, and hence cannot use them to resolve package dependencies. ELPA 没有看到el-get包,因此无法使用它们来解决包依赖性。

The only reasonable way out is to use ELPA to install Org, and other packages as well. 唯一合理的方法是使用ELPA来安装Org和其他软件包。 Recent Org releases are available from the default GNU ELPA archive or from Org Mode's package archive . 最新的Org版本可以从默认的GNU ELPA存档或Org Mode的包存档中获得 The popular MELPA archive provides VCS snapshots for over 1000 other packages. 流行的MELPA存档为超过1000个其他包提供VCS快照。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM