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:

81484

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-10-09
awscli - 1.42.48
Ebuild name:

app-admin/awscli-1.42.48

Description

Universal Command Line Environment for AWS

Added to portage

2025-10-09

bitarray - 3.7.2
Ebuild name:

dev-python/bitarray-3.7.2

Description

Efficient arrays of booleans -- C extension

Added to portage

2025-10-09

boto3 - 1.40.48
Ebuild name:

dev-python/boto3-1.40.48

Description

The AWS SDK for Python

Added to portage

2025-10-09

botocore - 1.40.48
Ebuild name:

dev-python/botocore-1.40.48

Description

Low-level, data-driven core of boto 3

Added to portage

2025-10-09

calamares - 3.3.14-r4
Ebuild name:

app-admin/calamares-3.3.14-r4

Description

Distribution-independent installer framework

Added to portage

2025-10-09

certbot - 5.1.0
Ebuild name:

app-crypt/certbot-5.1.0

Description

Let's Encrypt client to automate deployment of X.509 certificates

Added to portage

2025-10-09

clang - 21.1.3
Ebuild name:

dev-python/clang-21.1.3

Description

Python bindings for llvm-core/clang

Added to portage

2025-10-09

clang - 21.1.3
Ebuild name:

llvm-core/clang-21.1.3

Description

C language family frontend for LLVM

Added to portage

2025-10-09

clang-common - 21.1.3
Ebuild name:

llvm-core/clang-common-21.1.3

Description

Common files shared between multiple slots of clang

Added to portage

2025-10-09

clang-runtime - 21.1.3
Ebuild name:

llvm-runtimes/clang-runtime-21.1.3

Description

Meta-ebuild for clang runtime libraries

Added to portage

2025-10-09

claude-code - 2.0.10
Ebuild name:

dev-util/claude-code-2.0.10

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2025-10-09

compiler-rt - 21.1.3
Ebuild name:

llvm-runtimes/compiler-rt-21.1.3

Description

Compiler runtime library for clang (built-in part)

Added to portage

2025-10-09

compiler-rt-sanitizers - 21.1.3
Ebuild name:

llvm-runtimes/compiler-rt-sanitizers-21.1.3

Description

Compiler runtime libraries for clang (sanitizers &

Added to portage

2025-10-09

filelock - 3.20.0
Ebuild name:

dev-python/filelock-3.20.0

Description

A platform independent file lock for Python

Added to portage

2025-10-09

flang - 21.1.3
Ebuild name:

llvm-core/flang-21.1.3

Description

LLVM's Fortran frontend

Added to portage

2025-10-09

flang-rt - 21.1.3
Ebuild name:

llvm-runtimes/flang-rt-21.1.3

Description

LLVM's Fortran runtime

Added to portage

2025-10-09

google-api-core - 2.26.0
Ebuild name:

dev-python/google-api-core-2.26.0

Description

Core Library for Google Client Libraries

Added to portage

2025-10-09

ksecretd-services - 6.18.0
Ebuild name:

kde-frameworks/ksecretd-services-6.18.0

Description

D-Bus service files for ksecretd kwallet runtime component

Added to portage

2025-10-09

kwallet-runtime - 6.18.0-r1
Ebuild name:

kde-frameworks/kwallet-runtime-6.18.0-r1

Description

Framework providing desktop-wide storage for passwords

Added to portage

2025-10-09

libclc - 21.1.3
Ebuild name:

llvm-core/libclc-21.1.3

Description

OpenCL C library

Added to portage

2025-10-09

libcxx - 21.1.3
Ebuild name:

llvm-runtimes/libcxx-21.1.3

Description

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

Added to portage

2025-10-09

libcxxabi - 21.1.3
Ebuild name:

llvm-runtimes/libcxxabi-21.1.3

Description

Low level support for a standard C++ library

Added to portage

2025-10-09

libgcc - 21.1.3
Ebuild name:

llvm-runtimes/libgcc-21.1.3

Description

Compiler runtime library for clang, compatible with libgcc_s

Added to portage

2025-10-09

libunwind - 21.1.3
Ebuild name:

llvm-runtimes/libunwind-21.1.3

Description

C++ runtime stack unwinder from LLVM

Added to portage

2025-10-09

lit - 21.1.3
Ebuild name:

dev-python/lit-21.1.3

Description

A stand-alone install of the LLVM suite testing tool

Added to portage

2025-10-09

lld - 21.1.3
Ebuild name:

llvm-core/lld-21.1.3

Description

The LLVM linker (link editor)

Added to portage

2025-10-09

lldb - 21.1.3
Ebuild name:

llvm-core/lldb-21.1.3

Description

The LLVM debugger

Added to portage

2025-10-09

llvm - 21.1.3
Ebuild name:

dev-ml/llvm-21.1.3

Description

OCaml bindings for LLVM

Added to portage

2025-10-09

llvm - 21.1.3
Ebuild name:

llvm-core/llvm-21.1.3

Description

Low Level Virtual Machine

Added to portage

2025-10-09

llvm-common - 21.1.3
Ebuild name:

llvm-core/llvm-common-21.1.3

Description

Common files shared between multiple slots of LLVM

Added to portage

2025-10-09

matplotlib - 3.10.7
Ebuild name:

dev-python/matplotlib-3.10.7

Description

Pure python plotting library with matlab like syntax

Added to portage

2025-10-09

mlir - 21.1.3
Ebuild name:

llvm-core/mlir-21.1.3

Description

Multi-Level Intermediate Representation (library only)

Added to portage

2025-10-09

msgpack - 1.1.2
Ebuild name:

dev-python/msgpack-1.1.2

Description

MessagePack (de)serializer for Python

Added to portage

2025-10-09

offload - 21.1.3
Ebuild name:

llvm-runtimes/offload-21.1.3

Description

OpenMP offloading support

Added to portage

2025-10-09

openmp - 21.1.3
Ebuild name:

llvm-runtimes/openmp-21.1.3

Description

OpenMP runtime library for LLVM/clang compiler

Added to portage

2025-10-09

openpgp-keys-llvm - 21.1.3
Ebuild name:

sec-keys/openpgp-keys-llvm-21.1.3

Description

OpenPGP keys used to sign LLVM releases

Added to portage

2025-10-09

patch-ng - 1.19.0
Ebuild name:

dev-python/patch-ng-1.19.0

Description

Library to parse and apply unified diffs, fork of dev-python/patch

Added to portage

2025-10-09

platformdirs - 4.5.0
Ebuild name:

dev-python/platformdirs-4.5.0

Description

A small Python module for determining appropriate platform-specific d

Added to portage

2025-10-09

polly - 21.1.3
Ebuild name:

llvm-core/polly-21.1.3

Description

Polyhedral optimizations for LLVM

Added to portage

2025-10-09

propcache - 0.4.1
Ebuild name:

dev-python/propcache-0.4.1

Description

Yet another URL library

Added to portage

2025-10-09

pyproject-fmt - 2.9.0
Ebuild name:

dev-python/pyproject-fmt-2.9.0

Description

Format your pyproject.toml file

Added to portage

2025-10-09

python-dbusmock - 0.37.1
Ebuild name:

dev-python/python-dbusmock-0.37.1

Description

Easily create mock objects on D-Bus for software testing

Added to portage

2025-10-09

pyudev - 0.24.4
Ebuild name:

dev-python/pyudev-0.24.4

Description

Python binding to libudev

Added to portage

2025-10-09

repology - 1.2.4
Ebuild name:

app-emacs/repology-1.2.4

Description

Repology API access via Emacs Lisp

Added to portage

2025-10-09

request - 0.3.3_p20220318
Ebuild name:

app-emacs/request-0.3.3_p20220318

Description

Compatible layer for URL request

Added to portage

2025-10-09

sphinx-autodoc-typehints - 3.4.0
Ebuild name:

dev-python/sphinx-autodoc-typehints-3.4.0

Description

Type hints support for the Sphinx autodoc extension

Added to portage

2025-10-09

sqlglot - 27.24.2
Ebuild name:

dev-python/sqlglot-27.24.2

Description

An easily customizable SQL parser and transpiler

Added to portage

2025-10-09

toml-fmt-common - 1.1.0
Ebuild name:

dev-python/toml-fmt-common-1.1.0

Description

Common logic to the TOML formatter

Added to portage

2025-10-09

tomli - 2.3.0
Ebuild name:

dev-python/tomli-2.3.0

Description

A lil' TOML parser

Added to portage

2025-10-09

virtualenv - 20.35.0
Ebuild name:

dev-python/virtualenv-20.35.0

Description

Virtual Python Environment builder

Added to portage

2025-10-09

2025-10-08
awscli - 1.42.47
Ebuild name:

app-admin/awscli-1.42.47

Description

Universal Command Line Environment for AWS

Added to portage

2025-10-08

bash - 5.4_alpha_pre20251007
Ebuild name:

app-shells/bash-5.4_alpha_pre20251007

Description

The standard GNU Bourne again shell

Added to portage

2025-10-08

bigdecimal - 3.3.0
Ebuild name:

dev-ruby/bigdecimal-3.3.0

Description

Arbitrary-precision decimal floating-point number library for Ruby

Added to portage

2025-10-08

borgmatic - 2.0.9
Ebuild name:

app-backup/borgmatic-2.0.9

Description

Automatically create, prune and verify backups with borgbackup

Added to portage

2025-10-08

boto3 - 1.40.47
Ebuild name:

dev-python/boto3-1.40.47

Description

The AWS SDK for Python

Added to portage

2025-10-08

botocore - 1.40.47
Ebuild name:

dev-python/botocore-1.40.47

Description

Low-level, data-driven core of boto 3

Added to portage

2025-10-08

cargo-nextest - 0.9.105
Ebuild name:

dev-util/cargo-nextest-0.9.105

Description

Next-generation test runner for Rust

Added to portage

2025-10-08

cattrs - 25.3.0
Ebuild name:

dev-python/cattrs-25.3.0

Description

Composable complex class support for attrs and dataclasses

Added to portage

2025-10-08

clang-extract - 0_pre20251006
Ebuild name:

dev-util/clang-extract-0_pre20251006

Description

Tool to extract code content from source files

Added to portage

2025-10-08

crossdev - 20251008
Ebuild name:

sys-devel/crossdev-20251008

Description

Gentoo Cross-toolchain generator

Added to portage

2025-10-08

dropbox - 234.4.5591
Ebuild name:

net-misc/dropbox-234.4.5591

Description

Dropbox daemon (pretends to be GUI-less)

Added to portage

2025-10-08

faker - 37.11.0
Ebuild name:

dev-python/faker-37.11.0

Description

A Python package that generates fake data for you

Added to portage

2025-10-08

fakeredis - 2.32.0
Ebuild name:

dev-python/fakeredis-2.32.0

Description

Fake implementation of redis API for testing purposes

Added to portage

2025-10-08

fbpdf - 0_p20250124
Ebuild name:

app-text/fbpdf-0_p20250124

Description

Framebuffer pdf and djvu viewer

Added to portage

2025-10-08

fish - 4.1.1
Ebuild name:

app-shells/fish-4.1.1

Description

Friendly Interactive SHell

Added to portage

2025-10-08

gsd - 4.2.0
Ebuild name:

dev-python/gsd-4.2.0

Description

GSD - file format specification and a library to read and write it

Added to portage

2025-10-08

hcloud - 2.8.0
Ebuild name:

dev-python/hcloud-2.8.0

Description

Official Hetzner Cloud python library

Added to portage

2025-10-08

httparty - 0.23.2
Ebuild name:

dev-ruby/httparty-0.23.2

Description

Makes http fun Also, makes consuming restful web services dead easy

Added to portage

2025-10-08

json - 2.15.1
Ebuild name:

dev-ruby/json-2.15.1

Description

A JSON implementation as a Ruby extension

Added to portage

2025-10-08

lidarr-bin - 2.14.5.4836
Ebuild name:

www-apps/lidarr-bin-2.14.5.4836

Description

Looks and smells like Sonarr but made for music

Added to portage

2025-10-08

mcelog - 207
Ebuild name:

app-admin/mcelog-207

Description

A tool to log and decode Machine Check Exceptions

Added to portage

2025-10-08

minitest - 5.26.0
Ebuild name:

dev-ruby/minitest-5.26.0

Description

minitest/unit is a small and fast replacement for ruby's huge and slow tes

Added to portage

2025-10-08

net-imap - 0.5.12
Ebuild name:

dev-ruby/net-imap-0.5.12

Description

Ruby client api for Internet Message Access Protocol

Added to portage

2025-10-08

nh3 - 0.3.1
Ebuild name:

dev-python/nh3-0.3.1

Description

Ammonia HTML sanitizer Python binding

Added to portage

2025-10-08

openssh - 10.1_p1-r1
Ebuild name:

net-misc/openssh-10.1_p1-r1

Description

Port of OpenBSD's free SSH release

Added to portage

2025-10-08

pbs-installer - 2025.10.07
Ebuild name:

dev-python/pbs-installer-2025.10.07

Description

Installer for Python Build Standalone

Added to portage

2025-10-08

pixi - 0.56.0
Ebuild name:

dev-util/pixi-0.56.0

Description

A package management and workflow tool

Added to portage

2025-10-08

pkixssh - 17.1.1
Ebuild name:

net-misc/pkixssh-17.1.1

Description

OpenSSH fork with X.509 v3 certificate support

Added to portage

2025-10-08

ppxlib - 0.36.2
Ebuild name:

dev-ml/ppxlib-0.36.2

Description

Base library and tools for ppx rewriters

Added to portage

2025-10-08

puma - 7.0.4
Ebuild name:

www-servers/puma-7.0.4

Description

a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rac

Added to portage

2025-10-08

pydantic - 2.12.0
Ebuild name:

dev-python/pydantic-2.12.0

Description

Data parsing and validation using Python type hints

Added to portage

2025-10-08

pymongo - 4.15.3
Ebuild name:

dev-python/pymongo-4.15.3

Description

Python driver for MongoDB

Added to portage

2025-10-08

pyqt5-sip - 12.17.1
Ebuild name:

dev-python/pyqt5-sip-12.17.1

Description

sip extension module for PyQt5

Added to portage

2025-10-08

pytest-check - 2.6.0
Ebuild name:

dev-python/pytest-check-2.6.0

Description

pytest plugin that allows multiple failures per test

Added to portage

2025-10-08

pytools - 2025.2.5
Ebuild name:

dev-python/pytools-2025.2.5

Description

Collection of tools missing from the Python standard library

Added to portage

2025-10-08

readline - 8.4_alpha_pre20251007
Ebuild name:

sys-libs/readline-8.4_alpha_pre20251007

Description

Another cute console display library

Added to portage

2025-10-08

redict - 7.3.6
Ebuild name:

dev-db/redict-7.3.6

Description

A persistent caching system, key-value, and data structures database

Added to portage

2025-10-08

redis - 7.0.0_beta3
Ebuild name:

dev-python/redis-7.0.0_beta3

Description

Python client for Redis key-value store

Added to portage

2025-10-08

rescript-mode - 0.1.0_p20220613
Ebuild name:

app-emacs/rescript-mode-0.1.0_p20220613

Description

Emacs major mode for ReScript

Added to portage

2025-10-08

restclient - 0_p20220426
Ebuild name:

app-emacs/restclient-0_p20220426

Description

HTTP REST client tool for GNU Emacs

Added to portage

2025-10-08

revive - 2.25
Ebuild name:

app-emacs/revive-2.25

Description

Resume Emacs

Added to portage

2025-10-08

rfcview - 0.13
Ebuild name:

app-emacs/rfcview-0.13

Description

An Emacs mode that reformats IETF RFCs for display

Added to portage

2025-10-08

ruby - 3.4.7
Ebuild name:

dev-lang/ruby-3.4.7

Description

An object-oriented scripting language

Added to portage

2025-10-08

ruff - 0.14.0
Ebuild name:

dev-util/ruff-0.14.0

Description

An extremely fast Python linter, written in Rust

Added to portage

2025-10-08

seer - 2.6
Ebuild name:

dev-util/seer-2.6

Description

GUI frontend to gdb

Added to portage

2025-10-08

snallygaster - 0.0.15
Ebuild name:

net-analyzer/snallygaster-0.0.15

Description

Finds file leaks and other security problems on HTTP servers

Added to portage

2025-10-08

sqlglot - 27.21.0
Ebuild name:

dev-python/sqlglot-27.21.0

Description

An easily customizable SQL parser and transpiler

Added to portage

2025-10-08

sudo-rs - 0.2.9
Ebuild name:

app-admin/sudo-rs-0.2.9

Description

A memory safe implementation of sudo and su.

Added to portage

2025-10-08

synapse - 1.138.4
Ebuild name:

net-im/synapse-1.138.4

Description

Reference implementation of Matrix homeserver

Added to portage

2025-10-08

synapse - 1.139.2
Ebuild name:

net-im/synapse-1.139.2

Description

Reference implementation of Matrix homeserver

Added to portage

2025-10-08

telegram-desktop-bin - 6.1.4
Ebuild name:

net-im/telegram-desktop-bin-6.1.4

Description

Official desktop client for Telegram (binary package)

Added to portage

2025-10-08

turbovnc - 3.2.1
Ebuild name:

net-misc/turbovnc-3.2.1

Description

A fast replacement for TigerVNC

Added to portage

2025-10-08

turbovnc - 3.2.90
Ebuild name:

net-misc/turbovnc-3.2.90

Description

A fast replacement for TigerVNC

Added to portage

2025-10-08

uv - 0.8.24
Ebuild name:

dev-python/uv-0.8.24

Description

A Python package installer and resolver, written in Rust

Added to portage

2025-10-08

uv - 0.9.0
Ebuild name:

dev-python/uv-0.9.0

Description

A Python package installer and resolver, written in Rust

Added to portage

2025-10-08

uv-build - 0.8.24
Ebuild name:

dev-python/uv-build-0.8.24

Description

PEP517 uv build backend

Added to portage

2025-10-08

uv-build - 0.9.0
Ebuild name:

dev-python/uv-build-0.9.0

Description

PEP517 uv build backend

Added to portage

2025-10-08

websocket-client - 1.9.0
Ebuild name:

dev-python/websocket-client-1.9.0

Description

WebSocket client for python with hybi13 support

Added to portage

2025-10-08

wireguard-tools - 1.0.20250521-r1
Ebuild name:

net-vpn/wireguard-tools-1.0.20250521-r1

Description

Required tools for WireGuard, such as wg(8) and wg-quick(8)

Added to portage

2025-10-08

xarray - 2025.10.1
Ebuild name:

dev-python/xarray-2025.10.1

Description

N-D labeled arrays and datasets in Python

Added to portage

2025-10-08

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: 80.9 ms