Overlay
什么是overlay?
- Gentoo 的 Overlay 是Gentoo的用户将自己写的 ebuild 提交给官方. 可以通过Eselect-repository, layman获取到这些第三方包.
Overlay网页地址
- Overlay网页地址(点击这里跳转), 网址如下:
http://gpo.zugaina.org/
Eselect-Repository
简介
- 用于代替layman
安装命令
- 安装eselect-repository
sudo emerge --ask app-eselect/eselect-repository
使用命令
-
列出野包
eselect repository list -
选中野包
eselect repository enable PackageName -
选中野包后将其数据拉到本地计算机上
emerge --sync
Layman-verlay
-
安装Layman
sudo emerge --ask app-portage/layman -
添加配置信息到layman配置文件下: /var/lib/layman/make.conf
sudo emacs -nw /var/lib/layman/make.confPORTDIR_OVERLAY="$PORTDIR_OVERLAY"source /var/lib/layman/make.conf -
使Portage支持Layman
sudo emacs -nw /etc/portage/make.confPORTDIR_OVERLAY="${PORTDIR} ${PORTDIR_OVERLAY}" -
Gentoo China(中国Gentoo)包
sudo layman -a gentoo-zh