from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

88929

userrating:

average rating: 1.2 (52 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tips&Tricks

Exploring portage features

The new release of Portage 2.1 brings many features and improvements.

While most of them are documented in the example make.conf and the portage man page they may not be obvious to most users, so we will show how to use some of these features.

All the features have to be set in /etc/make.conf.

Portage is now able to download some package's source code while compiling another. This can considerably reduce installation time when emerging many packages. There's no need to run emerge --fetchonly while doing a normal emerge anymore. You just have to add the following option:

Code Listing 1:

Setting parallel-fetch in /etc/make.conf
FEATURES="parallel-fetch"

This feature appears to be non-functional in some of the Portage 2.1 releases, but is expected to be fixed soon.

Another new option to reduce installation time yet a bit more is confcache. With this new feature portage caches many of the tests configuration scripts do, thus making execution faster. This comes with the small risk of caching wrong values, so be warned that this feature is known to have a few bugs.

Since this package is currently keyworded on most architectures, the required steps to enable it are:

Code Listing 2

Enabling confcache
Add this in /etc/make.conf
FEATURES="confcache"

We need to unmask the package before emerging it

echo "=dev-utils/confcache-0.4.2-r1 ~arch" >>/etc/portage/package.keywords

Installing confcache

emerge -av confcache

On further installations. you'll see stuff like:

checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler...(cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes

Another important new feature is the ability to log all the messages ebuilds print. Which messages to log and how to do it is configurable. For example, to save just the warnings and errors in a separate file for each package we emerge, you have to add:

Code Listing 5.3:

Configuring logging features in /etc/make.conf
This sets what to log
PORTAGE_ELOG_CLASSES="warn error log"
And this is how to do it
PORTAGE_ELOG_SYSTEM="save"

There are many more options like sending log messages via email. Please check out make.conf.example for further information.


From Gentoo Weekly Newsletter June, 20th 2006

minor problem with confcache - it no longer seems to exist in the build tree unless perhaps it was renamed.

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2026-10-05
git-sources - 7.3_rc6
Ebuild name:

sys-kernel/git-sources-7.3_rc6

Description

The very latest -git version of the Linux kernel

Added to portage

2026-10-05

mesa - 26.2.4
Ebuild name:

media-libs/mesa-26.2.4

Description

OpenGL-like graphic library for Linux

Added to portage

2026-10-05

mesa_clc - 26.2.4
Ebuild name:

dev-util/mesa_clc-26.2.4

Description

mesa_clc tool used for building OpenCL C to SPIR-V

Added to portage

2026-10-05

nnn - 5.3
Ebuild name:

app-misc/nnn-5.3

Description

The missing terminal file browser for X

Added to portage

2026-10-05

signal-desktop-bin - 8.28.0
Ebuild name:

net-im/signal-desktop-bin-8.28.0

Description

Allows you to send and receive messages of Signal Messenger on you

Added to portage

2026-10-05

tinyssh - 20261001
Ebuild name:

net-misc/tinyssh-20261001

Description

A small SSH server with state-of-the-art cryptography

Added to portage

2026-10-05

xorg-proto - 2026.1
Ebuild name:

x11-base/xorg-proto-2026.1

Description

X.Org combined protocol headers

Added to portage

2026-10-05

2026-10-04
apprise - 2.0.1
Ebuild name:

dev-python/apprise-2.0.1

Description

Push Notifications that work with just about every platform

Added to portage

2026-10-04

apptainer - 1.5.4
Ebuild name:

app-containers/apptainer-1.5.4

Description

The container system for secure high-performance computing

Added to portage

2026-10-04

ast-serialize - 0.12.1
Ebuild name:

dev-python/ast-serialize-0.12.1

Description

Python bindings for mypy AST serialization

Added to portage

2026-10-04

bazel-buildtools - 10.1.0
Ebuild name:

dev-build/bazel-buildtools-10.1.0

Description

Tools for working with Google's Bazel BUILD files

Added to portage

2026-10-04

boogie - 3.5.8
Ebuild name:

dev-lang/boogie-3.5.8

Description

SMT-based program verifier

Added to portage

2026-10-04

caddy - 2.11.7
Ebuild name:

www-servers/caddy-2.11.7

Description

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HT

Added to portage

2026-10-04

clion - 2026.2.3
Ebuild name:

dev-util/clion-2026.2.3

Description

A complete toolset for C and C++ development

Added to portage

2026-10-04

dbus - 1.16.2-r2
Ebuild name:

sys-apps/dbus-1.16.2-r2

Description

A message bus system, a simple way for applications to talk to each other

Added to portage

2026-10-04

dist-kernel - 6.1.189
Ebuild name:

virtual/dist-kernel-6.1.189

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-10-04

dist-kernel - 6.12.112
Ebuild name:

virtual/dist-kernel-6.12.112

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-10-04

dist-kernel - 6.6.158
Ebuild name:

virtual/dist-kernel-6.6.158

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-10-04

django-filter - 26.2
Ebuild name:

dev-python/django-filter-26.2

Description

Django app allowing declarative dynamic QuerySet filtering from URL p

Added to portage

2026-10-04

dulwich - 1.2.16
Ebuild name:

dev-python/dulwich-1.2.16

Description

Pure-Python implementation of the Git file formats and protocols

Added to portage

2026-10-04

dulwich - 1.2.17
Ebuild name:

dev-python/dulwich-1.2.17

Description

Pure-Python implementation of the Git file formats and protocols

Added to portage

2026-10-04

filelock - 4.0.10
Ebuild name:

dev-python/filelock-4.0.10

Description

A platform independent file lock for Python

Added to portage

2026-10-04

gallery-dl - 1.32.15
Ebuild name:

net-misc/gallery-dl-1.32.15

Description

Download image galleries and collections from several image hosting sit

Added to portage

2026-10-04

gentoo-kernel - 6.1.189
Ebuild name:

sys-kernel/gentoo-kernel-6.1.189

Description

Linux kernel built with Gentoo patches

Added to portage

2026-10-04

gentoo-kernel - 6.12.112
Ebuild name:

sys-kernel/gentoo-kernel-6.12.112

Description

Linux kernel built with Gentoo patches

Added to portage

2026-10-04

gentoo-kernel - 6.6.158
Ebuild name:

sys-kernel/gentoo-kernel-6.6.158

Description

Linux kernel built with Gentoo patches

Added to portage

2026-10-04

gentoo-kernel-bin - 6.1.189
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.1.189

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-10-04

gentoo-kernel-bin - 6.12.112
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.112

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-10-04

gentoo-kernel-bin - 6.6.158
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.6.158

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-10-04

gentoo-kernel-modprep - 6.1.189
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.1.189

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-10-04

gentoo-kernel-modprep - 6.12.112
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.12.112

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-10-04

gentoo-kernel-modprep - 6.6.158
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.6.158

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-10-04

goland - 2026.2.3
Ebuild name:

dev-util/goland-2026.2.3

Description

Golang IDE by JetBrains

Added to portage

2026-10-04

gruvbox-theme - 9999
Ebuild name:

app-emacs/gruvbox-theme-9999

Description

Gruvbox is a retro groove color scheme, now in Emacs

Added to portage

2026-10-04

h4x0r - 0.13-r1
Ebuild name:

app-emacs/h4x0r-0.13-r1

Description

Aid in writing like a script kiddie does

Added to portage

2026-10-04

haskell-mode - 17.4
Ebuild name:

app-emacs/haskell-mode-17.4

Description

Mode for editing (and running) Haskell programs in Emacs

Added to portage

2026-10-04

haskell-mode - 17.5_p20260206
Ebuild name:

app-emacs/haskell-mode-17.5_p20260206

Description

Mode for editing (and running) Haskell programs in Emacs

Added to portage

2026-10-04

ibus-typing-booster - 2.31.1
Ebuild name:

app-i18n/ibus-typing-booster-2.31.1

Description

Completion input method for IBus

Added to portage

2026-10-04

koleo-cli - 0.2.137.39
Ebuild name:

app-misc/koleo-cli-0.2.137.39

Description

A simple CLI for koleo.pl railway planner

Added to portage

2026-10-04

lcalc - 2.2.2
Ebuild name:

sci-mathematics/lcalc-2.2.2

Description

Command-line utility and library for L-function computations

Added to portage

2026-10-04

lcov - 2.6
Ebuild name:

dev-util/lcov-2.6

Description

A graphical front-end for GCC's coverage testing tool gcov

Added to portage

2026-10-04

liblore - 0.10.1
Ebuild name:

dev-python/liblore-0.10.1

Description

Shared library for public-inbox / lore.kernel.org access

Added to portage

2026-10-04

libsdl - 1.2.78
Ebuild name:

media-libs/libsdl-1.2.78

Description

Simple Direct Media Layer 1.2 compatibility wrapper around SDL2

Added to portage

2026-10-04

libutf8proc - 2.12.0
Ebuild name:

dev-libs/libutf8proc-2.12.0

Description

A clean C Library for processing UTF-8 Unicode data

Added to portage

2026-10-04

llama - 1.0.6
Ebuild name:

app-emacs/llama-1.0.6

Description

Compact syntax for short lambda

Added to portage

2026-10-04

networkmanager - 1.58.1-r3
Ebuild name:

net-misc/networkmanager-1.58.1-r3

Description

A set of co-operative tools that make networking simple and strai

Added to portage

2026-10-04

no-littering - 1.9.2
Ebuild name:

app-emacs/no-littering-1.9.2

Description

ELisp library that helps keeping Emacs configuration directory clean

Added to portage

2026-10-04

noto - 20261001
Ebuild name:

media-fonts/noto-20261001

Description

Google's font family that aims to support all the world's languages

Added to portage

2026-10-04

nvc - 1.23.0
Ebuild name:

sci-electronics/nvc-1.23.0

Description

NVC is a VHDL compiler and simulator

Added to portage

2026-10-04

pkgcheck - 0.10.47
Ebuild name:

dev-util/pkgcheck-0.10.47

Description

pkgcore-based QA utility for ebuild repos

Added to portage

2026-10-04

pkgcore - 0.12.45
Ebuild name:

sys-apps/pkgcore-0.12.45

Description

a framework for package management

Added to portage

2026-10-04

platformdirs - 4.12.3
Ebuild name:

dev-python/platformdirs-4.12.3

Description

A small Python module for determining appropriate platform-specific

Added to portage

2026-10-04

pyflakes - 4.0.2
Ebuild name:

dev-python/pyflakes-4.0.2

Description

Passive checker for Python programs

Added to portage

2026-10-04

pyproject-api - 1.11.3
Ebuild name:

dev-python/pyproject-api-1.11.3

Description

API to interact with the python pyproject.toml based projects

Added to portage

2026-10-04

pyqt-builder - 1.20.0
Ebuild name:

dev-python/pyqt-builder-1.20.0

Description

The PEP 517 compliant PyQt build system

Added to portage

2026-10-04

pyqt6-sip - 13.13.0
Ebuild name:

dev-python/pyqt6-sip-13.13.0

Description

sip module support for PyQt6

Added to portage

2026-10-04

pytimeparse - 1.1.9
Ebuild name:

dev-python/pytimeparse-1.1.9

Description

A small Python module to parse various kinds of time expressions

Added to portage

2026-10-04

razer-cli - 2.3.2
Ebuild name:

sys-apps/razer-cli-2.3.2

Description

Command line interface for controlling Razer devices on Linux

Added to portage

2026-10-04

sigscheme - 0.9.6
Ebuild name:

dev-scheme/sigscheme-0.9.6

Description

SigScheme is an R5RS Scheme interpreter for embedded use

Added to portage

2026-10-04

simdutf - 9.2.1
Ebuild name:

dev-cpp/simdutf-9.2.1

Description

Unicode validation and transcoding at billions of characters per second

Added to portage

2026-10-04

sip - 6.17.0
Ebuild name:

dev-python/sip-6.17.0

Description

Python bindings generator for C/C++ libraries

Added to portage

2026-10-04

tea - 0.16.0
Ebuild name:

dev-util/tea-0.16.0

Description

Command line tool to interact with Gitea server

Added to portage

2026-10-04

tldextract - 5.4.0
Ebuild name:

dev-python/tldextract-5.4.0

Description

Accurately separate the TLD from the registered domain and subdomains o

Added to portage

2026-10-04

tox - 4.64.8
Ebuild name:

dev-python/tox-4.64.8

Description

virtualenv-based automation of test activities

Added to portage

2026-10-04

uv - 0.12.23
Ebuild name:

dev-python/uv-0.12.23

Description

A Python package installer and resolver, written in Rust

Added to portage

2026-10-04

uv-build - 0.12.23
Ebuild name:

dev-python/uv-build-0.12.23

Description

PEP517 uv build backend

Added to portage

2026-10-04

vanilla-kernel - 6.1.189
Ebuild name:

sys-kernel/vanilla-kernel-6.1.189

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-10-04

vanilla-kernel - 6.12.112
Ebuild name:

sys-kernel/vanilla-kernel-6.12.112

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-10-04

vanilla-kernel - 6.6.158
Ebuild name:

sys-kernel/vanilla-kernel-6.6.158

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-10-04

webkit-gtk - 2.54.1-r400
Ebuild name:

net-libs/webkit-gtk-2.54.1-r400

Description

Open source web browser engine

Added to portage

2026-10-04

webkit-gtk - 2.54.1-r600
Ebuild name:

net-libs/webkit-gtk-2.54.1-r600

Description

Open source web browser engine

Added to portage

2026-10-04

websockets - 17.2
Ebuild name:

dev-python/websockets-17.2

Description

Library for building WebSocket servers and clients in Python

Added to portage

2026-10-04

zipp - 4.1.1
Ebuild name:

dev-python/zipp-4.1.1

Description

Backport of pathlib-compatible object wrapper for zip files

Added to portage

2026-10-04

rdf newsfeed | rss newsfeed | Atom newsfeed
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
- Copyright and legal notices -
Time to create this page: 51.2 ms