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:

83803

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-18
Dist-Zilla-Plugin-Test-Compile - 2.59.0
Ebuild name:

dev-perl/Dist-Zilla-Plugin-Test-Compile-2.59.0

Description

Common tests to check syntax of your modules, using

Added to portage

2026-03-18

Dist-Zilla-Plugin-Test-MinimumVersion - 2.0.11
Ebuild name:

dev-perl/Dist-Zilla-Plugin-Test-MinimumVersion-2.0.11

Description

Release tests for minimum required versions

Added to portage

2026-03-18

Dist-Zilla-Plugin-Test-Perl-Critic - 3.5.0
Ebuild name:

dev-perl/Dist-Zilla-Plugin-Test-Perl-Critic-3.5.0

Description

Tests to check your code against best practices

Added to portage

2026-03-18

EV - 4.370.0
Ebuild name:

dev-perl/EV-4.370.0

Description

Perl interface to libev, a high performance full-featured event loop

Added to portage

2026-03-18

Exporter-Tiny - 1.6.3
Ebuild name:

dev-perl/Exporter-Tiny-1.6.3

Description

An exporter with the features of Sub but only core dependencies

Added to portage

2026-03-18

expat - 2.7.5
Ebuild name:

dev-libs/expat-2.7.5

Description

Stream-oriented XML parser library

Added to portage

2026-03-18

libpciaccess - 0.19
Ebuild name:

x11-libs/libpciaccess-0.19

Description

Library providing generic access to the PCI bus and devices

Added to portage

2026-03-18

systemd-initctl - 3
Ebuild name:

sys-apps/systemd-initctl-3

Description

initctl Compatibility Daemon

Added to portage

2026-03-18

2026-03-17
Dist-Zilla-Plugin-ContributorsFile - 0.4.0
Ebuild name:

dev-perl/Dist-Zilla-Plugin-ContributorsFile-0.4.0

Description

Add a file listing all contributors

Added to portage

2026-03-17

Dist-Zilla-Plugin-Git - 2.52.0
Ebuild name:

dev-perl/Dist-Zilla-Plugin-Git-2.52.0

Description

Update your git repository after release

Added to portage

2026-03-17

Dist-Zilla-Plugin-ModuleBuildTiny - 0.20.0
Ebuild name:

dev-perl/Dist-Zilla-Plugin-ModuleBuildTiny-0.20.0

Description

Build a Build.PL that uses Module

Added to portage

2026-03-17

Dist-Zilla-Plugin-PodWeaver - 4.10.0
Ebuild name:

dev-perl/Dist-Zilla-Plugin-PodWeaver-4.10.0

Description

Weave your Pod together from configuration and Dist

Added to portage

2026-03-17

Dist-Zilla-Plugin-ReadmeFromPod - 0.400.0
Ebuild name:

dev-perl/Dist-Zilla-Plugin-ReadmeFromPod-0.400.0

Description

dzil plugin to generate README from POD

Added to portage

2026-03-17

ansible-pylibssh - 1.4.0
Ebuild name:

dev-python/ansible-pylibssh-1.4.0

Description

Python bindings for libssh client specific to Ansible use case

Added to portage

2026-03-17

awscli - 1.44.59
Ebuild name:

app-admin/awscli-1.44.59

Description

Universal Command Line Environment for AWS

Added to portage

2026-03-17

boto3 - 1.42.69
Ebuild name:

dev-python/boto3-1.42.69

Description

The AWS SDK for Python

Added to portage

2026-03-17

botocore - 1.42.69
Ebuild name:

dev-python/botocore-1.42.69

Description

Low-level, data-driven core of boto 3

Added to portage

2026-03-17

claude-code - 2.1.77
Ebuild name:

dev-util/claude-code-2.1.77

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2026-03-17

clzip - 1.16
Ebuild name:

app-arch/clzip-1.16

Description

C language version of lzip

Added to portage

2026-03-17

difftastic - 0.68.0
Ebuild name:

dev-util/difftastic-0.68.0

Description

A structural diff that understands syntax.

Added to portage

2026-03-17

dovecot - 2.4.2-r3
Ebuild name:

net-mail/dovecot-2.4.2-r3

Description

An IMAP and POP3 server written with security primarily in mind

Added to portage

2026-03-17

elfutils - 0.193-r2
Ebuild name:

dev-libs/elfutils-0.193-r2

Description

Libraries/utilities to handle ELF objects (drop in replacement for libel

Added to portage

2026-03-17

elfutils - 0.194-r1
Ebuild name:

dev-libs/elfutils-0.194-r1

Description

Libraries/utilities to handle ELF objects (drop in replacement for libel

Added to portage

2026-03-17

evisum - 1.0.0
Ebuild name:

sys-process/evisum-1.0.0

Description

System and process monitor written with EFL

Added to portage

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

hiredis - 3.3.1
Ebuild name:

dev-python/hiredis-3.3.1

Description

Python extension that wraps hiredis

Added to portage

2026-03-17

libbpf - 1.7.0
Ebuild name:

dev-libs/libbpf-1.7.0

Description

Stand-alone build of libbpf from the Linux kernel

Added to portage

2026-03-17

navi2ch - 1.8.4-r2
Ebuild name:

app-emacs/navi2ch-1.8.4-r2

Description

A navigator for the Japanese textboard 2ch

Added to portage

2026-03-17

nerd-icons - 0.1.0
Ebuild name:

app-emacs/nerd-icons-0.1.0

Description

Emacs Nerd Font Icons Library

Added to portage

2026-03-17

obs-studio - 32.1.0
Ebuild name:

media-video/obs-studio-32.1.0

Description

Software for Recording and Streaming Live Video Content

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

pipx - 1.9.0
Ebuild name:

dev-python/pipx-1.9.0

Description

Install and Run Python Applications in Isolated Environments

Added to portage

2026-03-17

plasma-pass - 1.3.0-r1
Ebuild name:

kde-misc/plasma-pass-1.3.0-r1

Description

Plasma applet to access password from pass

Added to portage

2026-03-17

postfix - 3.12_pre20260316
Ebuild name:

mail-mta/postfix-3.12_pre20260316

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-03-17

prek - 0.3.6
Ebuild name:

dev-util/prek-0.3.6

Description

Better `pre-commit`, re-engineered in Rust

Added to portage

2026-03-17

pyasn1 - 0.6.3
Ebuild name:

dev-python/pyasn1-0.6.3

Description

ASN.1 library for Python

Added to portage

2026-03-17

pyproject-fmt - 2.19.0
Ebuild name:

dev-python/pyproject-fmt-2.19.0

Description

Format your pyproject.toml file

Added to portage

2026-03-17

signal-desktop-bin - 8.2.1
Ebuild name:

net-im/signal-desktop-bin-8.2.1

Description

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

Added to portage

2026-03-17

simdjson - 4.4.1
Ebuild name:

dev-libs/simdjson-4.4.1

Description

SIMD accelerated C++ JSON library

Added to portage

2026-03-17

simpleeval - 1.0.7
Ebuild name:

dev-python/simpleeval-1.0.7

Description

A simple, safe single expression evaluator library

Added to portage

2026-03-17

solarus-quest-editor - 2.0.3-r1
Ebuild name:

games-misc/solarus-quest-editor-2.0.3-r1

Description

Quest editor for Solarus game engine

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

types-docutils - 0.22.3.20260316
Ebuild name:

dev-python/types-docutils-0.22.3.20260316

Description

Typing stubs for docutils

Added to portage

2026-03-17

util-linux - 2.41.3-r1
Ebuild name:

sys-apps/util-linux-2.41.3-r1

Description

Various useful Linux utilities

Added to portage

2026-03-17

uv - 0.10.11
Ebuild name:

dev-python/uv-0.10.11

Description

A Python package installer and resolver, written in Rust

Added to portage

2026-03-17

uv-build - 0.10.11
Ebuild name:

dev-python/uv-build-0.10.11

Description

PEP517 uv build backend

Added to portage

2026-03-17

uvicorn - 0.42.0
Ebuild name:

dev-python/uvicorn-0.42.0

Description

Lightning-fast ASGI server implementation

Added to portage

2026-03-17

xfconf - 4.21.2
Ebuild name:

xfce-base/xfconf-4.21.2

Description

A configuration management system for Xfce

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

zen-sources - 6.19.8
Ebuild name:

sys-kernel/zen-sources-6.19.8

Description

The Zen Kernel Live Sources

Added to portage

2026-03-17

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