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:

87383

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-08-03
FBGEMM - 1.7.0
Ebuild name:

sci-ml/FBGEMM-1.7.0

Description

Facebook GEneral Matrix Multiplication

Added to portage

2026-08-03

coverage - 7.15.3
Ebuild name:

dev-python/coverage-7.15.3

Description

Code coverage measurement for Python

Added to portage

2026-08-03

cpp-httplib - 0.51.0
Ebuild name:

dev-cpp/cpp-httplib-0.51.0

Description

C++ HTTP/HTTPS server and client library

Added to portage

2026-08-03

curl - 8.21.0-r1
Ebuild name:

net-misc/curl-8.21.0-r1

Description

A Client that groks URLs

Added to portage

2026-08-03

flrig - 2.0.10-r1
Ebuild name:

media-radio/flrig-2.0.10-r1

Description

Transceiver control program for Amateur Radio use

Added to portage

2026-08-03

gallery-dl - 1.32.9
Ebuild name:

net-misc/gallery-dl-1.32.9

Description

Download image galleries and collections from several image hosting site

Added to portage

2026-08-03

gcc - 13.4.1_p20260729
Ebuild name:

sys-devel/gcc-13.4.1_p20260729

Description

The GNU Compiler Collection

Added to portage

2026-08-03

gcc - 14.4.1_p20260730
Ebuild name:

sys-devel/gcc-14.4.1_p20260730

Description

The GNU Compiler Collection

Added to portage

2026-08-03

gcc - 15.3.1_p20260731
Ebuild name:

sys-devel/gcc-15.3.1_p20260731

Description

The GNU Compiler Collection

Added to portage

2026-08-03

gcc - 16.1.1_p20260731
Ebuild name:

sys-devel/gcc-16.1.1_p20260731

Description

The GNU Compiler Collection

Added to portage

2026-08-03

gcc - 17.0.0_p20260802
Ebuild name:

sys-devel/gcc-17.0.0_p20260802

Description

The GNU Compiler Collection

Added to portage

2026-08-03

gentoo-retirement-scripts - 3
Ebuild name:

app-admin/gentoo-retirement-scripts-3

Description

Scripts to help retiring Gentoo developers

Added to portage

2026-08-03

gentoo-sources - 6.12.101
Ebuild name:

sys-kernel/gentoo-sources-6.12.101

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-08-03

gentoo-sources - 6.18.42
Ebuild name:

sys-kernel/gentoo-sources-6.18.42

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-08-03

gentoo-sources - 6.6.148
Ebuild name:

sys-kernel/gentoo-sources-6.6.148

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-08-03

gentoo-sources - 7.1.6
Ebuild name:

sys-kernel/gentoo-sources-7.1.6

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-08-03

git-sources - 7.2_rc6
Ebuild name:

sys-kernel/git-sources-7.2_rc6

Description

The very latest -git version of the Linux kernel

Added to portage

2026-08-03

ideep - 3.12
Ebuild name:

sci-ml/ideep-3.12

Description

Intel Optimization for Chainer

Added to portage

2026-08-03

incus - 7.3
Ebuild name:

app-containers/incus-7.3

Description

Modern, secure and powerful system container and virtual machine manager

Added to portage

2026-08-03

indilib - 2.2.4.1
Ebuild name:

sci-libs/indilib-2.2.4.1

Description

INDI Astronomical Control Protocol library

Added to portage

2026-08-03

krita - 6.0.3-r1
Ebuild name:

media-gfx/krita-6.0.3-r1

Description

Free digital painting application. Digital Painting, Creative Freedom

Added to portage

2026-08-03

mame - 0.289-r2
Ebuild name:

games-emulation/mame-0.289-r2

Description

Multiple Arcade Machine Emulator

Added to portage

2026-08-03

marginalia - 2.11
Ebuild name:

app-emacs/marginalia-2.11

Description

Marginalia in the minibuffer

Added to portage

2026-08-03

markdown-mode - 2.8
Ebuild name:

app-emacs/markdown-mode-2.8

Description

Major mode for editing Markdown-formatted text files

Added to portage

2026-08-03

mastodon - 2.0.7
Ebuild name:

app-emacs/mastodon-2.0.7

Description

Emacs client for Mastodon, federated microblogging social network

Added to portage

2026-08-03

mastodon - 9999
Ebuild name:

app-emacs/mastodon-9999

Description

Emacs client for Mastodon, federated microblogging social network

Added to portage

2026-08-03

math-symbol-lists - 1.3
Ebuild name:

app-emacs/math-symbol-lists-1.3

Description

Lists of Unicode mathematical symbols and latex commands

Added to portage

2026-08-03

matlab - 6.1_p20241107
Ebuild name:

app-emacs/matlab-6.1_p20241107

Description

Major modes for MATLAB .m and .tlc files

Added to portage

2026-08-03

matlab - 8.2.0
Ebuild name:

app-emacs/matlab-8.2.0

Description

Major modes for MATLAB .m and .tlc files

Added to portage

2026-08-03

mattermost-desktop-bin - 6.3.0_rc3
Ebuild name:

net-im/mattermost-desktop-bin-6.3.0_rc3

Description

Mattermost Desktop application

Added to portage

2026-08-03

no-littering - 1.9.0
Ebuild name:

app-emacs/no-littering-1.9.0

Description

ELisp library that helps keeping Emacs configuration directory clean

Added to portage

2026-08-03

oneDNN - 3.12
Ebuild name:

sci-ml/oneDNN-3.12

Description

oneAPI Deep Neural Network Library

Added to portage

2026-08-03

osm - 2.5
Ebuild name:

app-emacs/osm-2.5

Description

OpenStreetMap tile-based viewer for GNU Emacs

Added to portage

2026-08-03

package-build - 5.0.1
Ebuild name:

app-emacs/package-build-5.0.1

Description

Tools for assembling a package archive

Added to portage

2026-08-03

plasma-bigscreen - 6.7.3-r1
Ebuild name:

kde-plasma/plasma-bigscreen-6.7.3-r1

Description

Plasma shell for TVs

Added to portage

2026-08-03

portalocker - 4.1.0
Ebuild name:

dev-python/portalocker-4.1.0

Description

A library for Python file locking

Added to portage

2026-08-03

pyqt6-sip - 13.12.0
Ebuild name:

dev-python/pyqt6-sip-13.12.0

Description

sip module support for PyQt6

Added to portage

2026-08-03

rarfile - 4.5
Ebuild name:

dev-python/rarfile-4.5

Description

Module for RAR archive reading

Added to portage

2026-08-03

rclone - 1.75.0
Ebuild name:

net-misc/rclone-1.75.0

Description

A program to sync files to and from various cloud storage providers

Added to portage

2026-08-03

s - 1.13.1
Ebuild name:

app-emacs/s-1.13.1

Description

The long lost Emacs string manipulation library

Added to portage

2026-08-03

sip - 6.16.0
Ebuild name:

dev-python/sip-6.16.0

Description

Python bindings generator for C/C++ libraries

Added to portage

2026-08-03

spyder-kernels - 3.1.5-r1
Ebuild name:

dev-python/spyder-kernels-3.1.5-r1

Description

Kernels used by spyder on its ipython console

Added to portage

2026-08-03

symbols-nerd-font - 3.5.0
Ebuild name:

media-fonts/symbols-nerd-font-3.5.0

Description

Symbols-only font containing the Nerd Font icons

Added to portage

2026-08-03

transient - 0.13.6
Ebuild name:

app-emacs/transient-0.13.6

Description

Transient commands abstraction for GNU Emacs

Added to portage

2026-08-03

tree-sitter-erlang - 0.20
Ebuild name:

dev-libs/tree-sitter-erlang-0.20

Description

Erlang programming language grammar for Tree-sitter

Added to portage

2026-08-03

vanilla-sources - 6.12.101
Ebuild name:

sys-kernel/vanilla-sources-6.12.101

Description

Full sources for the Linux kernel

Added to portage

2026-08-03

vanilla-sources - 6.18.42
Ebuild name:

sys-kernel/vanilla-sources-6.18.42

Description

Full sources for the Linux kernel

Added to portage

2026-08-03

webob - 1.8.11
Ebuild name:

dev-python/webob-1.8.11

Description

WSGI request and response object

Added to portage

2026-08-03

whenever - 0.10.4
Ebuild name:

dev-python/whenever-0.10.4

Description

Modern datetime library for Python

Added to portage

2026-08-03

with-editor - 3.5.3
Ebuild name:

app-emacs/with-editor-3.5.3

Description

Use the Emacsclient as the of child processes

Added to portage

2026-08-03

2026-08-02
cachetools - 7.1.7
Ebuild name:

dev-python/cachetools-7.1.7

Description

Extensible memoizing collections and decorators

Added to portage

2026-08-02

cbor2 - 6.1.4
Ebuild name:

dev-python/cbor2-6.1.4

Description

CBOR (de)serializer with extensive tag support

Added to portage

2026-08-02

cli11 - 2.7.2
Ebuild name:

dev-cpp/cli11-2.7.2

Description

Command line parser for C++11

Added to portage

2026-08-02

cloudflared - 2026.7.3
Ebuild name:

net-vpn/cloudflared-2026.7.3

Description

A command-line client and tunneling daemon for Cloudflare Tunnel

Added to portage

2026-08-02

cpuinfo - 2026.04.13
Ebuild name:

dev-libs/cpuinfo-2026.04.13

Description

CPU INFOrmation library

Added to portage

2026-08-02

django-polymorphic - 4.11.7
Ebuild name:

dev-python/django-polymorphic-4.11.7

Description

Seamless Polymorphic Inheritance for Django Models

Added to portage

2026-08-02

glibc - 2.44.9999
Ebuild name:

sys-libs/glibc-2.44.9999

Description

GNU libc C library

Added to portage

2026-08-02

hypothesis - 6.165.0
Ebuild name:

dev-python/hypothesis-6.165.0

Description

A library for property based testing

Added to portage

2026-08-02

mame - 0.289-r1
Ebuild name:

games-emulation/mame-0.289-r1

Description

Multiple Arcade Machine Emulator

Added to portage

2026-08-02

mirrorselect - 2.7.0
Ebuild name:

app-portage/mirrorselect-2.7.0

Description

Tool to help select distfiles mirrors for Gentoo

Added to portage

2026-08-02

netpbm - 11.2.27
Ebuild name:

media-libs/netpbm-11.2.27

Description

A set of utilities for converting to/from the netpbm (and related) format

Added to portage

2026-08-02

netselect - 0.4-r3
Ebuild name:

net-analyzer/netselect-0.4-r3

Description

Ultrafast implementation of ping

Added to portage

2026-08-02

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

sec-keys/openpgp-keys-gentoo-developers-20260727

Description

Gentoo Authority Keys (GLEP 79)

Added to portage

2026-08-02

openpgp-keys-gentoo-infrastructure - 20260727
Ebuild name:

sec-keys/openpgp-keys-gentoo-infrastructure-20260727

Description

Gentoo Authority Keys (GLEP 79)

Added to portage

2026-08-02

pax-utils - 1.3.11
Ebuild name:

app-misc/pax-utils-1.3.11

Description

ELF utils that can check files for security relevant properties

Added to portage

2026-08-02

phonenumbers - 9.0.36
Ebuild name:

dev-python/phonenumbers-9.0.36

Description

Python port of Google's libphonenumber

Added to portage

2026-08-02

pkgconf - 3.0.5
Ebuild name:

dev-util/pkgconf-3.0.5

Description

pkg-config compatible replacement with no dependencies other than C99

Added to portage

2026-08-02

portalocker - 4.0.0
Ebuild name:

dev-python/portalocker-4.0.0

Description

A library for Python file locking

Added to portage

2026-08-02

py - 1.11.0-r2
Ebuild name:

dev-python/py-1.11.0-r2

Description

library with cross-python path, ini-parsing, io, code, log facilities

Added to portage

2026-08-02

pyopenssl - 26.4.0
Ebuild name:

dev-python/pyopenssl-26.4.0

Description

Python interface to the OpenSSL library

Added to portage

2026-08-02

pytest-check - 2.9.1
Ebuild name:

dev-python/pytest-check-2.9.1

Description

pytest plugin that allows multiple failures per test

Added to portage

2026-08-02

svglib - 2.1.0
Ebuild name:

dev-python/svglib-2.1.0

Description

Pure-Python library for reading and converting SVG

Added to portage

2026-08-02

telegram-desktop-bin - 7.0.7
Ebuild name:

net-im/telegram-desktop-bin-7.0.7

Description

Official desktop client for Telegram (binary package)

Added to portage

2026-08-02

uvicorn - 0.52.1
Ebuild name:

dev-python/uvicorn-0.52.1

Description

Lightning-fast ASGI server implementation

Added to portage

2026-08-02

xdg-utils - 1.2.1-r11
Ebuild name:

x11-misc/xdg-utils-1.2.1-r11

Description

Portland utils for cross-platform/cross-toolkit/cross-desktop interope

Added to portage

2026-08-02

xwaylandvideobridge - 0.5.1
Ebuild name:

gui-apps/xwaylandvideobridge-0.5.1

Description

Screenshare Wayland windows to XWayland apps

Added to portage

2026-08-02

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