2015年11月5日 星期四

[Gentoo] Create binary packages to quick install binary on system

Binary package folder
/usr/portage/packages

1. Creating binary packages
Create binary packages of gcc
quickpkg sys-devel/gcc

Create binary packages of all
quickpkg “/

2. Using –buildpkg as an emerge option
Way 1 :
Installing software and create binary packages
emerge –ask –buildpkg sys-devel/gcc

Way 2 :
/etc/portage/make.conf Enabling Portage’s buildpkg feature
FEATURES=”${FEATURES} buildpkg”

Only create a binary package but not to install the software
emerge –ask –buildpkgonly sys-devel/gcc

3. Excluding creation of some packages
–buildpkg-exclude option to emerge

4. Installing binary packages
emerge command that inform Portage about using binary packages
–usepkg

Reference:

Related Posts:

0 意見:

張貼留言