LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 802|回复: 2

下载的软件,有ebuild,如何安装?

[复制链接]
发表于 2007-3-4 18:59:58 | 显示全部楼层 |阅读模式
下了个软件,附有ebuild,如何安装?
用ebuild xxx.ebuild digest
出错提示:
--- 'profiles/arch.list' is empty or not available. Empty portage tree?
Appending /usr to PORTDIR_OVERLAY...
--- 'profiles/arch.list' is empty or not available. Empty portage tree?
!!! /usr does not seem to have a valid PORTDIR structure.

如何解决?
发表于 2007-3-4 20:19:14 | 显示全部楼层
Add an ebuild in portage :

    * create the directory /usr/local/portage
    * add in the file "make.conf" this : PORTDIR_OVERLAY="/usr/local/portage"
    * create in the directory /usr/local/portage a sub-directory for the category, for example games-misc if you choose fortune-mod-french-0.02
    * create an other sub-directory with the name of the ebuild (without the version number) for example fortune-mod-french
    * copy or download the ebuild in this new directory (and if needed the other files in the sub-directory "files")
    * Enter this command : ebuild lenomdelebuild.ebuild digest, for example : ebuild fortune-mod-french-0.02.ebuild digest

The ebuild is now in the portage tree.
回复 支持 反对

使用道具 举报

发表于 2007-3-5 00:59:27 | 显示全部楼层
emerge --sync
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表