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:

82159

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-26
beep - 0
Ebuild name:

acct-group/beep-0

Description

Added to portage

2025-11-26

beep - 1.4.12-r3
Ebuild name:

app-misc/beep-1.4.12-r3

Description

Advanced PC speaker beeper

Added to portage

2025-11-26

denemo - 2.6.0-r102
Ebuild name:

media-sound/denemo-2.6.0-r102

Description

A music notation editor

Added to portage

2025-11-26

fuse - 1.6.0-r4
Ebuild name:

app-emulation/fuse-1.6.0-r4

Description

Free Unix Spectrum Emulator by Philip Kendall

Added to portage

2025-11-26

nuspell - 5.1.7
Ebuild name:

app-text/nuspell-5.1.7

Description

Spell checker library and CLI for complex natural languages

Added to portage

2025-11-26

pkg-info - 0.6
Ebuild name:

app-emacs/pkg-info-0.6

Description

Provide information about Emacs packages

Added to portage

2025-11-26

synapse - 1.143.0
Ebuild name:

net-im/synapse-1.143.0

Description

Reference implementation of Matrix homeserver

Added to portage

2025-11-26

2025-11-25
autobahn - 25.11.1
Ebuild name:

dev-python/autobahn-25.11.1

Description

WebSocket and WAMP for Twisted and Asyncio

Added to portage

2025-11-25

awscli - 1.43.3
Ebuild name:

app-admin/awscli-1.43.3

Description

Universal Command Line Environment for AWS

Added to portage

2025-11-25

bash - 5.4_alpha_pre20251124
Ebuild name:

app-shells/bash-5.4_alpha_pre20251124

Description

The standard GNU Bourne again shell

Added to portage

2025-11-25

bind - 9.18.42
Ebuild name:

net-dns/bind-9.18.42

Description

Berkeley Internet Name Domain - Name Server

Added to portage

2025-11-25

bind - 9.20.16
Ebuild name:

net-dns/bind-9.20.16

Description

Berkeley Internet Name Domain - Name Server

Added to portage

2025-11-25

boto3 - 1.41.3
Ebuild name:

dev-python/boto3-1.41.3

Description

The AWS SDK for Python

Added to portage

2025-11-25

botocore - 1.41.3
Ebuild name:

dev-python/botocore-1.41.3

Description

Low-level, data-driven core of boto 3

Added to portage

2025-11-25

cargo-nextest - 0.9.114
Ebuild name:

dev-util/cargo-nextest-0.9.114

Description

Next-generation test runner for Rust

Added to portage

2025-11-25

dbmail - 3.5.5
Ebuild name:

net-mail/dbmail-3.5.5

Description

Fast and scalable sql based email services

Added to portage

2025-11-25

discord - 0.0.116
Ebuild name:

net-im/discord-0.0.116

Description

All-in-one voice and text chat for gamers

Added to portage

2025-11-25

discord - 0.0.116-r1
Ebuild name:

net-im/discord-0.0.116-r1

Description

All-in-one voice and text chat for gamers

Added to portage

2025-11-25

dist-kernel - 6.12.59
Ebuild name:

virtual/dist-kernel-6.12.59

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-11-25

dist-kernel - 6.17.9
Ebuild name:

virtual/dist-kernel-6.17.9

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-11-25

dist-kernel - 6.6.117
Ebuild name:

virtual/dist-kernel-6.6.117

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-11-25

firefox-bin - 145.0.2
Ebuild name:

www-client/firefox-bin-145.0.2

Description

Firefox Web Browser

Added to portage

2025-11-25

fscrypt - 0.3.6
Ebuild name:

sys-fs/fscrypt-0.3.6

Description

Tool for managing Linux filesystem encryption

Added to portage

2025-11-25

gentoo-kernel - 6.12.59
Ebuild name:

sys-kernel/gentoo-kernel-6.12.59

Description

Linux kernel built with Gentoo patches

Added to portage

2025-11-25

gentoo-kernel - 6.17.9
Ebuild name:

sys-kernel/gentoo-kernel-6.17.9

Description

Linux kernel built with Gentoo patches

Added to portage

2025-11-25

gentoo-kernel - 6.6.117
Ebuild name:

sys-kernel/gentoo-kernel-6.6.117

Description

Linux kernel built with Gentoo patches

Added to portage

2025-11-25

gentoo-kernel-bin - 6.12.59
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.59

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-11-25

gentoo-kernel-bin - 6.17.9
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.17.9

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-11-25

gentoo-kernel-bin - 6.6.117
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.6.117

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-11-25

gentoo-sources - 6.12.59
Ebuild name:

sys-kernel/gentoo-sources-6.12.59

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-11-25

gentoo-sources - 6.17.9
Ebuild name:

sys-kernel/gentoo-sources-6.17.9

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-11-25

gentoo-sources - 6.6.117
Ebuild name:

sys-kernel/gentoo-sources-6.6.117

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-11-25

gtk - 4.20.3-r1
Ebuild name:

gui-libs/gtk-4.20.3-r1

Description

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

Added to portage

2025-11-25

httpd-php - 8.5
Ebuild name:

virtual/httpd-php-8.5

Description

Virtual to provide PHP-enabled webservers

Added to portage

2025-11-25

ktextaddons - 1.8.0
Ebuild name:

dev-libs/ktextaddons-1.8.0

Description

Various text handling addons

Added to portage

2025-11-25

libhx - 5.2
Ebuild name:

sys-libs/libhx-5.2

Description

Platform independent library providing basic system functions

Added to portage

2025-11-25

mitmproxy - 12.2.1
Ebuild name:

net-proxy/mitmproxy-12.2.1

Description

An interactive, SSL-capable, man-in-the-middle HTTP proxy

Added to portage

2025-11-25

mitmproxy-linux - 0.12.8
Ebuild name:

net-proxy/mitmproxy-linux-0.12.8

Description

mitmproxy's Rust bits

Added to portage

2025-11-25

mitmproxy-rs - 0.12.8
Ebuild name:

net-proxy/mitmproxy-rs-0.12.8

Description

mitmproxy's Rust bits

Added to portage

2025-11-25

mlt - 7.34.1-r1
Ebuild name:

media-libs/mlt-7.34.1-r1

Description

Open source multimedia framework for television broadcasting

Added to portage

2025-11-25

mpvqt - 1.1.1-r1
Ebuild name:

media-libs/mpvqt-1.1.1-r1

Description

libmpv wrapper for QtQuick2 and QML

Added to portage

2025-11-25

msgspec - 0.20.0
Ebuild name:

dev-python/msgspec-0.20.0

Description

Fast serialization and validation library, with builtin support for many

Added to portage

2025-11-25

networkx - 3.6
Ebuild name:

dev-python/networkx-3.6

Description

Python tools to manipulate graphs and complex networks

Added to portage

2025-11-25

nextcloud - 32.0.2
Ebuild name:

www-apps/nextcloud-32.0.2

Description

Personal cloud that runs on your own server

Added to portage

2025-11-25

nghttp3 - 1.13.1
Ebuild name:

net-libs/nghttp3-1.13.1

Description

HTTP/3 library written in C

Added to portage

2025-11-25

ngtcp2 - 1.18.0
Ebuild name:

net-libs/ngtcp2-1.18.0

Description

Implementation of the IETF QUIC Protocol

Added to portage

2025-11-25

openhab-bin - 5.0.3
Ebuild name:

app-misc/openhab-bin-5.0.3

Description

An open-source automation software for your home

Added to portage

2025-11-25

pax-utils - 1.3.10
Ebuild name:

app-misc/pax-utils-1.3.10

Description

ELF utils that can check files for security relevant properties

Added to portage

2025-11-25

pcsc-lite - 2.4.0
Ebuild name:

sys-apps/pcsc-lite-2.4.0

Description

PC/SC Architecture smartcard middleware library

Added to portage

2025-11-25

pdm - 2.26.2
Ebuild name:

dev-python/pdm-2.26.2

Description

Python package and dependency manager supporting the latest PEP standards

Added to portage

2025-11-25

php - 8.5.0
Ebuild name:

dev-lang/php-8.5.0

Description

The PHP language runtime engine

Added to portage

2025-11-25

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-25

postfix - 3.11_pre20251124
Ebuild name:

mail-mta/postfix-3.11_pre20251124

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2025-11-25

pytest-localserver - 0.10.0
Ebuild name:

dev-python/pytest-localserver-0.10.0

Description

Pytest plugin to test server connections locally

Added to portage

2025-11-25

qtcurve - 1.9.0_p20250314-r2
Ebuild name:

x11-themes/qtcurve-1.9.0_p20250314-r2

Description

Widget styles for Qt and GTK2

Added to portage

2025-11-25

s3fs - 1.96
Ebuild name:

net-fs/s3fs-1.96

Description

Amazon S3 mounting via fuse

Added to portage

2025-11-25

spotify - 1.2.74-r1
Ebuild name:

media-sound/spotify-1.2.74-r1

Description

Spotify is a social music platform

Added to portage

2025-11-25

task - 3.4.2
Ebuild name:

app-misc/task-3.4.2

Description

Command-line todo list manager

Added to portage

2025-11-25

textx - 4.3.0
Ebuild name:

dev-python/textx-4.3.0

Description

Meta-language for DSL implementation inspired by Xtext

Added to portage

2025-11-25

tree-sitter-haskell - 0.23.1
Ebuild name:

dev-libs/tree-sitter-haskell-0.23.1

Description

Haskell grammar for Tree-sitter

Added to portage

2025-11-25

tree-sitter-julia - 0.25.0
Ebuild name:

dev-libs/tree-sitter-julia-0.25.0

Description

Julia grammar for Tree-sitter

Added to portage

2025-11-25

trimesh - 4.10.0
Ebuild name:

dev-python/trimesh-4.10.0

Description

Python library for loading and using triangular meshes

Added to portage

2025-11-25

types-psutil - 7.1.3.20251125
Ebuild name:

dev-python/types-psutil-7.1.3.20251125

Description

Typing stubs for psutil

Added to portage

2025-11-25

udisks - 2.11.0
Ebuild name:

sys-fs/udisks-2.11.0

Description

Daemon providing interfaces to work with storage devices

Added to portage

2025-11-25

upterm - 0.19.0
Ebuild name:

app-misc/upterm-0.19.0

Description

Instant Terminal Sharing

Added to portage

2025-11-25

userspace-rcu - 0.15.5
Ebuild name:

dev-libs/userspace-rcu-0.15.5

Description

Userspace RCU (read-copy-update) library

Added to portage

2025-11-25

vanilla-kernel - 6.12.59
Ebuild name:

sys-kernel/vanilla-kernel-6.12.59

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-11-25

vanilla-kernel - 6.17.9
Ebuild name:

sys-kernel/vanilla-kernel-6.17.9

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-11-25

vanilla-kernel - 6.6.117
Ebuild name:

sys-kernel/vanilla-kernel-6.6.117

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-11-25

vanilla-sources - 6.12.59
Ebuild name:

sys-kernel/vanilla-sources-6.12.59

Description

Full sources for the Linux kernel

Added to portage

2025-11-25

vanilla-sources - 6.17.9
Ebuild name:

sys-kernel/vanilla-sources-6.17.9

Description

Full sources for the Linux kernel

Added to portage

2025-11-25

vanilla-sources - 6.6.117
Ebuild name:

sys-kernel/vanilla-sources-6.6.117

Description

Full sources for the Linux kernel

Added to portage

2025-11-25

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