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:

87122

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-07-23
7zip - 26.02-r1
Ebuild name:

app-arch/7zip-26.02-r1

Description

Free file archiver for extremely high compression

Added to portage

2026-07-23

bind - 9.20.26
Ebuild name:

net-dns/bind-9.20.26

Description

Berkeley Internet Name Domain - Name Server

Added to portage

2026-07-23

cargo-nextest - 0.9.140
Ebuild name:

dev-util/cargo-nextest-0.9.140

Description

Next-generation test runner for Rust

Added to portage

2026-07-23

git-delete-merged-branches - 7.6.1
Ebuild name:

dev-vcs/git-delete-merged-branches-7.6.1

Description

Command-line tool to delete merged Git branches

Added to portage

2026-07-23

knot-resolver - 5.7.7
Ebuild name:

net-dns/knot-resolver-5.7.7

Description

A scaleable caching DNS resolver

Added to portage

2026-07-23

knot-resolver - 6.4.1
Ebuild name:

net-dns/knot-resolver-6.4.1

Description

Scaleable caching DNS resolver

Added to portage

2026-07-23

pdns-recursor - 5.3.9
Ebuild name:

net-dns/pdns-recursor-5.3.9

Description

The PowerDNS Recursor

Added to portage

2026-07-23

pdns-recursor - 5.4.4
Ebuild name:

net-dns/pdns-recursor-5.4.4

Description

The PowerDNS Recursor

Added to portage

2026-07-23

rnv - 1.7.11-r4
Ebuild name:

app-text/rnv-1.7.11-r4

Description

A lightweight Relax NG Compact Syntax validator

Added to portage

2026-07-23

unbound - 1.25.2
Ebuild name:

net-dns/unbound-1.25.2

Description

A validating, recursive and caching DNS resolver

Added to portage

2026-07-23

unionfs-fuse - 3.7-r1
Ebuild name:

sys-fs/unionfs-fuse-3.7-r1

Description

Self-syncing tree-merging file system based on FUSE

Added to portage

2026-07-23

2026-07-22
CSS-Minifier-XS - 0.140.0
Ebuild name:

dev-perl/CSS-Minifier-XS-0.140.0

Description

XS based CSS minifier

Added to portage

2026-07-22

Config-IniFiles - 3.1.0
Ebuild name:

dev-perl/Config-IniFiles-3.1.0

Description

Module for reading .ini-style configuration files

Added to portage

2026-07-22

DBI - 1.651.0
Ebuild name:

dev-perl/DBI-1.651.0

Description

Database independent interface for Perl

Added to portage

2026-07-22

JavaScript-Minifier-XS - 0.160.0
Ebuild name:

dev-perl/JavaScript-Minifier-XS-0.160.0

Description

XS based JavaScript minifier

Added to portage

2026-07-22

List-SomeUtils-XS - 0.590.0
Ebuild name:

dev-perl/List-SomeUtils-XS-0.590.0

Description

XS implementation for List

Added to portage

2026-07-22

archivemount - 1b
Ebuild name:

sys-fs/archivemount-1b

Description

Mount archives using libarchive and FUSE

Added to portage

2026-07-22

awscli - 1.45.53
Ebuild name:

app-admin/awscli-1.45.53

Description

Universal Command Line Environment for AWS

Added to portage

2026-07-22

bind - 9.20.24
Ebuild name:

net-dns/bind-9.20.24

Description

Berkeley Internet Name Domain - Name Server

Added to portage

2026-07-22

boto3 - 1.43.53
Ebuild name:

dev-python/boto3-1.43.53

Description

The AWS SDK for Python

Added to portage

2026-07-22

botocore - 1.43.53
Ebuild name:

dev-python/botocore-1.43.53

Description

Low-level, data-driven core of boto 3

Added to portage

2026-07-22

buildah - 1.44.1
Ebuild name:

app-containers/buildah-1.44.1

Description

A tool that facilitates building OCI images

Added to portage

2026-07-22

ceres-solver - 2.2.0-r2
Ebuild name:

sci-libs/ceres-solver-2.2.0-r2

Description

Nonlinear least-squares minimizer

Added to portage

2026-07-22

clazy - 1.17.1-r1
Ebuild name:

dev-util/clazy-1.17.1-r1

Description

Compiler plugin which allows clang to understand Qt semantics

Added to portage

2026-07-22

cryptsetup - 2.8.7
Ebuild name:

sys-fs/cryptsetup-2.8.7

Description

Tool to setup encrypted devices with dm-crypt

Added to portage

2026-07-22

dash - 0.5.13.5
Ebuild name:

app-shells/dash-0.5.13.5

Description

Debian Almquist Shell

Added to portage

2026-07-22

element - 1.12.24
Ebuild name:

www-apps/element-1.12.24

Description

A glossy Matrix collaboration client for the web

Added to portage

2026-07-22

fcgiwrap - 1.1.0_p20150419-r3
Ebuild name:

www-misc/fcgiwrap-1.1.0_p20150419-r3

Description

Simple FastCGI wrapper for CGI scripts (CGI support for nginx)

Added to portage

2026-07-22

filelock - 3.32.0
Ebuild name:

dev-python/filelock-3.32.0

Description

A platform independent file lock for Python

Added to portage

2026-07-22

fish - 4.8.1
Ebuild name:

app-shells/fish-4.8.1

Description

Friendly Interactive SHell

Added to portage

2026-07-22

freerdp - 3.30.0
Ebuild name:

net-misc/freerdp-3.30.0

Description

Free implementation of the Remote Desktop Protocol

Added to portage

2026-07-22

google-auth - 2.56.2
Ebuild name:

dev-python/google-auth-2.56.2

Description

Google Authentication Library

Added to portage

2026-07-22

hcloud - 2.23.0
Ebuild name:

dev-python/hcloud-2.23.0

Description

Official Hetzner Cloud python library

Added to portage

2026-07-22

jupyterlab - 4.5.10
Ebuild name:

dev-python/jupyterlab-4.5.10

Description

JupyterLab computational environment

Added to portage

2026-07-22

jupyterlab - 4.6.2
Ebuild name:

dev-python/jupyterlab-4.6.2

Description

JupyterLab computational environment

Added to portage

2026-07-22

kdeconnect - 26.04.3-r2
Ebuild name:

kde-misc/kdeconnect-26.04.3-r2

Description

Adds communication between KDE Plasma and your smartphone

Added to portage

2026-07-22

kdenetwork-meta - 26.04.3-r1
Ebuild name:

kde-apps/kdenetwork-meta-26.04.3-r1

Description

kdenetwork - merge this to pull in all kdenetwork-derived packa

Added to portage

2026-07-22

kirigami-app-components - 1.0.1
Ebuild name:

dev-libs/kirigami-app-components-1.0.1

Description

Kirigami addons and modules necessary to do a full featured

Added to portage

2026-07-22

libmysofa - 1.3.5
Ebuild name:

media-libs/libmysofa-1.3.5

Description

Library for reading AES SOFA (Spatially Oriented Format for Acoustics) f

Added to portage

2026-07-22

meson - 1.12.0_rc2
Ebuild name:

dev-build/meson-1.12.0_rc2

Description

Open source build system

Added to portage

2026-07-22

modus-themes - 5.2.0
Ebuild name:

app-emacs/modus-themes-5.2.0

Description

Highly accessible themes for GNU Emacs

Added to portage

2026-07-22

modus-themes - 5.3.0
Ebuild name:

app-emacs/modus-themes-5.3.0

Description

Highly accessible themes for GNU Emacs

Added to portage

2026-07-22

pkgconf - 3.0.4
Ebuild name:

dev-util/pkgconf-3.0.4

Description

pkg-config compatible replacement with no dependencies other than C99

Added to portage

2026-07-22

platformdirs - 4.11.0
Ebuild name:

dev-python/platformdirs-4.11.0

Description

A small Python module for determining appropriate platform-specific

Added to portage

2026-07-22

podman - 6.0.2
Ebuild name:

app-containers/podman-6.0.2

Description

A tool for managing OCI containers and pods with Docker-compatible CLI

Added to portage

2026-07-22

postfix - 3.12_pre20260721
Ebuild name:

mail-mta/postfix-3.12_pre20260721

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-07-22

pyproject-api - 1.11.0
Ebuild name:

dev-python/pyproject-api-1.11.0

Description

API to interact with the python pyproject.toml based projects

Added to portage

2026-07-22

pyshp - 3.1.5
Ebuild name:

sci-libs/pyshp-3.1.5

Description

Pure Python read/write support for ESRI Shapefile format

Added to portage

2026-07-22

pytest-env - 1.7.0
Ebuild name:

dev-python/pytest-env-1.7.0

Description

pytest plugin that allows you to add environment variables

Added to portage

2026-07-22

python-discovery - 1.5.0
Ebuild name:

dev-python/python-discovery-1.5.0

Description

Python interpreter discovery

Added to portage

2026-07-22

scrcpy - 4.1
Ebuild name:

app-mobilephone/scrcpy-4.1

Description

Display and control your Android device

Added to portage

2026-07-22

scx - 1.1.2
Ebuild name:

sys-kernel/scx-1.1.2

Description

sched_ext schedulers and tools

Added to portage

2026-07-22

scx-loader - 1.1.2
Ebuild name:

sys-kernel/scx-loader-1.1.2

Description

DBUS on-demand loader of sched-ext schedulers

Added to portage

2026-07-22

seatd - 0.9.3-r1
Ebuild name:

sys-auth/seatd-0.9.3-r1

Description

Minimal seat management daemon and universal library

Added to portage

2026-07-22

servefile - 0.5.4-r4
Ebuild name:

www-servers/servefile-0.5.4-r4

Description

Serve a single file via HTTP

Added to portage

2026-07-22

setuptools-scm - 10.2.1
Ebuild name:

dev-python/setuptools-scm-10.2.1

Description

Manage versions by scm tags via setuptools

Added to portage

2026-07-22

skim - 5.4.0
Ebuild name:

app-misc/skim-5.4.0

Description

Command-line fuzzy finder

Added to portage

2026-07-22

soupsieve - 2.9.1
Ebuild name:

dev-python/soupsieve-2.9.1

Description

A modern CSS selector implementation for BeautifulSoup

Added to portage

2026-07-22

sphinx-autodoc-typehints - 3.13.0
Ebuild name:

dev-python/sphinx-autodoc-typehints-3.13.0

Description

Type hints support for the Sphinx autodoc extension

Added to portage

2026-07-22

subliminal - 2.7.0
Ebuild name:

media-video/subliminal-2.7.0

Description

Python library to search and download subtitles

Added to portage

2026-07-22

svneverever - 1.7.2-r3
Ebuild name:

dev-vcs/svneverever-1.7.2-r3

Description

Tool collecting path entries across SVN history

Added to portage

2026-07-22

throttled - 0.12-r1
Ebuild name:

sys-power/throttled-0.12-r1

Description

Daemon to work around throttling issues on some Intel laptops

Added to portage

2026-07-22

tox - 4.58.0
Ebuild name:

dev-python/tox-4.58.0

Description

virtualenv-based automation of test activities

Added to portage

2026-07-22

uv - 0.11.31
Ebuild name:

dev-python/uv-0.11.31

Description

A Python package installer and resolver, written in Rust

Added to portage

2026-07-22

uv-build - 0.11.31
Ebuild name:

dev-python/uv-build-0.11.31

Description

PEP517 uv build backend

Added to portage

2026-07-22

virtualenv - 21.7.0
Ebuild name:

dev-python/virtualenv-21.7.0

Description

Virtual Python Environment builder

Added to portage

2026-07-22

wordpress - 6.8.6
Ebuild name:

www-apps/wordpress-6.8.6

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-07-22

wordpress - 6.9.5
Ebuild name:

www-apps/wordpress-6.9.5

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-07-22

xclipboard - 1.1.6
Ebuild name:

x11-apps/xclipboard-1.1.6

Description

interchange between cut buffer and selection

Added to portage

2026-07-22

xclock - 1.2.1
Ebuild name:

x11-apps/xclock-1.2.1

Description

analog / digital clock for X

Added to portage

2026-07-22

xkbprint - 1.0.8
Ebuild name:

x11-apps/xkbprint-1.0.8

Description

Print an XKB keyboard description

Added to portage

2026-07-22

xload - 1.2.1
Ebuild name:

x11-apps/xload-1.2.1

Description

system load average display for X

Added to portage

2026-07-22

xmodmap - 1.0.12
Ebuild name:

x11-apps/xmodmap-1.0.12

Description

utility for modifying keymaps and pointer button mappings in X

Added to portage

2026-07-22

xwininfo - 1.1.7
Ebuild name:

x11-apps/xwininfo-1.1.7

Description

window information utility for X

Added to portage

2026-07-22

zim - 0.77.1
Ebuild name:

x11-misc/zim-0.77.1

Description

A desktop wiki

Added to portage

2026-07-22

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