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:

82183

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.


rate this article:
current rating: average rating: 1.3 (25 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2025-11-28
clang - 22.0.0_pre20251127
Ebuild name:

dev-python/clang-22.0.0_pre20251127

Description

Python bindings for llvm-core/clang

Added to portage

2025-11-28

clang - 22.0.0_pre20251127
Ebuild name:

llvm-core/clang-22.0.0_pre20251127

Description

C language family frontend for LLVM

Added to portage

2025-11-28

clang-common - 22.0.0_pre20251127
Ebuild name:

llvm-core/clang-common-22.0.0_pre20251127

Description

Common files shared between multiple slots of clang

Added to portage

2025-11-28

compiler-rt - 22.0.0_pre20251127
Ebuild name:

llvm-runtimes/compiler-rt-22.0.0_pre20251127

Description

Compiler runtime library for clang (built-in part)

Added to portage

2025-11-28

compiler-rt-sanitizers - 22.0.0_pre20251127
Ebuild name:

llvm-runtimes/compiler-rt-sanitizers-22.0.0_pre20251127

Description

Compiler runtime libraries for clang (sanit

Added to portage

2025-11-28

flang - 22.0.0_pre20251127
Ebuild name:

llvm-core/flang-22.0.0_pre20251127

Description

LLVM's Fortran frontend

Added to portage

2025-11-28

flang-rt - 22.0.0_pre20251127
Ebuild name:

llvm-runtimes/flang-rt-22.0.0_pre20251127

Description

LLVM's Fortran runtime

Added to portage

2025-11-28

libclc - 22.0.0_pre20251127
Ebuild name:

llvm-core/libclc-22.0.0_pre20251127

Description

OpenCL C library

Added to portage

2025-11-28

libcxx - 22.0.0_pre20251127
Ebuild name:

llvm-runtimes/libcxx-22.0.0_pre20251127

Description

New implementation of the C++ standard library, targeting C

Added to portage

2025-11-28

libcxxabi - 22.0.0_pre20251127
Ebuild name:

llvm-runtimes/libcxxabi-22.0.0_pre20251127

Description

Low level support for a standard C++ library

Added to portage

2025-11-28

libgcc - 22.0.0_pre20251127
Ebuild name:

llvm-runtimes/libgcc-22.0.0_pre20251127

Description

Compiler runtime library for clang, compatible with libgcc_

Added to portage

2025-11-28

libunwind - 22.0.0_pre20251127
Ebuild name:

llvm-runtimes/libunwind-22.0.0_pre20251127

Description

C++ runtime stack unwinder from LLVM

Added to portage

2025-11-28

lit - 22.0.0_pre20251127
Ebuild name:

dev-python/lit-22.0.0_pre20251127

Description

A stand-alone install of the LLVM suite testing tool

Added to portage

2025-11-28

lld - 22.0.0_pre20251127
Ebuild name:

llvm-core/lld-22.0.0_pre20251127

Description

The LLVM linker (link editor)

Added to portage

2025-11-28

lldb - 22.0.0_pre20251127
Ebuild name:

llvm-core/lldb-22.0.0_pre20251127

Description

The LLVM debugger

Added to portage

2025-11-28

llvm - 22.0.0_pre20251127
Ebuild name:

dev-ml/llvm-22.0.0_pre20251127

Description

OCaml bindings for LLVM

Added to portage

2025-11-28

llvm - 22.0.0_pre20251127
Ebuild name:

llvm-core/llvm-22.0.0_pre20251127

Description

Low Level Virtual Machine

Added to portage

2025-11-28

llvm-common - 22.0.0_pre20251127
Ebuild name:

llvm-core/llvm-common-22.0.0_pre20251127

Description

Common files shared between multiple slots of LLVM

Added to portage

2025-11-28

mlir - 22.0.0_pre20251127
Ebuild name:

llvm-core/mlir-22.0.0_pre20251127

Description

Multi-Level Intermediate Representation (library only)

Added to portage

2025-11-28

offload - 22.0.0_pre20251127
Ebuild name:

llvm-runtimes/offload-22.0.0_pre20251127

Description

OpenMP offloading support

Added to portage

2025-11-28

openmp - 22.0.0_pre20251127
Ebuild name:

llvm-runtimes/openmp-22.0.0_pre20251127

Description

OpenMP runtime library for LLVM/clang compiler

Added to portage

2025-11-28

polly - 22.0.0_pre20251127
Ebuild name:

llvm-core/polly-22.0.0_pre20251127

Description

Polyhedral optimizations for LLVM

Added to portage

2025-11-28

qgis - 3.44.5
Ebuild name:

sci-geosciences/qgis-3.44.5

Description

User friendly Geographic Information System

Added to portage

2025-11-28

steve - 1.0.2
Ebuild name:

dev-build/steve-1.0.2

Description

A simple jobserver for Gentoo

Added to portage

2025-11-28

2025-11-27
awscli - 1.43.5
Ebuild name:

app-admin/awscli-1.43.5

Description

Universal Command Line Environment for AWS

Added to portage

2025-11-27

bash - 5.3_p8
Ebuild name:

app-shells/bash-5.3_p8

Description

The standard GNU Bourne again shell

Added to portage

2025-11-27

borgmatic - 2.0.12
Ebuild name:

app-backup/borgmatic-2.0.12

Description

Automatically create, prune and verify backups with borgbackup

Added to portage

2025-11-27

boto3 - 1.41.5
Ebuild name:

dev-python/boto3-1.41.5

Description

The AWS SDK for Python

Added to portage

2025-11-27

botocore - 1.41.5
Ebuild name:

dev-python/botocore-1.41.5

Description

Low-level, data-driven core of boto 3

Added to portage

2025-11-27

charset-normalizer - 3.4.4-r1
Ebuild name:

dev-python/charset-normalizer-3.4.4-r1

Description

The Real First Universal Charset Detector

Added to portage

2025-11-27

clang - 16.0.6-r1
Ebuild name:

llvm-core/clang-16.0.6-r1

Description

C language family frontend for LLVM

Added to portage

2025-11-27

clang - 17.0.6-r1
Ebuild name:

llvm-core/clang-17.0.6-r1

Description

C language family frontend for LLVM

Added to portage

2025-11-27

clang - 18.1.8-r7
Ebuild name:

llvm-core/clang-18.1.8-r7

Description

C language family frontend for LLVM

Added to portage

2025-11-27

clang - 19.1.7-r1
Ebuild name:

llvm-core/clang-19.1.7-r1

Description

C language family frontend for LLVM

Added to portage

2025-11-27

clang-linker-config - 16
Ebuild name:

llvm-core/clang-linker-config-16

Description

Default linker configuration for clang

Added to portage

2025-11-27

clang-linker-config - 17
Ebuild name:

llvm-core/clang-linker-config-17

Description

Default linker configuration for clang

Added to portage

2025-11-27

clang-linker-config - 18
Ebuild name:

llvm-core/clang-linker-config-18

Description

Default linker configuration for clang

Added to portage

2025-11-27

clang-linker-config - 19
Ebuild name:

llvm-core/clang-linker-config-19

Description

Default linker configuration for clang

Added to portage

2025-11-27

clang-rtlib-config - 16
Ebuild name:

llvm-runtimes/clang-rtlib-config-16

Description

Default rtlib configuration for clang

Added to portage

2025-11-27

clang-rtlib-config - 17
Ebuild name:

llvm-runtimes/clang-rtlib-config-17

Description

Default rtlib configuration for clang

Added to portage

2025-11-27

clang-rtlib-config - 18
Ebuild name:

llvm-runtimes/clang-rtlib-config-18

Description

Default rtlib configuration for clang

Added to portage

2025-11-27

clang-rtlib-config - 19
Ebuild name:

llvm-runtimes/clang-rtlib-config-19

Description

Default rtlib configuration for clang

Added to portage

2025-11-27

clang-runtime - 16.0.6-r1
Ebuild name:

llvm-runtimes/clang-runtime-16.0.6-r1

Description

Meta-ebuild for clang runtime libraries

Added to portage

2025-11-27

clang-runtime - 17.0.6-r1
Ebuild name:

llvm-runtimes/clang-runtime-17.0.6-r1

Description

Meta-ebuild for clang runtime libraries

Added to portage

2025-11-27

clang-runtime - 18.1.8-r1
Ebuild name:

llvm-runtimes/clang-runtime-18.1.8-r1

Description

Meta-ebuild for clang runtime libraries

Added to portage

2025-11-27

clang-runtime - 19.1.7-r1
Ebuild name:

llvm-runtimes/clang-runtime-19.1.7-r1

Description

Meta-ebuild for clang runtime libraries

Added to portage

2025-11-27

clang-stdlib-config - 16
Ebuild name:

llvm-runtimes/clang-stdlib-config-16

Description

Default C++ library configuration for clang

Added to portage

2025-11-27

clang-stdlib-config - 17
Ebuild name:

llvm-runtimes/clang-stdlib-config-17

Description

Default C++ library configuration for clang

Added to portage

2025-11-27

clang-stdlib-config - 18
Ebuild name:

llvm-runtimes/clang-stdlib-config-18

Description

Default C++ library configuration for clang

Added to portage

2025-11-27

clang-stdlib-config - 19
Ebuild name:

llvm-runtimes/clang-stdlib-config-19

Description

Default C++ library configuration for clang

Added to portage

2025-11-27

clang-unwindlib-config - 16
Ebuild name:

llvm-runtimes/clang-unwindlib-config-16

Description

Default unwindlib configuration for clang

Added to portage

2025-11-27

clang-unwindlib-config - 17
Ebuild name:

llvm-runtimes/clang-unwindlib-config-17

Description

Default unwindlib configuration for clang

Added to portage

2025-11-27

clang-unwindlib-config - 18
Ebuild name:

llvm-runtimes/clang-unwindlib-config-18

Description

Default unwindlib configuration for clang

Added to portage

2025-11-27

clang-unwindlib-config - 19
Ebuild name:

llvm-runtimes/clang-unwindlib-config-19

Description

Default unwindlib configuration for clang

Added to portage

2025-11-27

copyq - 13.0.0
Ebuild name:

x11-misc/copyq-13.0.0

Description

Clipboard manager with advanced features

Added to portage

2025-11-27

easyeffects - 8.0.5
Ebuild name:

media-sound/easyeffects-8.0.5

Description

Limiter, auto volume and many other plugins for PipeWire applications

Added to portage

2025-11-27

element-desktop-bin - 1.12.4
Ebuild name:

net-im/element-desktop-bin-1.12.4

Description

A glossy Matrix collaboration client for desktop (binary package)

Added to portage

2025-11-27

git-crypt - 0.8.0
Ebuild name:

dev-vcs/git-crypt-0.8.0

Description

Transparent file encryption in git

Added to portage

2025-11-27

haproxy - 3.3.0
Ebuild name:

net-proxy/haproxy-3.3.0

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2025-11-27

haproxy - 3.3.9999
Ebuild name:

net-proxy/haproxy-3.3.9999

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2025-11-27

hatchling - 1.28.0
Ebuild name:

dev-python/hatchling-1.28.0

Description

Modern, extensible Python build backend

Added to portage

2025-11-27

jalv - 1.6.8-r1
Ebuild name:

media-sound/jalv-1.6.8-r1

Description

Simple but fully featured LV2 host for Jack

Added to portage

2025-11-27

just - 1.43.1
Ebuild name:

dev-build/just-1.43.1

Description

Just a command runner (with syntax inspired by 'make')

Added to portage

2025-11-27

kimageannotator - 0.7.2
Ebuild name:

media-libs/kimageannotator-0.7.2

Description

Tool for annotating images

Added to portage

2025-11-27

kquickimageeditor - 0.6.0
Ebuild name:

media-libs/kquickimageeditor-0.6.0

Description

QtQuick components providing basic image editing capabilities

Added to portage

2025-11-27

libinput - 1.30.0
Ebuild name:

dev-libs/libinput-1.30.0

Description

Library to handle input devices in Wayland

Added to portage

2025-11-27

limine - 10.3.2
Ebuild name:

sys-boot/limine-10.3.2

Description

Limine is a modern, advanced, and portable BIOS/UEFI multiprotocol bootloade

Added to portage

2025-11-27

linux-firmware - 20251125
Ebuild name:

sys-kernel/linux-firmware-20251125

Description

Linux firmware files

Added to portage

2025-11-27

njs - 0.9.4
Ebuild name:

www-nginx/njs-0.9.4

Description

A subset of JavaScript language to use in NGINX

Added to portage

2025-11-27

nuitka - 2.8.7
Ebuild name:

dev-python/nuitka-2.8.7

Description

Python to native compiler

Added to portage

2025-11-27

persist - 0.6.1
Ebuild name:

app-emacs/persist-0.6.1

Description

Persist variables between Emacs sessions

Added to portage

2025-11-27

persist - 0.7
Ebuild name:

app-emacs/persist-0.7

Description

Persist variables between Emacs sessions

Added to portage

2025-11-27

pydantic - 2.12.5
Ebuild name:

dev-python/pydantic-2.12.5

Description

Data parsing and validation using Python type hints

Added to portage

2025-11-27

pymdown-extensions - 10.17.2
Ebuild name:

dev-python/pymdown-extensions-10.17.2

Description

Extensions for Python Markdown

Added to portage

2025-11-27

pyspelling - 2.12.1
Ebuild name:

dev-python/pyspelling-2.12.1

Description

Spell checker automation tool

Added to portage

2025-11-27

python-xmp-toolkit - 2.1.0
Ebuild name:

dev-python/python-xmp-toolkit-2.1.0

Description

Library for working with XMP metadata

Added to portage

2025-11-27

quickjs-ng - 0.11.0
Ebuild name:

dev-libs/quickjs-ng-0.11.0

Description

QuickJS, the Next Generation a mighty JavaScript engine

Added to portage

2025-11-27

sigstore-models - 0.0.6
Ebuild name:

dev-python/sigstore-models-0.0.6

Description

Pydantic based models for Sigstore's protobuf specifications

Added to portage

2025-11-27

spotipy - 2.25.2
Ebuild name:

dev-python/spotipy-2.25.2

Description

A lightweight Python library for the Spotify Web API

Added to portage

2025-11-27

steve - 1.0.0
Ebuild name:

dev-build/steve-1.0.0

Description

A simple jobserver for Gentoo

Added to portage

2025-11-27

steve - 1.0.1
Ebuild name:

dev-build/steve-1.0.1

Description

A simple jobserver for Gentoo

Added to portage

2025-11-27

subtitlecomposer - 0.8.2-r1
Ebuild name:

media-video/subtitlecomposer-0.8.2-r1

Description

Text-based subtitles editor

Added to portage

2025-11-27

telegram-desktop-bin - 6.3.4
Ebuild name:

net-im/telegram-desktop-bin-6.3.4

Description

Official desktop client for Telegram (binary package)

Added to portage

2025-11-27

uv - 0.9.13
Ebuild name:

dev-python/uv-0.9.13

Description

A Python package installer and resolver, written in Rust

Added to portage

2025-11-27

uv-build - 0.9.13
Ebuild name:

dev-python/uv-build-0.9.13

Description

PEP517 uv build backend

Added to portage

2025-11-27

vlc - 3.0.22_rc2
Ebuild name:

media-video/vlc-3.0.22_rc2

Description

Media player and framework with support for most multimedia files and st

Added to portage

2025-11-27

wayland-utils - 1.3.0
Ebuild name:

app-misc/wayland-utils-1.3.0

Description

Display information about supported Wayland protocols and current comp

Added to portage

2025-11-27

xorg-server - 21.1.21
Ebuild name:

x11-base/xorg-server-21.1.21

Description

X.Org X servers

Added to portage

2025-11-27

zlib-ng - 2.3.1
Ebuild name:

sys-libs/zlib-ng-2.3.1

Description

Fork of the zlib data compression library

Added to portage

2025-11-27

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 57.0 ms