**What is an ebuild repository?**
An ebuild repository is *a file-structure that can provide packages for installation on a Gentoo system.*
> **What do ebuild repositories contain?**
> Ebuild repositories contain:
> * Ebuilds.
> * Eclasses.
> * Descriptive metadata files.
**What is the primary and official ebuild repository?**
The primary and official ebuild repository is *the Gentoo ebuild repository.*
> **What can Portage be configured with to provide even more packages?**
> To provide even more packages, Portage can be configured with *additional ebuild repositories.*
>
> **Where does Portage install the latest available version of a package by default?**
> By default, Portage installs the latest available version of a package *from any configured ebuild repository.*
> > **How does Portage decide which ebuild repository to install a package from if it finds the same version across multiple?**
> > If Portage finds the same version of a package across multiple ebuild repositories, it installs the package from *the highest priority ebuild repository.*
> >
> > **What is another term for an ebuild repository?**
> > Another term for an ebuild repository is *an overlay.*
# The Gentoo ebuild repository
**Where is the Gentoo ebuild repository maintained?**
The Gentoo ebuild repository is maintained *on the gitweb.gentoo.org server.*
> **Where do local machines store ebuild repositories?**
> Local machines store ebuild repositories in *`/var/db/repos/`.*
>
> **How does a local machine make an ebuild repository available to Portage?**
> A local machine makes an ebuild repository available to Portage *by synchronizing it with a remote server.*
**What information does an ebuild file provide?**
An ebuild file provides:
* The package's name.
* The version.
* Where to get sources from.
* Available USE flags.
* The license.
* The website.
> **What information allows Portage to pull any other packages required to build and run a package that is to be installed?**
> The information that allows Portage to pull any other packages required to build and run a package that is to be installed is *dependency information.*
...