搜索Ebuild (一)——eix的极限

一直以来,我都是使用eix来搜索想要安装的软件。eix是gentoo中的一个软件包。提供一系列工具集,通过索引gentoo系统本地的portage树来提高快速的软件搜索。
eix与emerge的搭配一直让我很惬意。需要什么软件都可以先用eix搜索出来,然后用emerge安装即可搞定。
比如我们想安装ssh
首先同步本地的portage树

eix-sync

搜索ssh
eix ssh

显示
* net-misc/openssh
Available versions: 5.1_p1-r2 5.2_p1-r3 ~5.3_p1-r1 ~5.4_p1 {X X509 hpn kerberos ldap libedit pam pkcs11 selinux skey smartcard static tcpd}
Homepage: http://www.openssh.org/
Description: Port of OpenBSD's free SSH release

然后安装
emerge -tv openssh

就OK了。
eix 只能索引并搜索本地的portage树。一般来说,安装好的gentoo系统默认只有官方的portage树。官方portage树确实不小,底层的诸如内核,gcc,glibc,上层的Xorg,大到KDE和GNOME均有涵盖。在学习使用gentoo的这半年的时间里,满足了我对gentoo软件的所有需求。
随着对gentoo探索的不断深入,终于,在最近一段时间,我可以触摸到官方portage树的边缘。eix也不断显示出她能力的极限。
其实,对于gentoo系统来说,在官方portage树外,还有一群涵盖广泛的Overlay。每一个Overlay中蕴藏的软件的数量及其浩瀚,范围广,种类杂,可以满足每个人对gentoo的所有想象。
eix其实也可以搜索Overlay树,但是必须你先添加这个Overlay到本地了才行。对于非没有添加的、非本地的Overlay中究竟有哪些Ebuild,eix就爱莫能助了。
这里就遇到一个问题:
倘若想要找一个Ebuild,当他在官方Portage树外的Overlay时候,如何知道他是在哪一个Overlay中呢?
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Fetching upstream changes from git@github. com:a792883583/treeHoleScore.git > /usr/bin/git --version # timeout=10 > git --version # 'git version 1.8.3.1' using GIT _ASKPASS to set credentials github > /usr/bin/git fetch --tags --progress git@github. com:a792883583/treeHoleScore.git +refs/heads/*:refs/remotes/origin/* # timeout=10 ERROR: Error fetching remote repo 'origin' hudson. plugins.git.GitException: Failed to fetch from git@github. com:a792883583/treeHoleScore.git at hudson. plugins . git .GitSCM. fetchFrom(GitSCM. java:1003) at hudson. plugins .git .GitSCM. retrieveChanges(GitSCM. java:1245) at hudson.plugins.git.GitsCM. checkout(GitSCM. java:1309) at hudson.scm. SCM. checkout(SCM. java:540) at hudson. mode1. AbstractProject . checkout(AbstractProject . java:1240) at hudson. model AbstractBuild$AbstractBuildExecution. def aultCheckout (AbstractBuild. java:649) at jenkins .scm. SCMCheckoutStrategy . checkout(SCMCheckoutStrategy . java:85) at hudson . model. AbstractBuild$AbstractBuildExecution. run(AbstractBuild. java:521) at hudson.model . Run. execute(Run. java:1900) at hudson.model. FreeSty1eBuild.run(FreeStyleBuild.java:44) at hudson. model. ResourceController . execute(ResourceController . java:101) at hudson. model. Executor .run(Executor. java:442) Caused by: hudson. plugins.git .GitException: Command "/usr/bin/git fetch --tags --progress git@github . com: a792883583/treeHoleScore.git +refs/heads/* :refs/remotes/origin/*" returned status code 128: stdout: stderr: Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. at org.jenkinsci .plugins.gitclient .CliGitAPIImp1.1aunchCommandIn(CliGitAPImp1.java:2734) at org.jenkinsci .plugins.gitclient .CliGitAPIImp1.1aunchCommandWithCredentials(CliGitAPIImpl.java:2111) at org.jenkinsci.plugins . gitclient .CliGitAPIImp1$1. execute(CliGitAPIImp1.java:623) at hudson.p1ugins . git .GitSCM. fetchFrom (GitSCM. java:1001) 11 more ERROR: Error fetching remote repo ' origin' Finished: FAILURE
最新发布
02-08
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值