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:

88059

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-09-01
blessed - 1.49.0
Ebuild name:

dev-python/blessed-1.49.0

Description

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

Added to portage

2026-09-01

c-blosc2 - 3.3.3
Ebuild name:

dev-libs/c-blosc2-3.3.3

Description

Blocking, shuffling and lossless compression library

Added to portage

2026-09-01

cfn-lint - 1.56.0
Ebuild name:

dev-python/cfn-lint-1.56.0

Description

CloudFormation Linter

Added to portage

2026-09-01

darktable - 5.6.1
Ebuild name:

media-gfx/darktable-5.6.1

Description

A virtual lighttable and darkroom for photographers

Added to portage

2026-09-01

fonttools - 4.64.0
Ebuild name:

dev-python/fonttools-4.64.0

Description

Library for manipulating TrueType, OpenType, AFM and Type1 fonts

Added to portage

2026-09-01

joblib - 1.6.0
Ebuild name:

dev-python/joblib-1.6.0

Description

Tools to provide lightweight pipelining in Python

Added to portage

2026-09-01

kgpg - 26.04.3-r1
Ebuild name:

kde-apps/kgpg-26.04.3-r1

Description

Frontend for GnuPG, a powerful encryption utility by KDE

Added to portage

2026-09-01

kgpg - 26.08.0-r1
Ebuild name:

kde-apps/kgpg-26.08.0-r1

Description

Frontend for GnuPG, a powerful encryption utility by KDE

Added to portage

2026-09-01

loky - 3.6.0
Ebuild name:

dev-python/loky-3.6.0

Description

Robust and reusable Executor for joblib

Added to portage

2026-09-01

tavern - 3.6.3
Ebuild name:

dev-python/tavern-3.6.3

Description

A tool, library, and Pytest plugin for testing RESTful APIs

Added to portage

2026-09-01

trimesh - 5.1.0
Ebuild name:

dev-python/trimesh-5.1.0

Description

Python library for loading and using triangular meshes

Added to portage

2026-09-01

websocket-client - 1.9.2
Ebuild name:

dev-python/websocket-client-1.9.2

Description

WebSocket client for python with hybi13 support

Added to portage

2026-09-01

2026-08-31
Sys-Virt - 12.6.0
Ebuild name:

dev-perl/Sys-Virt-12.6.0

Description

API for using the libvirt library from Perl

Added to portage

2026-08-31

apprise - 1.13.1
Ebuild name:

dev-python/apprise-1.13.1

Description

Push Notifications that work with just about every platform

Added to portage

2026-08-31

authlib - 1.8.0
Ebuild name:

dev-python/authlib-1.8.0

Description

A Python library in building OAuth and OpenID Connect servers and clients

Added to portage

2026-08-31

discount - 3.0.2.0
Ebuild name:

app-text/discount-3.0.2.0

Description

A Markdown-to HTML translator written in C

Added to portage

2026-08-31

django-tables2 - 3.0.1
Ebuild name:

dev-python/django-tables2-3.0.1

Description

Table/data-grid framework for Django

Added to portage

2026-08-31

elixir - 1.16.3-r2
Ebuild name:

dev-lang/elixir-1.16.3-r2

Description

Elixir programming language

Added to portage

2026-08-31

elixir - 1.17.3-r2
Ebuild name:

dev-lang/elixir-1.17.3-r2

Description

Elixir programming language

Added to portage

2026-08-31

elixir - 1.18.5
Ebuild name:

dev-lang/elixir-1.18.5

Description

Elixir programming language

Added to portage

2026-08-31

elixir - 1.19.6
Ebuild name:

dev-lang/elixir-1.19.6

Description

Elixir programming language

Added to portage

2026-08-31

elixir - 1.20.4
Ebuild name:

dev-lang/elixir-1.20.4

Description

Elixir programming language

Added to portage

2026-08-31

exiv2 - 0.28.9
Ebuild name:

media-gfx/exiv2-0.28.9

Description

EXIF, IPTC and XMP metadata C++ library and command line utility

Added to portage

2026-08-31

expat - 2.8.4
Ebuild name:

dev-libs/expat-2.8.4

Description

Stream-oriented XML parser library

Added to portage

2026-08-31

fastdownload - 0.0.6-r1
Ebuild name:

sci-ml/fastdownload-0.0.6-r1

Description

Easily download, verify, and extract archives

Added to portage

2026-08-31

firefox-bin - 153.2.0
Ebuild name:

www-client/firefox-bin-153.2.0

Description

Firefox Web Browser

Added to portage

2026-08-31

gcc - 17.0.0_p20260830
Ebuild name:

sys-devel/gcc-17.0.0_p20260830

Description

The GNU Compiler Collection

Added to portage

2026-08-31

git-sources - 7.3_rc1
Ebuild name:

sys-kernel/git-sources-7.3_rc1

Description

The very latest -git version of the Linux kernel

Added to portage

2026-08-31

gnupg - 2.5.22
Ebuild name:

app-crypt/gnupg-2.5.22

Description

The GNU Privacy Guard, a GPL OpenPGP implementation

Added to portage

2026-08-31

hypothesis - 6.167.1
Ebuild name:

dev-python/hypothesis-6.167.1

Description

A library for property based testing

Added to portage

2026-08-31

ibus-rime - 1.6.1
Ebuild name:

app-i18n/ibus-rime-1.6.1

Description

Chinese Rime Input Method Engine for IBus

Added to portage

2026-08-31

imlib2 - 1.12.7
Ebuild name:

media-libs/imlib2-1.12.7

Description

Version 2 of an advanced replacement library for libraries like libXpm

Added to portage

2026-08-31

imlib2_loaders - 1.12.7
Ebuild name:

media-plugins/imlib2_loaders-1.12.7

Description

Additional image loaders for Imlib2

Added to portage

2026-08-31

iosevka - 34.8.1
Ebuild name:

media-fonts/iosevka-34.8.1

Description

Slender typeface for code, from code

Added to portage

2026-08-31

libgcrypt - 1.12.3
Ebuild name:

dev-libs/libgcrypt-1.12.3

Description

General purpose crypto library based on the code used in GnuPG

Added to portage

2026-08-31

libgcrypt - 1.12.3-r1
Ebuild name:

dev-libs/libgcrypt-1.12.3-r1

Description

General purpose crypto library based on the code used in GnuPG

Added to portage

2026-08-31

libksba - 1.8.1
Ebuild name:

dev-libs/libksba-1.8.1

Description

X.509 and CMS (PKCS7) library

Added to portage

2026-08-31

libvirt - 12.6.0
Ebuild name:

app-emulation/libvirt-12.6.0

Description

C toolkit to manipulate virtual machines

Added to portage

2026-08-31

libvirt-python - 12.6.0
Ebuild name:

dev-python/libvirt-python-12.6.0

Description

libvirt Python bindings

Added to portage

2026-08-31

lsp-ui - 9.0.0
Ebuild name:

app-emacs/lsp-ui-9.0.0

Description

UI modules for lsp-mode

Added to portage

2026-08-31

lua-mode - 20210802
Ebuild name:

app-emacs/lua-mode-20210802

Description

An Emacs major mode for editing Lua scripts

Added to portage

2026-08-31

lv - 0.15.0-r1
Ebuild name:

app-emacs/lv-0.15.0-r1

Description

Other echo area

Added to portage

2026-08-31

lyskom-elisp-client - 0.48_p20200226
Ebuild name:

app-emacs/lyskom-elisp-client-0.48_p20200226

Description

Elisp client for the LysKOM conference system

Added to portage

2026-08-31

nxml-libvirt-schemas - 12.6.0
Ebuild name:

app-emacs/nxml-libvirt-schemas-12.6.0

Description

Extension for nxml-mode with libvirt schemas

Added to portage

2026-08-31

nzbget - 26.3
Ebuild name:

net-nntp/nzbget-26.3

Description

A command-line based binary newsgrabber supporting .nzb files

Added to portage

2026-08-31

ogdi - 4.1.0-r2
Ebuild name:

sci-libs/ogdi-4.1.0-r2

Description

Open Geographical Datastore Interface, a GIS support library

Added to portage

2026-08-31

openpgp-keys-libvirt - 20260831
Ebuild name:

sec-keys/openpgp-keys-libvirt-20260831

Description

OpenPGP keys used by libvirt

Added to portage

2026-08-31

pcsx2 - 2.8.1
Ebuild name:

games-emulation/pcsx2-2.8.1

Description

PlayStation 2 emulator

Added to portage

2026-08-31

pcsx2_patches - 0_p20260810
Ebuild name:

games-emulation/pcsx2_patches-0_p20260810

Description

Collection of game patches for use with PCSX2 (e.g. wides

Added to portage

2026-08-31

pyrate-limiter - 4.5.0
Ebuild name:

dev-python/pyrate-limiter-4.5.0

Description

Python Rate-Limiter using Leaky-Bucket Algorimth Family

Added to portage

2026-08-31

python-engineio - 4.14.0
Ebuild name:

dev-python/python-engineio-4.14.0

Description

Python implementation of the Engine.IO realtime server

Added to portage

2026-08-31

pyzotero - 1.15.1
Ebuild name:

dev-python/pyzotero-1.15.1

Description

A Python client for the Zotero API

Added to portage

2026-08-31

rapidfuzz - 3.14.6
Ebuild name:

dev-python/rapidfuzz-3.14.6

Description

Rapid fuzzy string matching in Python using various string metrics

Added to portage

2026-08-31

rapidfuzz-cpp - 3.3.4
Ebuild name:

dev-cpp/rapidfuzz-cpp-3.3.4

Description

Rapid fuzzy string matching in C++

Added to portage

2026-08-31

regex - 2026.8.31
Ebuild name:

dev-python/regex-2026.8.31

Description

Alternative regular expression module to replace re

Added to portage

2026-08-31

rq - 2.12.0
Ebuild name:

dev-python/rq-2.12.0

Description

Simple, lightweight library for creating and processing background jobs

Added to portage

2026-08-31

sudo-rs - 0.2.15
Ebuild name:

app-admin/sudo-rs-0.2.15

Description

A memory safe implementation of sudo and su

Added to portage

2026-08-31

sway - 1.11-r1
Ebuild name:

gui-wm/sway-1.11-r1

Description

i3-compatible Wayland window manager

Added to portage

2026-08-31

sway - 1.12-r1
Ebuild name:

gui-wm/sway-1.12-r1

Description

i3-compatible Wayland window manager

Added to portage

2026-08-31

teamviewer - 15.81.5
Ebuild name:

net-misc/teamviewer-15.81.5

Description

All-In-One Solution for Remote Access and Support over the Internet

Added to portage

2026-08-31

transformers - 5.16.1
Ebuild name:

sci-ml/transformers-5.16.1

Description

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

Added to portage

2026-08-31

tuba - 0.11.1
Ebuild name:

net-misc/tuba-0.11.1

Description

Browse the Fediverse (GTK client)

Added to portage

2026-08-31

wrapt - 2.4.0
Ebuild name:

dev-python/wrapt-2.4.0

Description

Module for decorators, wrappers and monkey patching

Added to portage

2026-08-31

xsimd - 14.3.0
Ebuild name:

dev-cpp/xsimd-14.3.0

Description

C++ wrappers for SIMD intrinsics

Added to portage

2026-08-31

zeroconf - 0.151.3
Ebuild name:

dev-python/zeroconf-0.151.3

Description

Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi comp

Added to portage

2026-08-31

zoxide - 0.10.0
Ebuild name:

app-shells/zoxide-0.10.0

Description

A smarter cd command for your terminal

Added to portage

2026-08-31

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