ebuild
Gentoo package build interface
TLDR
Create/update package manifest
SYNOPSIS
ebuild file command...
DESCRIPTION
ebuild is a low-level interface to the Gentoo Portage system. It processes ebuild files, which are Bash scripts describing how to build and install packages.
The tool provides direct access to individual build phases (fetch, unpack, compile, install, merge), allowing developers to test and debug packages step-by-step. This is essential for package maintainers creating or modifying ebuilds.
While emerge is used for normal package management, ebuild gives fine-grained control over the build process. It's particularly useful for testing new packages before adding them to the portage tree or for manually installing custom ebuilds.
PARAMETERS
manifest
Create/update package manifestclean
Remove temporary build filesfetch
Download source filesunpack
Extract sourcescompile
Build the packageinstall
Install to temp directoryqmerge
Merge to live filesystemmerge
All steps combined
CAVEATS
Gentoo-specific. For normal package management, use emerge. Ebuild files require specific directory structure in portage tree.
