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:

82450

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
2025-12-14
concurrent-ruby - 1.3.6
Ebuild name:

dev-ruby/concurrent-ruby-1.3.6

Description

Modern concurrency tools including agents, futures, promises, thread

Added to portage

2025-12-14

flog - 4.9.0
Ebuild name:

dev-ruby/flog-4.9.0

Description

Flog reports the most tortured code in an easy to read pain report

Added to portage

2025-12-14

grub-themes-gentoo - 1.0
Ebuild name:

sys-boot/grub-themes-gentoo-1.0

Description

Grub2 Themes for Gentoo

Added to portage

2025-12-14

openresolv - 3.17.3
Ebuild name:

net-dns/openresolv-3.17.3

Description

A framework for managing DNS information

Added to portage

2025-12-14

ponysay - 3.0.3-r2
Ebuild name:

games-misc/ponysay-3.0.3-r2

Description

cowsay reimplemention for ponies

Added to portage

2025-12-14

ttfautohint - 1.8.4-r4
Ebuild name:

media-gfx/ttfautohint-1.8.4-r4

Description

Application and libary for hinting TrueType fonts

Added to portage

2025-12-14

2025-12-13
acme-client - 2.0.29
Ebuild name:

dev-ruby/acme-client-2.0.29

Description

A Ruby client for the letsencrypt's ACME protocol

Added to portage

2025-12-13

authlib - 1.6.6
Ebuild name:

dev-python/authlib-1.6.6

Description

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

Added to portage

2025-12-13

awscli - 1.43.15
Ebuild name:

app-admin/awscli-1.43.15

Description

Universal Command Line Environment for AWS

Added to portage

2025-12-13

beartype - 0.22.9
Ebuild name:

dev-python/beartype-0.22.9

Description

Unbearably fast runtime type checking in pure Python

Added to portage

2025-12-13

boogie - 3.5.6
Ebuild name:

dev-lang/boogie-3.5.6

Description

SMT-based program verifier

Added to portage

2025-12-13

boto3 - 1.42.9
Ebuild name:

dev-python/boto3-1.42.9

Description

The AWS SDK for Python

Added to portage

2025-12-13

botocore - 1.42.9
Ebuild name:

dev-python/botocore-1.42.9

Description

Low-level, data-driven core of boto 3

Added to portage

2025-12-13

cachetools - 6.2.3
Ebuild name:

dev-python/cachetools-6.2.3

Description

Extensible memoizing collections and decorators

Added to portage

2025-12-13

capistrano - 3.20.0
Ebuild name:

dev-ruby/capistrano-3.20.0

Description

A distributed application deployment system

Added to portage

2025-12-13

chrome-binary-plugins - 143.0.7499.109
Ebuild name:

www-plugins/chrome-binary-plugins-143.0.7499.109

Description

Binary plugins from Google Chrome for use in Chrom

Added to portage

2025-12-13

chrome-binary-plugins - 144.0.7559.20_beta
Ebuild name:

www-plugins/chrome-binary-plugins-144.0.7559.20_beta

Description

Binary plugins from Google Chrome for use in C

Added to portage

2025-12-13

chrome-binary-plugins - 145.0.7572.2_alpha
Ebuild name:

www-plugins/chrome-binary-plugins-145.0.7572.2_alpha

Description

Binary plugins from Google Chrome for use in C

Added to portage

2025-12-13

chromedriver-bin - 143.0.7499.109
Ebuild name:

www-apps/chromedriver-bin-143.0.7499.109

Description

WebDriver for Chrome

Added to portage

2025-12-13

chromium - 143.0.7499.109
Ebuild name:

www-client/chromium-143.0.7499.109

Description

Open-source version of Google Chrome web browser

Added to portage

2025-12-13

clojure - 1.12.4
Ebuild name:

dev-lang/clojure-1.12.4

Description

General-purpose programming language with an emphasis on functional program

Added to portage

2025-12-13

cpuinfo - 2025.11.14
Ebuild name:

dev-libs/cpuinfo-2025.11.14

Description

CPU INFOrmation library

Added to portage

2025-12-13

dar - 2.8.2
Ebuild name:

app-backup/dar-2.8.2

Description

A full featured backup tool, aimed for disks

Added to portage

2025-12-13

devcontainer - 0.80.3
Ebuild name:

app-containers/devcontainer-0.80.3

Description

Reference implementation of the Development Containers specifica

Added to portage

2025-12-13

dist-kernel - 6.12.62
Ebuild name:

virtual/dist-kernel-6.12.62

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-12-13

dist-kernel - 6.17.12
Ebuild name:

virtual/dist-kernel-6.17.12

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-12-13

duckdb - 1.4.3
Ebuild name:

dev-db/duckdb-1.4.3

Description

high-performance analytical database system

Added to portage

2025-12-13

flask-cors - 6.0.2
Ebuild name:

dev-python/flask-cors-6.0.2

Description

A Flask extension for Cross Origin Resource Sharing (CORS)

Added to portage

2025-12-13

fonttools - 4.61.1
Ebuild name:

dev-python/fonttools-4.61.1

Description

Library for manipulating TrueType, OpenType, AFM and Type1 fonts

Added to portage

2025-12-13

gallery-dl - 1.31.0
Ebuild name:

net-misc/gallery-dl-1.31.0

Description

Download image galleries and collections from several image hosting site

Added to portage

2025-12-13

gentoo-kernel - 6.12.62
Ebuild name:

sys-kernel/gentoo-kernel-6.12.62

Description

Linux kernel built with Gentoo patches

Added to portage

2025-12-13

gentoo-kernel - 6.17.12
Ebuild name:

sys-kernel/gentoo-kernel-6.17.12

Description

Linux kernel built with Gentoo patches

Added to portage

2025-12-13

gentoo-kernel-bin - 6.12.62
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.62

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-12-13

gentoo-kernel-bin - 6.17.12
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.17.12

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-12-13

google-chrome - 143.0.7499.109
Ebuild name:

www-client/google-chrome-143.0.7499.109

Description

The web browser from Google

Added to portage

2025-12-13

google-chrome-beta - 144.0.7559.20
Ebuild name:

www-client/google-chrome-beta-144.0.7559.20

Description

The web browser from Google

Added to portage

2025-12-13

google-chrome-unstable - 145.0.7572.2
Ebuild name:

www-client/google-chrome-unstable-145.0.7572.2

Description

The web browser from Google

Added to portage

2025-12-13

kstars - 3.8.0
Ebuild name:

sci-astronomy/kstars-3.8.0

Description

Desktop Planetarium

Added to portage

2025-12-13

libgpr - 26.0.0
Ebuild name:

dev-ada/libgpr-26.0.0

Description

Ada library to handle GPRbuild project files

Added to portage

2025-12-13

mac - 11.90
Ebuild name:

media-sound/mac-11.90

Description

Monkey's Audio Codecs

Added to portage

2025-12-13

microsoft-edge - 143.0.3650.80
Ebuild name:

www-client/microsoft-edge-143.0.3650.80

Description

The web browser from Microsoft

Added to portage

2025-12-13

microsoft-edge-beta - 143.0.3650.66
Ebuild name:

www-client/microsoft-edge-beta-143.0.3650.66

Description

The web browser from Microsoft

Added to portage

2025-12-13

minitest - 5.27.0
Ebuild name:

dev-ruby/minitest-5.27.0

Description

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

Added to portage

2025-12-13

moarvm - 2025.11
Ebuild name:

dev-lang/moarvm-2025.11

Description

A 6model-based VM for NQP and Raku

Added to portage

2025-12-13

nqp - 2025.11
Ebuild name:

dev-lang/nqp-2025.11

Description

Not Quite Perl, a Raku bootstrapping compiler

Added to portage

2025-12-13

opera - 125.0.5729.21
Ebuild name:

www-client/opera-125.0.5729.21

Description

A fast and secure web browser

Added to portage

2025-12-13

opera-developer - 126.0.5742.0
Ebuild name:

www-client/opera-developer-126.0.5742.0

Description

A fast and secure web browser

Added to portage

2025-12-13

opera-developer - 126.0.5744.0
Ebuild name:

www-client/opera-developer-126.0.5744.0

Description

A fast and secure web browser

Added to portage

2025-12-13

org-superstar-mode - 1.5.0
Ebuild name:

app-emacs/org-superstar-mode-1.5.0

Description

Prettify headings and plain lists in Org mode (use UTF8 bullets)

Added to portage

2025-12-13

osm - 1.10
Ebuild name:

app-emacs/osm-1.10

Description

OpenStreetMap tile-based viewer for GNU Emacs

Added to portage

2025-12-13

osm - 1.9
Ebuild name:

app-emacs/osm-1.9

Description

OpenStreetMap tile-based viewer for GNU Emacs

Added to portage

2025-12-13

osm - 9999
Ebuild name:

app-emacs/osm-9999

Description

OpenStreetMap tile-based viewer for GNU Emacs

Added to portage

2025-12-13

outline-magic - 0.9
Ebuild name:

app-emacs/outline-magic-0.9

Description

Outline mode extensions for Emacs

Added to portage

2025-12-13

puppet_forge - 6.1.0
Ebuild name:

dev-ruby/puppet_forge-6.1.0

Description

Tools to access Forge API information on Modules, Users, and Releases

Added to portage

2025-12-13

pydf - 15
Ebuild name:

app-admin/pydf-15

Description

Enhanced df with colors

Added to portage

2025-12-13

pytest-describe - 3.1.0
Ebuild name:

dev-python/pytest-describe-3.1.0

Description

Describe-style plugin for pytest

Added to portage

2025-12-13

rakudo - 2025.11
Ebuild name:

dev-lang/rakudo-2025.11

Description

A compiler for the Raku programming language

Added to portage

2025-12-13

rclone - 1.72.1
Ebuild name:

net-misc/rclone-1.72.1

Description

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

Added to portage

2025-12-13

ruff - 0.14.9
Ebuild name:

dev-util/ruff-0.14.9

Description

An extremely fast Python linter, written in Rust

Added to portage

2025-12-13

simdjson - 4.2.3
Ebuild name:

dev-libs/simdjson-4.2.3

Description

SIMD accelerated C++ JSON library

Added to portage

2025-12-13

sourcegit - 2025.39
Ebuild name:

dev-vcs/sourcegit-2025.39

Description

Open Source Git GUI client using .NET AvaloniaUI

Added to portage

2025-12-13

sqlitestudio - 4.0.0_pre20251207
Ebuild name:

dev-db/sqlitestudio-4.0.0_pre20251207

Description

Powerful cross-platform SQLite database manager

Added to portage

2025-12-13

sshkit - 1.25.0
Ebuild name:

dev-ruby/sshkit-1.25.0

Description

SSHKit makes it easy to write structured, testable SSH commands in Ruby

Added to portage

2025-12-13

steve - 1.2.0
Ebuild name:

dev-build/steve-1.2.0

Description

A load-balancing jobserver for Gentoo

Added to portage

2025-12-13

supercollider - 3.14.1-r1
Ebuild name:

media-sound/supercollider-3.14.1-r1

Description

Environment and programming language for real time audio synthe

Added to portage

2025-12-13

syd - 3.46.0
Ebuild name:

sys-apps/syd-3.46.0

Description

seccomp and landlock based application sandbox with support for namespaces

Added to portage

2025-12-13

tifffile - 2025.12.12
Ebuild name:

dev-python/tifffile-2025.12.12

Description

Read and write TIFF files

Added to portage

2025-12-13

vanilla-kernel - 6.12.62
Ebuild name:

sys-kernel/vanilla-kernel-6.12.62

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-12-13

vanilla-kernel - 6.17.12
Ebuild name:

sys-kernel/vanilla-kernel-6.17.12

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-12-13

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