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:

84096

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-31
bash - 5.3_p9-r1
Ebuild name:

app-shells/bash-5.3_p9-r1

Description

The standard GNU Bourne again shell

Added to portage

2026-03-31

bash - 5.4_alpha_pre20251202-r1
Ebuild name:

app-shells/bash-5.4_alpha_pre20251202-r1

Description

The standard GNU Bourne again shell

Added to portage

2026-03-31

gr-fosphor - 0.0_p20260330
Ebuild name:

net-analyzer/gr-fosphor-0.0_p20260330

Description

gnuradio fosphor block (GPU spectrum display)

Added to portage

2026-03-31

krita - 6.0.1
Ebuild name:

media-gfx/krita-6.0.1

Description

Free digital painting application. Digital Painting, Creative Freedom

Added to portage

2026-03-31

mimalloc - 2.2.7-r1
Ebuild name:

dev-libs/mimalloc-2.2.7-r1

Description

A compact general purpose allocator with excellent performance

Added to portage

2026-03-31

mimalloc - 3.2.8-r1
Ebuild name:

dev-libs/mimalloc-3.2.8-r1

Description

A compact general purpose allocator with excellent performance

Added to portage

2026-03-31

unzip - 6.0_p29-r2
Ebuild name:

app-arch/unzip-6.0_p29-r2

Description

unzipper for pkzip-compressed files

Added to portage

2026-03-31

2026-03-30
ada - 3.4.4
Ebuild name:

dev-cpp/ada-3.4.4

Description

WHATWG-compliant and fast URL parser written in modern C++

Added to portage

2026-03-30

asterisk - 21.12.2
Ebuild name:

net-misc/asterisk-21.12.2

Description

Asterisk A Modular Open Source PBX System

Added to portage

2026-03-30

atuin - 18.13.5
Ebuild name:

app-shells/atuin-18.13.5

Description

Shell history manager supporting encrypted synchronisation

Added to portage

2026-03-30

bolt - 0.9.11
Ebuild name:

sys-apps/bolt-0.9.11

Description

Userspace system daemon to enable security levels for Thunderbolt 3

Added to portage

2026-03-30

ccache - 4.13.2
Ebuild name:

dev-util/ccache-4.13.2

Description

Fast compiler cache

Added to portage

2026-03-30

cmake - 4.1.5
Ebuild name:

dev-build/cmake-4.1.5

Description

Cross platform Make

Added to portage

2026-03-30

cmake - 4.2.4
Ebuild name:

dev-build/cmake-4.2.4

Description

Cross platform Make

Added to portage

2026-03-30

cmake - 4.3.1
Ebuild name:

dev-build/cmake-4.3.1

Description

Cross platform Make

Added to portage

2026-03-30

cppgir - 2.0_p20260321
Ebuild name:

dev-cpp/cppgir-2.0_p20260321

Description

GObject-Introspection C++ binding wrapper generator

Added to portage

2026-03-30

cyme - 2.3.0
Ebuild name:

sys-apps/cyme-2.3.0

Description

List system USB buses and devices; a modern cross-platform `lsusb`

Added to portage

2026-03-30

edk2 - 202511-r1
Ebuild name:

sys-firmware/edk2-202511-r1

Description

TianoCore EDK II UEFI firmware for virtual machines

Added to portage

2026-03-30

edk2-bin - 202511
Ebuild name:

sys-firmware/edk2-bin-202511

Description

TianoCore EDK II UEFI firmware for virtual machines

Added to portage

2026-03-30

evaluate - 0.4.4
Ebuild name:

sci-ml/evaluate-0.4.4

Description

makes evaluating, comparing models and reporting their performance easier

Added to portage

2026-03-30

evaluate - 0.4.5
Ebuild name:

sci-ml/evaluate-0.4.5

Description

makes evaluating, comparing models and reporting their performance easier

Added to portage

2026-03-30

evaluate - 0.4.6
Ebuild name:

sci-ml/evaluate-0.4.6

Description

makes evaluating, comparing models and reporting their performance easier

Added to portage

2026-03-30

exfatprogs - 1.3.2
Ebuild name:

sys-fs/exfatprogs-1.3.2

Description

Userspace utilities for the exFAT filesystem

Added to portage

2026-03-30

fcft - 3.3.3
Ebuild name:

media-libs/fcft-3.3.3

Description

Simple library for font loading and glyph rasterization

Added to portage

2026-03-30

firecracker-bin - 1.15.0
Ebuild name:

app-emulation/firecracker-bin-1.15.0

Description

Secure and fast microVMs for serverless computing (static buil

Added to portage

2026-03-30

fuse - 3.18.2
Ebuild name:

sys-fs/fuse-3.18.2

Description

An interface for filesystems implemented in userspace

Added to portage

2026-03-30

gcc - 16.0.1_p20260329
Ebuild name:

sys-devel/gcc-16.0.1_p20260329

Description

The GNU Compiler Collection

Added to portage

2026-03-30

git-sources - 7.0_rc6
Ebuild name:

sys-kernel/git-sources-7.0_rc6

Description

The very latest -git version of the Linux kernel

Added to portage

2026-03-30

grub - 2.14-r4
Ebuild name:

sys-boot/grub-2.14-r4

Description

GNU GRUB boot loader

Added to portage

2026-03-30

inxi - 3.3.40.1
Ebuild name:

sys-apps/inxi-3.3.40.1

Description

The CLI inxi collects and prints hardware and system information

Added to portage

2026-03-30

libpng - 1.6.56
Ebuild name:

media-libs/libpng-1.6.56

Description

Portable Network Graphics library

Added to portage

2026-03-30

mbuffer - 20260301
Ebuild name:

sys-block/mbuffer-20260301

Description

M(easuring)buffer is a replacement for buffer with additional functional

Added to portage

2026-03-30

mdadm - 4.6
Ebuild name:

sys-fs/mdadm-4.6

Description

Tool for running RAID systems - replacement for the raidtools

Added to portage

2026-03-30

mocker - 0.5.0
Ebuild name:

app-emacs/mocker-0.5.0

Description

Simple mocking framework for Emacs

Added to portage

2026-03-30

modus-themes - 5.1.0
Ebuild name:

app-emacs/modus-themes-5.1.0

Description

Highly accessible themes for GNU Emacs

Added to portage

2026-03-30

nethack - 3.6.7-r1
Ebuild name:

games-roguelike/nethack-3.6.7-r1

Description

The ultimate old-school single player dungeon exploration game

Added to portage

2026-03-30

pylsqpack - 0.3.24
Ebuild name:

dev-python/pylsqpack-0.3.24

Description

Python wrapper for the ls-qpack QPACK library

Added to portage

2026-03-30

pyqt6 - 6.11.0
Ebuild name:

dev-python/pyqt6-6.11.0

Description

Python bindings for the Qt framework

Added to portage

2026-03-30

pyqt6-webengine - 6.11.0
Ebuild name:

dev-python/pyqt6-webengine-6.11.0

Description

Python bindings for QtWebEngine

Added to portage

2026-03-30

qbe - 1.2-r1
Ebuild name:

sys-devel/qbe-1.2-r1

Description

Pure-C embeddable compiler backend

Added to portage

2026-03-30

synapse - 1.150.0
Ebuild name:

net-im/synapse-1.150.0

Description

Reference implementation of Matrix homeserver

Added to portage

2026-03-30

sysvinit - 3.18
Ebuild name:

sys-apps/sysvinit-3.18

Description

/sbin/init - parent of all processes

Added to portage

2026-03-30

tdlib - 1.8.62
Ebuild name:

net-libs/tdlib-1.8.62

Description

Cross-platform library for building Telegram clients

Added to portage

2026-03-30

transformers - 5.3.0
Ebuild name:

sci-ml/transformers-5.3.0

Description

State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow

Added to portage

2026-03-30

winbox - 4.1_rc1
Ebuild name:

app-admin/winbox-4.1_rc1

Description

Management Software for MikroTik RouterOS

Added to portage

2026-03-30

xrootd - 5.9.2
Ebuild name:

net-libs/xrootd-5.9.2

Description

Extended ROOT remote file server

Added to portage

2026-03-30

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