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:

83078

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-02-03
awscli - 1.44.30
Ebuild name:

app-admin/awscli-1.44.30

Description

Universal Command Line Environment for AWS

Added to portage

2026-02-03

boto3 - 1.42.40
Ebuild name:

dev-python/boto3-1.42.40

Description

The AWS SDK for Python

Added to portage

2026-02-03

botocore - 1.42.40
Ebuild name:

dev-python/botocore-1.42.40

Description

Low-level, data-driven core of boto 3

Added to portage

2026-02-03

braintree - 4.42.0
Ebuild name:

dev-python/braintree-4.42.0

Description

Braintree Python Library

Added to portage

2026-02-03

deno-bin - 2.6.8
Ebuild name:

dev-lang/deno-bin-2.6.8

Description

Modern runtime for JavaScript and TypeScript

Added to portage

2026-02-03

dropbox - 240.4.8609
Ebuild name:

net-misc/dropbox-240.4.8609

Description

Dropbox daemon (pretends to be GUI-less)

Added to portage

2026-02-03

egl-wayland2 - 1.0.1_pre20260109
Ebuild name:

gui-libs/egl-wayland2-1.0.1_pre20260109

Description

NVIDIA wayland EGL external platform library, version 2

Added to portage

2026-02-03

fsarchiver - 0.8.9
Ebuild name:

app-backup/fsarchiver-0.8.9

Description

Flexible filesystem archiver for backup and deployment tool

Added to portage

2026-02-03

gmpy2 - 2.3.0_beta1
Ebuild name:

dev-python/gmpy2-2.3.0_beta1

Description

Python bindings for GMP, MPC, MPFR and MPIR libraries

Added to portage

2026-02-03

gunicorn - 25.0.1
Ebuild name:

www-servers/gunicorn-25.0.1

Description

A WSGI HTTP Server for UNIX

Added to portage

2026-02-03

ipython - 9.10.0
Ebuild name:

dev-python/ipython-9.10.0

Description

Advanced interactive shell for Python

Added to portage

2026-02-03

markdown - 26.0.0-r1
Ebuild name:

dev-ada/markdown-26.0.0-r1

Description

Provides a markdown parser written in Ada

Added to portage

2026-02-03

narwhals - 2.16.0
Ebuild name:

dev-python/narwhals-2.16.0

Description

Extremely lightweight compatibility layer between dataframe libraries

Added to portage

2026-02-03

orjson - 3.11.7
Ebuild name:

dev-python/orjson-3.11.7

Description

Fast, correct Python JSON library supporting dataclasses, datetimes, and n

Added to portage

2026-02-03

plasma-vault - 6.5.5-r2
Ebuild name:

kde-plasma/plasma-vault-6.5.5-r2

Description

Plasma applet and services for creating encrypted vaults

Added to portage

2026-02-03

proto-plus - 1.27.1
Ebuild name:

dev-python/proto-plus-1.27.1

Description

Beautiful, Pythonic protocol buffers

Added to portage

2026-02-03

pyside - 6.10.2
Ebuild name:

dev-python/pyside-6.10.2

Description

Python bindings for the Qt framework

Added to portage

2026-02-03

qca - 2.3.10-r1
Ebuild name:

app-crypt/qca-2.3.10-r1

Description

Qt Cryptographic Architecture (QCA)

Added to portage

2026-02-03

qca - 9999
Ebuild name:

app-crypt/qca-9999

Description

Qt Cryptographic Architecture (QCA)

Added to portage

2026-02-03

requests-cache - 1.3.0
Ebuild name:

dev-python/requests-cache-1.3.0

Description

Persistent cache for requests library

Added to portage

2026-02-03

sqlglot - 28.8.0
Ebuild name:

dev-python/sqlglot-28.8.0

Description

An easily customizable SQL parser and transpiler

Added to portage

2026-02-03

types-gdb - 16.3.0.20260203
Ebuild name:

dev-python/types-gdb-16.3.0.20260203

Description

Typing stubs for gdb

Added to portage

2026-02-03

urwid - 3.0.5
Ebuild name:

dev-python/urwid-3.0.5

Description

Curses-based user interface library for Python

Added to portage

2026-02-03

wrapt - 2.1.1
Ebuild name:

dev-python/wrapt-2.1.1

Description

Module for decorators, wrappers and monkey patching

Added to portage

2026-02-03

2026-02-02
alsa-tools - 1.2.11-r2
Ebuild name:

media-sound/alsa-tools-1.2.11-r2

Description

Advanced Linux Sound Architecture tools

Added to portage

2026-02-02

alsa-tools - 1.2.14-r1
Ebuild name:

media-sound/alsa-tools-1.2.14-r1

Description

Advanced Linux Sound Architecture tools

Added to portage

2026-02-02

alsa-tools - 1.2.15-r2
Ebuild name:

media-sound/alsa-tools-1.2.15-r2

Description

Advanced Linux Sound Architecture tools

Added to portage

2026-02-02

babel - 2.18.0
Ebuild name:

dev-python/babel-2.18.0

Description

Collection of tools for internationalizing Python applications

Added to portage

2026-02-02

bcftools - 1.23
Ebuild name:

sci-biology/bcftools-1.23

Description

Utilities for variant calling and manipulating VCF and BCF files

Added to portage

2026-02-02

blessed - 1.29.0
Ebuild name:

dev-python/blessed-1.29.0

Description

Library for making terminal apps using colors, keyboard input and positio

Added to portage

2026-02-02

cachetools - 7.0.0
Ebuild name:

dev-python/cachetools-7.0.0

Description

Extensible memoizing collections and decorators

Added to portage

2026-02-02

cargo-c - 0.10.20
Ebuild name:

dev-util/cargo-c-0.10.20

Description

Helper program to build and install c-like libraries

Added to portage

2026-02-02

dbus-fast - 4.0.0
Ebuild name:

dev-python/dbus-fast-4.0.0

Description

A faster version of dbus-next

Added to portage

2026-02-02

gcc - 13.4.1_p20260129
Ebuild name:

sys-devel/gcc-13.4.1_p20260129

Description

The GNU Compiler Collection

Added to portage

2026-02-02

gcc - 14.3.1_p20260130
Ebuild name:

sys-devel/gcc-14.3.1_p20260130

Description

The GNU Compiler Collection

Added to portage

2026-02-02

gcc - 15.2.1_p20260131
Ebuild name:

sys-devel/gcc-15.2.1_p20260131

Description

The GNU Compiler Collection

Added to portage

2026-02-02

gcc - 16.0.1_p20260201
Ebuild name:

sys-devel/gcc-16.0.1_p20260201

Description

The GNU Compiler Collection

Added to portage

2026-02-02

git-credential-manager - 2.7.0
Ebuild name:

dev-vcs/git-credential-manager-2.7.0

Description

Secure Git credential storage supporing GitHub, Azure Repos, a

Added to portage

2026-02-02

git-sources - 6.19_rc8
Ebuild name:

sys-kernel/git-sources-6.19_rc8

Description

The very latest -git version of the Linux kernel

Added to portage

2026-02-02

gitlab-runner - 18.7.2
Ebuild name:

dev-util/gitlab-runner-18.7.2

Description

The official GitLab Runner, written in Go

Added to portage

2026-02-02

gitlab-runner - 18.8.0
Ebuild name:

dev-util/gitlab-runner-18.8.0

Description

The official GitLab Runner, written in Go

Added to portage

2026-02-02

go - 1.24.12
Ebuild name:

dev-lang/go-1.24.12

Description

A concurrent garbage collected and typesafe programming language

Added to portage

2026-02-02

go - 1.25.6
Ebuild name:

dev-lang/go-1.25.6

Description

A concurrent garbage collected and typesafe programming language

Added to portage

2026-02-02

gunicorn - 25.0.0
Ebuild name:

www-servers/gunicorn-25.0.0

Description

A WSGI HTTP Server for UNIX

Added to portage

2026-02-02

gvm-libs - 22.35.4
Ebuild name:

net-analyzer/gvm-libs-22.35.4

Description

Greenbone Vulnerability Management (GVM) libraries

Added to portage

2026-02-02

htslib - 1.23
Ebuild name:

sci-libs/htslib-1.23

Description

C library for high-throughput sequencing data formats

Added to portage

2026-02-02

ig - 0.48.1
Ebuild name:

app-admin/ig-0.48.1

Description

Tools and framework for data collection and system inspection using eBPF

Added to portage

2026-02-02

iucode_tool - 2.3.1-r2
Ebuild name:

sys-apps/iucode_tool-2.3.1-r2

Description

Tool to manipulate Intel X86 and X86-64 processor microcode update co

Added to portage

2026-02-02

libdnet - 1.18.2_pre20260126
Ebuild name:

dev-libs/libdnet-1.18.2_pre20260126

Description

Simplified, portable interface to several low-level networking

Added to portage

2026-02-02

libzdb - 3.5.0
Ebuild name:

dev-db/libzdb-3.5.0

Description

A thread safe high level multi-database connection pool library

Added to portage

2026-02-02

logcheck - 1.4.7
Ebuild name:

app-admin/logcheck-1.4.7

Description

Mails anomalies in the system logfiles to the administrator

Added to portage

2026-02-02

nvidia-drivers - 580.126.09-r1
Ebuild name:

x11-drivers/nvidia-drivers-580.126.09-r1

Description

NVIDIA Accelerated Graphics Driver

Added to portage

2026-02-02

ospd-openvas - 22.10.1
Ebuild name:

net-analyzer/ospd-openvas-22.10.1

Description

This is an OSP server implementation to allow GVM to remotely con

Added to portage

2026-02-02

poetry - 2.3.2
Ebuild name:

dev-python/poetry-2.3.2

Description

A frontend for poetry - a python dependency management and packaging tool

Added to portage

2026-02-02

poetry-core - 2.3.1
Ebuild name:

dev-python/poetry-core-2.3.1

Description

Poetry PEP 517 Build Backend

Added to portage

2026-02-02

rich - 14.3.2
Ebuild name:

dev-python/rich-14.3.2

Description

Python library for rendering rich text, tables, etc. to the terminal

Added to portage

2026-02-02

samtools - 1.23
Ebuild name:

sci-biology/samtools-1.23

Description

Utilities for analysing and manipulating the SAM/BAM alignment formats

Added to portage

2026-02-02

sbcl - 2.6.1
Ebuild name:

dev-lisp/sbcl-2.6.1

Description

Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp

Added to portage

2026-02-02

shadow - 4.19.3
Ebuild name:

sys-apps/shadow-4.19.3

Description

Utilities to deal with user accounts

Added to portage

2026-02-02

stockfish - 18
Ebuild name:

games-board/stockfish-18

Description

Free UCI chess engine, claimed to be the strongest in the world

Added to portage

2026-02-02

zenlib - 3.2.1
Ebuild name:

dev-python/zenlib-3.2.1

Description

Useful python decorators and utilities

Added to portage

2026-02-02

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