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:

82238

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
2025-12-01
amdsmi - 7.1.0
Ebuild name:

dev-util/amdsmi-7.1.0

Description

AMD System Management Interface for managing and monitoring GPUs

Added to portage

2025-12-01

beniget - 0.5.0
Ebuild name:

dev-python/beniget-0.5.0

Description

Extract semantic information about static Python code

Added to portage

2025-12-01

buffer - 1.19-r5
Ebuild name:

sys-block/buffer-1.19-r5

Description

A tapedrive tool for speeding up reading from and writing to tape

Added to portage

2025-12-01

cryptodev - 1.14
Ebuild name:

sys-kernel/cryptodev-1.14

Description

device that allows access to Linux kernel cryptographic drivers

Added to portage

2025-12-01

gcc - 16.0.0_p20251130
Ebuild name:

sys-devel/gcc-16.0.0_p20251130

Description

The GNU Compiler Collection

Added to portage

2025-12-01

gpa - 0.11.0-r2
Ebuild name:

app-crypt/gpa-0.11.0-r2

Description

GNU Privacy Assistant (GPA) a graphical user interface for GnuPG

Added to portage

2025-12-01

grass - 8.4.1-r2
Ebuild name:

sci-geosciences/grass-8.4.1-r2

Description

Free GIS with raster and vector functionality, as well as 3D vizuali

Added to portage

2025-12-01

irqbalance - 1.9.4-r3
Ebuild name:

sys-apps/irqbalance-1.9.4-r3

Description

Distribute hardware interrupts across processors on a multiprocessor s

Added to portage

2025-12-01

libvirt - 11.9.0
Ebuild name:

app-emulation/libvirt-11.9.0

Description

C toolkit to manipulate virtual machines

Added to portage

2025-12-01

libvirt-python - 11.9.0
Ebuild name:

dev-python/libvirt-python-11.9.0

Description

libvirt Python bindings

Added to portage

2025-12-01

meson - 1.10.0_rc1
Ebuild name:

dev-build/meson-1.10.0_rc1

Description

Open source build system

Added to portage

2025-12-01

mtx - 1.3.12-r1
Ebuild name:

sys-block/mtx-1.3.12-r1

Description

Utilities for controlling SCSI media changers and tape drives

Added to portage

2025-12-01

planner - 3.42-r1
Ebuild name:

app-emacs/planner-3.42-r1

Description

Maintain a local Wiki using Emacs-friendly markup

Added to portage

2025-12-01

plz - 0.7.2
Ebuild name:

app-emacs/plz-0.7.2

Description

HTTP library with curl backend for GNU Emacs

Added to portage

2025-12-01

radicale - 3.5.9
Ebuild name:

www-apps/radicale-3.5.9

Description

A simple CalDAV calendar server

Added to portage

2025-12-01

remind - 06.02.01
Ebuild name:

app-misc/remind-06.02.01

Description

Ridiculously functional reminder program

Added to portage

2025-12-01

socklog - 2.1.2
Ebuild name:

app-admin/socklog-2.1.2

Description

Small secure replacement for syslogd with automatic log rotation

Added to portage

2025-12-01

supercollider - 3.14.1
Ebuild name:

media-sound/supercollider-3.14.1

Description

Environment and programming language for real time audio synthesis

Added to portage

2025-12-01

wild - 0.7.0
Ebuild name:

sys-devel/wild-0.7.0

Description

A very fast linker for Linux

Added to portage

2025-12-01

wild - 0.7.0-r1
Ebuild name:

sys-devel/wild-0.7.0-r1

Description

A very fast linker for Linux

Added to portage

2025-12-01

wild - 9999
Ebuild name:

sys-devel/wild-9999

Description

A very fast linker for Linux

Added to portage

2025-12-01

zerotier - 1.16.0-r2
Ebuild name:

net-misc/zerotier-1.16.0-r2

Description

A software-based managed Ethernet switch for planet Earth

Added to portage

2025-12-01

2025-11-30
abiword - 3.0.7
Ebuild name:

app-office/abiword-3.0.7

Description

Fully featured yet light and fast cross platform word processor

Added to portage

2025-11-30

b2 - 5.3.3
Ebuild name:

dev-build/b2-5.3.3

Description

A system for large project software construction, simple to use and powerful

Added to portage

2025-11-30

beartype - 0.22.7
Ebuild name:

dev-python/beartype-0.22.7

Description

Unbearably fast runtime type checking in pure Python

Added to portage

2025-11-30

catch - 3.11.0
Ebuild name:

dev-cpp/catch-3.11.0

Description

Modern C++ header-only framework for unit-tests

Added to portage

2025-11-30

cpik - 0.7.4_p4-r1
Ebuild name:

dev-embedded/cpik-0.7.4_p4-r1

Description

C compiler for PIC18 devices

Added to portage

2025-11-30

dino - 0.5.1
Ebuild name:

net-im/dino-0.5.1

Description

Modern Jabber/XMPP Client using GTK+/Vala

Added to portage

2025-11-30

dos2unix - 7.5.3
Ebuild name:

app-text/dos2unix-7.5.3

Description

Convert DOS or MAC text files to UNIX format or vice versa

Added to portage

2025-11-30

evolution - 3.58.2
Ebuild name:

mail-client/evolution-3.58.2

Description

Integrated mail, addressbook and calendaring functionality

Added to portage

2025-11-30

evolution-data-server - 3.58.2
Ebuild name:

gnome-extra/evolution-data-server-3.58.2

Description

Evolution groupware backend

Added to portage

2025-11-30

evolution-ews - 3.56.2-r1
Ebuild name:

gnome-extra/evolution-ews-3.56.2-r1

Description

Evolution module for connecting to Microsoft Exchange Web Servi

Added to portage

2025-11-30

evolution-ews - 3.58.2
Ebuild name:

gnome-extra/evolution-ews-3.58.2

Description

Evolution module for connecting to Microsoft Exchange Web Services

Added to portage

2025-11-30

fzy - 1.1
Ebuild name:

app-text/fzy-1.1

Description

Fuzzy text selector (interactive grep) for console

Added to portage

2025-11-30

gast - 0.7.0
Ebuild name:

dev-python/gast-0.7.0

Description

A generic AST to represent Python2 and Python3's Abstract Syntax Tree (AST)

Added to portage

2025-11-30

gcc - 15.2.1_p20251129
Ebuild name:

sys-devel/gcc-15.2.1_p20251129

Description

The GNU Compiler Collection

Added to portage

2025-11-30

gnome-user-share - 48.2
Ebuild name:

gnome-extra/gnome-user-share-48.2

Description

Personal file sharing for the GNOME desktop

Added to portage

2025-11-30

graphviz - 14.0.5-r1
Ebuild name:

media-gfx/graphviz-14.0.5-r1

Description

Open Source Graph Visualization Software

Added to portage

2025-11-30

gtk - 4.20.3-r2
Ebuild name:

gui-libs/gtk-4.20.3-r2

Description

GTK is a multi-platform toolkit for creating graphical user interfaces

Added to portage

2025-11-30

jaconv - 0.4.1
Ebuild name:

dev-python/jaconv-0.4.1

Description

Pure-Python Japanese character interconverter

Added to portage

2025-11-30

ktechlab - 0.51.0_p20251122
Ebuild name:

sci-electronics/ktechlab-0.51.0_p20251122

Description

IDE for microcontrollers and electronics

Added to portage

2025-11-30

kube-apiserver - 1.32.10
Ebuild name:

sys-cluster/kube-apiserver-1.32.10

Description

Kubernetes API server

Added to portage

2025-11-30

kube-apiserver - 1.33.6
Ebuild name:

sys-cluster/kube-apiserver-1.33.6

Description

Kubernetes API server

Added to portage

2025-11-30

kube-apiserver - 1.34.2
Ebuild name:

sys-cluster/kube-apiserver-1.34.2

Description

Kubernetes API server

Added to portage

2025-11-30

kube-controller-manager - 1.32.10
Ebuild name:

sys-cluster/kube-controller-manager-1.32.10

Description

Kubernetes Controller Manager

Added to portage

2025-11-30

kube-controller-manager - 1.33.6
Ebuild name:

sys-cluster/kube-controller-manager-1.33.6

Description

Kubernetes Controller Manager

Added to portage

2025-11-30

kube-controller-manager - 1.34.2
Ebuild name:

sys-cluster/kube-controller-manager-1.34.2

Description

Kubernetes Controller Manager

Added to portage

2025-11-30

kube-proxy - 1.32.10
Ebuild name:

sys-cluster/kube-proxy-1.32.10

Description

Kubernetes Proxy service

Added to portage

2025-11-30

kube-proxy - 1.33.6
Ebuild name:

sys-cluster/kube-proxy-1.33.6

Description

Kubernetes Proxy service

Added to portage

2025-11-30

kube-proxy - 1.34.2
Ebuild name:

sys-cluster/kube-proxy-1.34.2

Description

Kubernetes Proxy service

Added to portage

2025-11-30

kube-scheduler - 1.32.10
Ebuild name:

sys-cluster/kube-scheduler-1.32.10

Description

Kubernetes Scheduler

Added to portage

2025-11-30

kube-scheduler - 1.33.6
Ebuild name:

sys-cluster/kube-scheduler-1.33.6

Description

Kubernetes Scheduler

Added to portage

2025-11-30

kube-scheduler - 1.34.2
Ebuild name:

sys-cluster/kube-scheduler-1.34.2

Description

Kubernetes Scheduler

Added to portage

2025-11-30

kubeadm - 1.32.10
Ebuild name:

sys-cluster/kubeadm-1.32.10

Description

CLI to Easily bootstrap a secure Kubernetes cluster

Added to portage

2025-11-30

kubeadm - 1.33.6
Ebuild name:

sys-cluster/kubeadm-1.33.6

Description

CLI to Easily bootstrap a secure Kubernetes cluster

Added to portage

2025-11-30

kubeadm - 1.34.2
Ebuild name:

sys-cluster/kubeadm-1.34.2

Description

CLI to Easily bootstrap a secure Kubernetes cluster

Added to portage

2025-11-30

kubectl - 1.32.10
Ebuild name:

sys-cluster/kubectl-1.32.10

Description

CLI to run commands against Kubernetes clusters

Added to portage

2025-11-30

kubectl - 1.33.6
Ebuild name:

sys-cluster/kubectl-1.33.6

Description

CLI to run commands against Kubernetes clusters

Added to portage

2025-11-30

kubelet - 1.32.10
Ebuild name:

sys-cluster/kubelet-1.32.10

Description

Kubernetes Node Agent

Added to portage

2025-11-30

kubelet - 1.33.6
Ebuild name:

sys-cluster/kubelet-1.33.6

Description

Kubernetes Node Agent

Added to portage

2025-11-30

kubelet - 1.34.2
Ebuild name:

sys-cluster/kubelet-1.34.2

Description

Kubernetes Node Agent

Added to portage

2025-11-30

lego - 4.29.0
Ebuild name:

app-crypt/lego-4.29.0

Description

Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go

Added to portage

2025-11-30

libtmux - 0.49.0
Ebuild name:

dev-python/libtmux-0.49.0

Description

Typed library that provides an ORM wrapper for tmux, a terminal multiplex

Added to portage

2025-11-30

link-grammar - 5.13.0
Ebuild name:

dev-libs/link-grammar-5.13.0

Description

A Syntactic English parser

Added to portage

2025-11-30

nuitka - 2.8.9
Ebuild name:

dev-python/nuitka-2.8.9

Description

Python to native compiler

Added to portage

2025-11-30

planner - 3.42-r1
Ebuild name:

app-emacs/planner-3.42-r1

Description

Maintain a local Wiki using Emacs-friendly markup

Added to portage

2025-11-30

plz - 0.7.2
Ebuild name:

app-emacs/plz-0.7.2

Description

HTTP library with curl backend for GNU Emacs

Added to portage

2025-11-30

pyspellchecker - 0.8.4
Ebuild name:

dev-python/pyspellchecker-0.8.4

Description

Pure python spell checker based on work by Peter Norvig

Added to portage

2025-11-30

qutebrowser - 3.6.3
Ebuild name:

www-client/qutebrowser-3.6.3

Description

Keyboard-driven, vim-like browser based on Python and Qt

Added to portage

2025-11-30

renderdoc - 1.36-r1
Ebuild name:

media-gfx/renderdoc-1.36-r1

Description

Standalone graphics debugging tool

Added to portage

2025-11-30

sphinx - 9.0.0_rc3
Ebuild name:

dev-python/sphinx-9.0.0_rc3

Description

Python documentation generator

Added to portage

2025-11-30

stdio-mgr - 1.0.1.1
Ebuild name:

dev-python/stdio-mgr-1.0.1.1

Description

Context manager for mocking/wrapping stdin/stdout/stderr

Added to portage

2025-11-30

systemd - 259_rc2
Ebuild name:

sys-apps/systemd-259_rc2

Description

System and service manager for Linux

Added to portage

2025-11-30

types-psutil - 7.1.3.20251130
Ebuild name:

dev-python/types-psutil-7.1.3.20251130

Description

Typing stubs for psutil

Added to portage

2025-11-30

vivaldi - 7.7.3851.56
Ebuild name:

www-client/vivaldi-7.7.3851.56

Description

A browser for our friends

Added to portage

2025-11-30

vivaldi-snapshot - 7.8.3879.3
Ebuild name:

www-client/vivaldi-snapshot-7.8.3879.3

Description

A browser for our friends

Added to portage

2025-11-30

wcd - 6.0.6
Ebuild name:

app-misc/wcd-6.0.6

Description

Wherever Change Directory

Added to portage

2025-11-30

yq-go - 4.49.2
Ebuild name:

app-misc/yq-go-4.49.2

Description

yq is a lightweight and portable command-line YAML, JSON and XML processor

Added to portage

2025-11-30

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