This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
ebuild
An ebuild file is a text file, used by Gentoo package managers, which identifies a specific software package and how the Gentoo package manager should handle it. It uses a bash-like syntax style and is standardized through the EAPI version.
Gentoo Linux uses ebuilds as the package management format for individual software titles. These ebuilds contain metadata about the software (the name and version of the software, which license the software uses, and the home page), dependency information (both build-time as well as run-time dependencies), and instructions on how to deal with the software (configure, build, install, test ...).
The default location for ebuilds in Gentoo is /usr/portage/.
ebuild is also the Portage command for running the various ebuild functions. Information can be found locally by running:
user $
man 1 ebuild
user $
man 5 ebuild
See also
- Basic guide to write Gentoo Ebuilds — contains instructions for beginners on ebuilds development.
- Submitting ebuilds — explains how to submit ebuilds through the Bugzilla bug tracking web application.
- Package Manager Specification — a standardization effort to ensure that the ebuild file format, the ebuild repository format (of which the Gentoo ebuild repository is the main incarnation), as well as behavior of the package managers interacting with these ebuilds is properly agreed upon and documented.
- Portage — the official package manager and distribution system for Gentoo.
External resources
- https://devmanual.gentoo.org/eclass-reference/ebuild/index.html - Ebuild eclass reference in the developer manual.
- https://projects.gentoo.org/comrel/recruiters/quizzes/ebuild-quiz.txt - Gentoo developer ebuild quiz.