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:

82864

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-01-19
amarok - 3.3.2
Ebuild name:

media-sound/amarok-3.3.2

Description

Advanced audio player based on KDE Frameworks

Added to portage

2026-01-19

cclive - 0.9.3-r3
Ebuild name:

media-video/cclive-0.9.3-r3

Description

Command line tool for extracting videos from various websites

Added to portage

2026-01-19

colordiff - 1.0.22
Ebuild name:

app-misc/colordiff-1.0.22

Description

Colorizes output of diff

Added to portage

2026-01-19

discord - 0.0.120
Ebuild name:

net-im/discord-0.0.120

Description

All-in-one voice and text chat for gamers

Added to portage

2026-01-19

ebuild-mode - 1.81
Ebuild name:

app-xemacs/ebuild-mode-1.81

Description

Emacs modes for editing ebuilds and other Gentoo specific files

Added to portage

2026-01-19

gcc - 13.4.1_p20260115
Ebuild name:

sys-devel/gcc-13.4.1_p20260115

Description

The GNU Compiler Collection

Added to portage

2026-01-19

gcc - 14.3.1_p20260116
Ebuild name:

sys-devel/gcc-14.3.1_p20260116

Description

The GNU Compiler Collection

Added to portage

2026-01-19

gcc - 15.2.1_p20260117
Ebuild name:

sys-devel/gcc-15.2.1_p20260117

Description

The GNU Compiler Collection

Added to portage

2026-01-19

gcc - 16.0.1_p20260118
Ebuild name:

sys-devel/gcc-16.0.1_p20260118

Description

The GNU Compiler Collection

Added to portage

2026-01-19

git-sources - 6.19_rc6
Ebuild name:

sys-kernel/git-sources-6.19_rc6

Description

The very latest -git version of the Linux kernel

Added to portage

2026-01-19

gnome-nettool - 42.0-r1
Ebuild name:

net-analyzer/gnome-nettool-42.0-r1

Description

Graphical front-ends to various networking command-line

Added to portage

2026-01-19

grub - 2.14
Ebuild name:

sys-boot/grub-2.14

Description

GNU GRUB boot loader

Added to portage

2026-01-19

icdiff - 2.0.9
Ebuild name:

app-misc/icdiff-2.0.9

Description

Colourized diff that supports side-by-side diffing

Added to portage

2026-01-19

irker - 2.24-r1
Ebuild name:

net-irc/irker-2.24-r1

Description

Submission tools for IRC notifications

Added to portage

2026-01-19

megatest - 0.6.0
Ebuild name:

dev-ruby/megatest-0.6.0

Description

A test-unit like framework with a focus on usability, designed with CI in m

Added to portage

2026-01-19

meson - 1.10.1
Ebuild name:

dev-build/meson-1.10.1

Description

Open source build system

Added to portage

2026-01-19

mu - 1.12.15
Ebuild name:

net-mail/mu-1.12.15

Description

Set of tools to deal with Maildirs, in particular, searching and indexing

Added to portage

2026-01-19

networkmanager-strongswan - 1.6.4
Ebuild name:

net-vpn/networkmanager-strongswan-1.6.4

Description

NetworkManager StrongSwan plugin

Added to portage

2026-01-19

openpgp-keys-colordiff - 20260118
Ebuild name:

sec-keys/openpgp-keys-colordiff-20260118

Description

OpenPGP keys used to sign colordiff releases

Added to portage

2026-01-19

openpgp-keys-gentoo-developers - 20260112
Ebuild name:

sec-keys/openpgp-keys-gentoo-developers-20260112

Description

Gentoo Authority Keys (GLEP 79)

Added to portage

2026-01-19

openpgp-keys-gmp - 20250628
Ebuild name:

sec-keys/openpgp-keys-gmp-20250628

Description

OpenPGP keys used by Niels Möller (to sign GMP releases)

Added to portage

2026-01-19

openpgp-keys-mpc - 20260118
Ebuild name:

sec-keys/openpgp-keys-mpc-20260118

Description

OpenPGP keys used by Andreas Enge (to sign MPC releases)

Added to portage

2026-01-19

openpgp-keys-networkmanager-strongswan - 20260119
Ebuild name:

sec-keys/openpgp-keys-networkmanager-strongswan-20260119

Description

OpenPGP keys used for networkmanager-stron

Added to portage

2026-01-19

openpgp-keys-openvpn - 20260119
Ebuild name:

sec-keys/openpgp-keys-openvpn-20260119

Description

OpenPGP keys used for OpenVPN releases

Added to portage

2026-01-19

openpgp-keys-streamlink - 20260118
Ebuild name:

sec-keys/openpgp-keys-streamlink-20260118

Description

OpenPGP keys used for streamlink releases

Added to portage

2026-01-19

openpgp-keys-strongswan - 20260119
Ebuild name:

sec-keys/openpgp-keys-strongswan-20260119

Description

OpenPGP keys used for strongswan releases

Added to portage

2026-01-19

osm - 2.0
Ebuild name:

app-emacs/osm-2.0

Description

OpenStreetMap tile-based viewer for GNU Emacs

Added to portage

2026-01-19

portage - 3.0.76
Ebuild name:

sys-apps/portage-3.0.76

Description

The package management and distribution system for Gentoo

Added to portage

2026-01-19

safeeyes - 3.3.1
Ebuild name:

x11-misc/safeeyes-3.3.1

Description

Linux alternative to EyeLeo

Added to portage

2026-01-19

strawberry - 1.2.17
Ebuild name:

media-sound/strawberry-1.2.17

Description

Modern music player and library organizer based on Clementine and Qt

Added to portage

2026-01-19

streamlink - 8.1.2
Ebuild name:

net-misc/streamlink-8.1.2

Description

CLI for extracting streams from websites to a video player of your choice

Added to portage

2026-01-19

strongswan - 6.0.4
Ebuild name:

net-vpn/strongswan-6.0.4

Description

IPsec-based VPN solution, supporting IKEv1/IKEv2 and MOBIKE

Added to portage

2026-01-19

units - 2.25
Ebuild name:

sci-calculators/units-2.25

Description

Unit conversion program

Added to portage

2026-01-19

vivaldi-snapshot - 7.8.3921.9
Ebuild name:

www-client/vivaldi-snapshot-7.8.3921.9

Description

A browser for our friends

Added to portage

2026-01-19

2026-01-18
async-lru - 2.1.0
Ebuild name:

dev-python/async-lru-2.1.0

Description

Simple lru_cache for asyncio

Added to portage

2026-01-18

blosc - 1.11.4
Ebuild name:

dev-python/blosc-1.11.4

Description

High performance compressor optimized for binary data

Added to portage

2026-01-18

boost-m4 - 0.4_p20221019-r1
Ebuild name:

dev-build/boost-m4-0.4_p20221019-r1

Description

Another set of autoconf macros for compiling against boost

Added to portage

2026-01-18

connection_pool - 3.0.2-r1
Ebuild name:

dev-ruby/connection_pool-3.0.2-r1

Description

Generic connection pooling for Ruby

Added to portage

2026-01-18

dulwich - 1.0.0
Ebuild name:

dev-python/dulwich-1.0.0

Description

Pure-Python implementation of the Git file formats and protocols

Added to portage

2026-01-18

hg-evolve - 11.1.10
Ebuild name:

dev-vcs/hg-evolve-11.1.10

Description

enables the changeset evolution feature of Mercurial

Added to portage

2026-01-18

imapclient - 3.1.0
Ebuild name:

dev-python/imapclient-3.1.0

Description

easy-to-use, pythonic, and complete IMAP client library

Added to portage

2026-01-18

maxitest - 6.2.0
Ebuild name:

dev-ruby/maxitest-6.2.0

Description

Minitest + all the features you always wanted

Added to portage

2026-01-18

mercurial - 7.1.2-r1
Ebuild name:

dev-vcs/mercurial-7.1.2-r1

Description

Scalable distributed SCM

Added to portage

2026-01-18

moto - 5.1.20
Ebuild name:

dev-python/moto-5.1.20

Description

Mock library for boto

Added to portage

2026-01-18

opensmtpd - 7.8.0_p0
Ebuild name:

mail-mta/opensmtpd-7.8.0_p0

Description

Lightweight but featured SMTP daemon from OpenBSD

Added to portage

2026-01-18

sbsigntools - 0.9.5
Ebuild name:

app-crypt/sbsigntools-0.9.5

Description

Utilities for signing and verifying files for UEFI Secure Boot

Added to portage

2026-01-18

scummvm - 2026.1.0
Ebuild name:

games-engines/scummvm-2026.1.0

Description

Reimplementation of the SCUMM game engine used in Lucasarts adventur

Added to portage

2026-01-18

trimesh - 4.11.1
Ebuild name:

dev-python/trimesh-4.11.1

Description

Python library for loading and using triangular meshes

Added to portage

2026-01-18

untrunc - 0_pre20260112
Ebuild name:

media-video/untrunc-0_pre20260112

Description

Restore truncated mp4/mov files

Added to portage

2026-01-18

vdr-fritzbox - 1.5.8
Ebuild name:

media-plugins/vdr-fritzbox-1.5.8

Description

VDR Plugin Inform about incoming phone-calls and use the fritz pho

Added to portage

2026-01-18

xmlschema - 4.3.1
Ebuild name:

dev-python/xmlschema-4.3.1

Description

An XML Schema validator and decoder

Added to portage

2026-01-18

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