$linuxjunkies
>

portage

also: emerge, ebuild

Portage is Gentoo Linux's package management system that compiles software from source code using customizable build flags and dependency resolution.

Portage is the package manager and build system used by Gentoo Linux. Unlike binary package managers, Portage downloads source code and compiles packages on your system, allowing fine-grained control over build options and optimizations.

The system uses ebuilds—recipe files that define how to fetch, compile, and install software. Build flags called USE flags let you customize what features get compiled into packages. For example, you might disable X11 support or add encryption support at compile time.

Portage maintains a tree of available packages and handles dependency resolution automatically. Common commands include emerge to install packages and emerge --update @world to upgrade your system. While compilation takes longer than binary installation, it produces optimized binaries tailored to your specific hardware and needs.

Related terms