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:

83790

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-03-17
ffmpeg - 8.1
Ebuild name:

media-video/ffmpeg-8.1

Description

Complete solution to record/convert/stream audio and video

Added to portage

2026-03-17

openfortivpn - 1.24.1
Ebuild name:

net-vpn/openfortivpn-1.24.1

Description

Fortinet compatible VPN client

Added to portage

2026-03-17

telegram-desktop - 6.6.2
Ebuild name:

net-im/telegram-desktop-6.6.2

Description

Official desktop client for Telegram

Added to portage

2026-03-17

tg_owt - 0_pre20260309
Ebuild name:

media-libs/tg_owt-0_pre20260309

Description

WebRTC build for Telegram

Added to portage

2026-03-17

xmms2 - 0.9.7
Ebuild name:

media-sound/xmms2-0.9.7

Description

X(cross)platform Music Multiplexing System, next generation of the XMMS pla

Added to portage

2026-03-17

2026-03-16
DBD-SQLite - 1.780.0
Ebuild name:

dev-perl/DBD-SQLite-1.780.0

Description

Self Contained RDBMS in a DBI Driver

Added to portage

2026-03-16

DBIx-Migration - 0.320.0
Ebuild name:

dev-perl/DBIx-Migration-0.320.0

Description

Seamless DB schema up- and downgrades

Added to portage

2026-03-16

Date-Manip - 6.990.0
Ebuild name:

dev-perl/Date-Manip-6.990.0

Description

Perl date manipulation routines

Added to portage

2026-03-16

DateTime-Format-ISO8601 - 0.190.0
Ebuild name:

dev-perl/DateTime-Format-ISO8601-0.190.0

Description

Parses ISO8601 formats

Added to portage

2026-03-16

DateTime-Format-Natural - 1.250.0
Ebuild name:

dev-perl/DateTime-Format-Natural-1.250.0

Description

Parse informal natural language date/time strings

Added to portage

2026-03-16

DateTime-Format-Strptime - 1.800.0
Ebuild name:

dev-perl/DateTime-Format-Strptime-1.800.0

Description

Parse and Format DateTimes using Strptime

Added to portage

2026-03-16

DateTime-TimeZone - 2.670.0
Ebuild name:

dev-perl/DateTime-TimeZone-2.670.0

Description

Time zone object base class and factory

Added to portage

2026-03-16

Devel-Cover - 1.520.0
Ebuild name:

dev-perl/Devel-Cover-1.520.0

Description

Code coverage metrics for Perl

Added to portage

2026-03-16

Devel-Hide - 0.1.600
Ebuild name:

dev-perl/Devel-Hide-0.1.600

Description

Forces the unavailability of specified Perl modules (for testing)

Added to portage

2026-03-16

Devel-PatchPerl - 2.140.0
Ebuild name:

dev-perl/Devel-PatchPerl-2.140.0

Description

Patch perl source a la Devel buildperl.pl

Added to portage

2026-03-16

Devel-Size - 0.860.0
Ebuild name:

dev-perl/Devel-Size-0.860.0

Description

Perl extension for finding the memory usage of Perl variables

Added to portage

2026-03-16

Dist-Milla - 1.0.22
Ebuild name:

dev-perl/Dist-Milla-1.0.22

Description

Distribution builder, Opinionated but Unobtrusive

Added to portage

2026-03-16

Dist-Zilla - 6.37.0
Ebuild name:

dev-perl/Dist-Zilla-6.37.0

Description

Distribution builder; installer not included

Added to portage

2026-03-16

Dist-Zilla-Plugin-Git-Contributors - 0.39.0
Ebuild name:

dev-perl/Dist-Zilla-Plugin-Git-Contributors-0.39.0

Description

Add contributor names from git to your distribut

Added to portage

2026-03-16

apsw - 3.51.3.0
Ebuild name:

dev-python/apsw-3.51.3.0

Description

APSW - Another Python SQLite Wrapper

Added to portage

2026-03-16

atuin - 18.13.2
Ebuild name:

app-shells/atuin-18.13.2

Description

Shell history manager supporting encrypted synchronisation

Added to portage

2026-03-16

babl - 0.1.124
Ebuild name:

media-libs/babl-0.1.124

Description

A dynamic, any to any, pixel format conversion library

Added to portage

2026-03-16

bnd - 7.2.1
Ebuild name:

dev-java/bnd-7.2.1

Description

bndlib A Swiss Army Knife for OSGi

Added to portage

2026-03-16

bnd-annotation - 7.2.1
Ebuild name:

dev-java/bnd-annotation-7.2.1

Description

bnd Annotations Library

Added to portage

2026-03-16

bnd-ant - 7.2.1
Ebuild name:

dev-java/bnd-ant-7.2.1

Description

Bnd Ant Tasks

Added to portage

2026-03-16

bnd-util - 7.2.1
Ebuild name:

dev-java/bnd-util-7.2.1

Description

AQute Bnd Utilities

Added to portage

2026-03-16

bndlib - 7.2.1
Ebuild name:

dev-java/bndlib-7.2.1

Description

bndlib A Swiss Army Knife for OSGi

Added to portage

2026-03-16

charset-normalizer - 3.4.6
Ebuild name:

dev-python/charset-normalizer-3.4.6

Description

The Real First Universal Charset Detector

Added to portage

2026-03-16

croniter - 6.2.2
Ebuild name:

dev-python/croniter-6.2.2

Description

Python module to provide iteration for datetime object

Added to portage

2026-03-16

eclipse-ecj - 4.39
Ebuild name:

dev-java/eclipse-ecj-4.39

Description

Eclipse Compiler for Java

Added to portage

2026-03-16

framework-tool-tui - 0.8.2
Ebuild name:

app-laptop/framework-tool-tui-0.8.2

Description

TUI for controlling and monitoring Framework Computers hardware

Added to portage

2026-03-16

freerdp - 3.24.0
Ebuild name:

net-misc/freerdp-3.24.0

Description

Free implementation of the Remote Desktop Protocol

Added to portage

2026-03-16

fuse-common - 3.10.4-r3
Ebuild name:

sys-fs/fuse-common-3.10.4-r3

Description

Common files for multiple slots of sys-fs/fuse

Added to portage

2026-03-16

gcc - 16.0.1_p20260315
Ebuild name:

sys-devel/gcc-16.0.1_p20260315

Description

The GNU Compiler Collection

Added to portage

2026-03-16

gegl - 0.4.68
Ebuild name:

media-libs/gegl-0.4.68

Description

A graph based image processing framework

Added to portage

2026-03-16

gentoo-dtd - 20230914-r1
Ebuild name:

app-text/gentoo-dtd-20230914-r1

Description

Document Type Definition for Gentoo-related XML files

Added to portage

2026-03-16

gimp - 3.2.0
Ebuild name:

media-gfx/gimp-3.2.0

Description

GNU Image Manipulation Program

Added to portage

2026-03-16

git-credential-manager - 2.7.3
Ebuild name:

dev-vcs/git-credential-manager-2.7.3

Description

Secure Git credential storage supporing GitHub, Azure Repos, a

Added to portage

2026-03-16

git-sources - 7.0_rc4
Ebuild name:

sys-kernel/git-sources-7.0_rc4

Description

The very latest -git version of the Linux kernel

Added to portage

2026-03-16

gnumach - 1.8_p20260224
Ebuild name:

sys-kernel/gnumach-1.8_p20260224

Description

GNU Mach microkernel, for the Hurd

Added to portage

2026-03-16

gnumach - 9999
Ebuild name:

sys-kernel/gnumach-9999

Description

GNU Mach microkernel, for the Hurd

Added to portage

2026-03-16

hurd - 0.9_p20251029
Ebuild name:

sys-kernel/hurd-0.9_p20251029

Description

GNU Hurd is the GNU project's replacement for UNIX

Added to portage

2026-03-16

hurd - 9999
Ebuild name:

sys-kernel/hurd-9999

Description

GNU Hurd is the GNU project's replacement for UNIX

Added to portage

2026-03-16

identify - 2.6.18
Ebuild name:

dev-python/identify-2.6.18

Description

File identification library for Python

Added to portage

2026-03-16

kgeotag - 2.0.0
Ebuild name:

media-gfx/kgeotag-2.0.0

Description

Photo geotagging program

Added to portage

2026-03-16

kitty - 0.46.1
Ebuild name:

x11-terms/kitty-0.46.1

Description

Fast, feature-rich, GPU-based terminal

Added to portage

2026-03-16

kitty-shell-integration - 0.46.1
Ebuild name:

x11-terms/kitty-shell-integration-0.46.1

Description

Shell integration scripts for kitty, a GPU-based terminal

Added to portage

2026-03-16

kitty-terminfo - 0.46.1
Ebuild name:

x11-terms/kitty-terminfo-0.46.1

Description

Terminfo for kitty, a GPU-based terminal emulator

Added to portage

2026-03-16

kphotoalbum - 6.2.0
Ebuild name:

media-gfx/kphotoalbum-6.2.0

Description

Tool for indexing, searching, and viewing images

Added to portage

2026-03-16

libg - 7.2.1
Ebuild name:

dev-java/libg-7.2.1

Description

A library to be statically linked. Contains many small utilities

Added to portage

2026-03-16

lldpd - 1.0.21
Ebuild name:

net-misc/lldpd-1.0.21

Description

Implementation of IEEE 802.1ab (LLDP)

Added to portage

2026-03-16

logger - 0-r3
Ebuild name:

virtual/logger-0-r3

Description

Virtual for system loggers

Added to portage

2026-03-16

marknote - 1.5.0
Ebuild name:

app-text/marknote-1.5.0

Description

Markdown editor with a wide range of formating options for everyday notes

Added to portage

2026-03-16

maven-bin - 3.9.14
Ebuild name:

dev-java/maven-bin-3.9.14

Description

Project Management and Comprehension Tool for Java

Added to portage

2026-03-16

mig - 1.8_p20231217
Ebuild name:

dev-util/mig-1.8_p20231217

Description

GNU Mach 3.0 interface generator (IDL compiler)

Added to portage

2026-03-16

mig - 9999
Ebuild name:

dev-util/mig-9999

Description

GNU Mach 3.0 interface generator (IDL compiler)

Added to portage

2026-03-16

nginx-mode - 1.1.10
Ebuild name:

app-emacs/nginx-mode-1.1.10

Description

Emacs editing mode for Nginx config files

Added to portage

2026-03-16

nim-mode - 0.4.2_p20231101
Ebuild name:

app-emacs/nim-mode-0.4.2_p20231101

Description

Emacs major mode for the Nim programming language support

Added to portage

2026-03-16

pass - 1.7.4-r5
Ebuild name:

app-admin/pass-1.7.4-r5

Description

Stores, retrieves, generates, and synchronizes passwords securely

Added to portage

2026-03-16

peewee - 4.0.2
Ebuild name:

dev-python/peewee-4.0.2

Description

Small Python ORM

Added to portage

2026-03-16

pipewire - 1.6.2
Ebuild name:

media-video/pipewire-1.6.2

Description

Multimedia processing graphs

Added to portage

2026-03-16

prowlarr-bin - 2.3.4.5307
Ebuild name:

www-apps/prowlarr-bin-2.3.4.5307

Description

An indexer manager/proxy to integrate with your various PVR apps

Added to portage

2026-03-16

pyfakefs - 6.1.5
Ebuild name:

dev-python/pyfakefs-6.1.5

Description

A fake file system that mocks the Python file system modules

Added to portage

2026-03-16

pyopenssl - 26.0.0
Ebuild name:

dev-python/pyopenssl-26.0.0

Description

Python interface to the OpenSSL library

Added to portage

2026-03-16

pypdf - 6.9.0
Ebuild name:

dev-python/pypdf-6.9.0

Description

Python library to work with PDF files

Added to portage

2026-03-16

ruff - 0.15.6
Ebuild name:

dev-util/ruff-0.15.6

Description

An extremely fast Python linter, written in Rust

Added to portage

2026-03-16

simdjson - 4.4.0
Ebuild name:

dev-libs/simdjson-4.4.0

Description

SIMD accelerated C++ JSON library

Added to portage

2026-03-16

systemd - 259.3-r2
Ebuild name:

sys-apps/systemd-259.3-r2

Description

System and service manager for Linux

Added to portage

2026-03-16

systemd - 259.4-r1
Ebuild name:

sys-apps/systemd-259.4-r1

Description

System and service manager for Linux

Added to portage

2026-03-16

taglib - 2.2.1
Ebuild name:

media-libs/taglib-2.2.1

Description

Library for reading and editing audio meta data

Added to portage

2026-03-16

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