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:

82630

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-28
automake-vanilla - 1.11.6
Ebuild name:

dev-build/automake-vanilla-1.11.6

Description

Used to generate Makefile.in from Makefile.am

Added to portage

2025-12-28

automake-vanilla - 1.15.1
Ebuild name:

dev-build/automake-vanilla-1.15.1

Description

Used to generate Makefile.in from Makefile.am

Added to portage

2025-12-28

automake-vanilla - 1.16.5
Ebuild name:

dev-build/automake-vanilla-1.16.5

Description

Used to generate Makefile.in from Makefile.am

Added to portage

2025-12-28

clr-loader - 0.2.9
Ebuild name:

dev-python/clr-loader-0.2.9

Description

Generic pure Python loader for .NET runtimes

Added to portage

2025-12-28

duplicati - 2.2.0.1.2025.11.09
Ebuild name:

app-backup/duplicati-2.2.0.1.2025.11.09

Description

Backup client that securely stores encrypted, incremental,

Added to portage

2025-12-28

joplin-desktop - 3.5.9
Ebuild name:

app-office/joplin-desktop-3.5.9

Description

Secure note taking and to-do app with synchronization capabilities

Added to portage

2025-12-28

langkit-contrib - 26.0.0
Ebuild name:

dev-ada/langkit-contrib-26.0.0

Description

A Python framework to generate language parsers - Contrib

Added to portage

2025-12-28

libadalang - 26.0.0
Ebuild name:

dev-ada/libadalang-26.0.0

Description

high performance semantic engine for the Ada programming language

Added to portage

2025-12-28

netcoredbg - 3.1.3.1062
Ebuild name:

dev-dotnet/netcoredbg-3.1.3.1062

Description

NetCoreDbg is a managed code debugger with MI interface for CoreCL

Added to portage

2025-12-28

nvc - 1.18.2-r1
Ebuild name:

sci-electronics/nvc-1.18.2-r1

Description

NVC is a VHDL compiler and simulator

Added to portage

2025-12-28

pkg-info - 0.6-r1
Ebuild name:

app-emacs/pkg-info-0.6-r1

Description

Provide information about Emacs packages

Added to portage

2025-12-28

polychromatic - 0.9.6
Ebuild name:

sys-apps/polychromatic-0.9.6

Description

RGB lighting management software for GNU/Linux powered by OpenRazer

Added to portage

2025-12-28

puppet-mode - 0.4-r1
Ebuild name:

app-emacs/puppet-mode-0.4-r1

Description

Emacs major mode for editing Puppet manifests

Added to portage

2025-12-28

pwsh - 7.5.4-r1
Ebuild name:

app-shells/pwsh-7.5.4-r1

Description

Cross-platform automation and configuration tool

Added to portage

2025-12-28

scss-mode - 0.5.0_p20180123-r2
Ebuild name:

app-emacs/scss-mode-0.5.0_p20180123-r2

Description

Major mode for editing SCSS files in Emacs

Added to portage

2025-12-28

session - 2.4b-r1
Ebuild name:

app-emacs/session-2.4b-r1

Description

When you start Emacs, Session restores various variables from your last s

Added to portage

2025-12-28

sqlite3 - 2.9.0
Ebuild name:

dev-ruby/sqlite3-2.9.0

Description

An extension library to access a SQLite database from Ruby

Added to portage

2025-12-28

sumibi - 0.7.4-r1
Ebuild name:

app-emacs/sumibi-0.7.4-r1

Description

Statistical Japanese input method using the Internet as a large corpus

Added to portage

2025-12-28

tempo-snippets - 0.1.5-r1
Ebuild name:

app-emacs/tempo-snippets-0.1.5-r1

Description

Visual insertion of tempo templates

Added to portage

2025-12-28

treepy - 0.1.2-r1
Ebuild name:

app-emacs/treepy-0.1.2-r1

Description

Generic tree traversing tools for Emacs Lisp

Added to portage

2025-12-28

visual-basic-mode - 1.5-r1
Ebuild name:

app-emacs/visual-basic-mode-1.5-r1

Description

A mode for editing Visual Basic programs

Added to portage

2025-12-28

yaml-mode - 0.0.16-r1
Ebuild name:

app-emacs/yaml-mode-0.0.16-r1

Description

A major mode for GNU Emacs for editing YAML files

Added to portage

2025-12-28

zenburn - 20110907-r2
Ebuild name:

app-emacs/zenburn-20110907-r2

Description

Zenburn color theme for Emacs

Added to portage

2025-12-28

2025-12-27
adolc - 2.7.2-r1
Ebuild name:

sci-libs/adolc-2.7.2-r1

Description

Automatic differentiation system for C/C++

Added to portage

2025-12-27

awscli - 1.44.7
Ebuild name:

app-admin/awscli-1.44.7

Description

Universal Command Line Environment for AWS

Added to portage

2025-12-27

boto3 - 1.42.17
Ebuild name:

dev-python/boto3-1.42.17

Description

The AWS SDK for Python

Added to portage

2025-12-27

botocore - 1.42.17
Ebuild name:

dev-python/botocore-1.42.17

Description

Low-level, data-driven core of boto 3

Added to portage

2025-12-27

django-auth-ldap - 5.3.0
Ebuild name:

dev-python/django-auth-ldap-5.3.0

Description

Django LDAP authentication backend

Added to portage

2025-12-27

docker - 29.1.3-r1
Ebuild name:

app-containers/docker-29.1.3-r1

Description

The core functions you need to create Docker images and run Docker

Added to portage

2025-12-27

execline - 2.9.8.0
Ebuild name:

dev-lang/execline-2.9.8.0

Description

A non-interactive scripting language

Added to portage

2025-12-27

fotema - 2.4.0
Ebuild name:

media-gfx/fotema-2.4.0

Description

Photo gallery for Linux

Added to portage

2025-12-27

fractal - 13
Ebuild name:

net-im/fractal-13

Description

Matrix messaging app for GNOME written in Rust

Added to portage

2025-12-27

gcc - 13.4.1_p20251225
Ebuild name:

sys-devel/gcc-13.4.1_p20251225

Description

The GNU Compiler Collection

Added to portage

2025-12-27

gcc - 14.3.1_p20251226
Ebuild name:

sys-devel/gcc-14.3.1_p20251226

Description

The GNU Compiler Collection

Added to portage

2025-12-27

gloo - 2025.12.02
Ebuild name:

sci-ml/gloo-2025.12.02

Description

library of floating-point neural network inference operators

Added to portage

2025-12-27

jdupes - 1.28.0-r1
Ebuild name:

app-misc/jdupes-1.28.0-r1

Description

Identify duplicate files on the filesystem

Added to portage

2025-12-27

jdupes - 1.30.0-r1
Ebuild name:

app-misc/jdupes-1.30.0-r1

Description

Identify duplicate files on the filesystem

Added to portage

2025-12-27

kgb - 7.3
Ebuild name:

dev-python/kgb-7.3

Description

Python function spy support for unit tests

Added to portage

2025-12-27

koleo-cli - 0.2.137.27
Ebuild name:

app-misc/koleo-cli-0.2.137.27

Description

A simple CLI for koleo.pl railway planner

Added to portage

2025-12-27

libslirp - 4.9.1
Ebuild name:

net-libs/libslirp-4.9.1

Description

A TCP-IP emulator used to provide virtual networking services

Added to portage

2025-12-27

lossless-cut-bin - 3.67.2
Ebuild name:

media-video/lossless-cut-bin-3.67.2

Description

The swiss army knife of lossless video/audio editing

Added to portage

2025-12-27

minitest - 6.0.1
Ebuild name:

dev-ruby/minitest-6.0.1

Description

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

Added to portage

2025-12-27

multi_json - 1.19.1
Ebuild name:

dev-ruby/multi_json-1.19.1

Description

A gem to provide swappable JSON backends

Added to portage

2025-12-27

openhab-bin - 5.0.3-r2
Ebuild name:

app-misc/openhab-bin-5.0.3-r2

Description

An open-source automation software for your home

Added to portage

2025-12-27

openhab-bin - 5.1.0-r1
Ebuild name:

app-misc/openhab-bin-5.1.0-r1

Description

An open-source automation software for your home

Added to portage

2025-12-27

ostree - 2025.7
Ebuild name:

dev-util/ostree-2025.7

Description

Operating system and container binary deployment and upgrades

Added to portage

2025-12-27

pry - 0.16.0
Ebuild name:

dev-ruby/pry-0.16.0

Description

Pry is a powerful alternative to the standard IRB shell for Ruby

Added to portage

2025-12-27

railway - 2.9.4
Ebuild name:

gui-apps/railway-2.9.4

Description

Travel with all your train information in one place

Added to portage

2025-12-27

rake-compiler-dock - 1.11.0
Ebuild name:

dev-ruby/rake-compiler-dock-1.11.0

Description

Easy to use and reliable cross compiler environment for building

Added to portage

2025-12-27

rake-compiler-dock - 1.11.1
Ebuild name:

dev-ruby/rake-compiler-dock-1.11.1

Description

Easy to use and reliable cross compiler environment for building

Added to portage

2025-12-27

rdoc - 7.0.3
Ebuild name:

dev-ruby/rdoc-7.0.3

Description

An extended version of the RDoc library from Ruby 1.8

Added to portage

2025-12-27

rmagick - 6.1.5
Ebuild name:

dev-ruby/rmagick-6.1.5

Description

An interface between Ruby and the ImageMagick(TM) image processing library

Added to portage

2025-12-27

runc - 1.4.0-r1
Ebuild name:

app-containers/runc-1.4.0-r1

Description

runc container cli tools

Added to portage

2025-12-27

s6 - 2.14.0.0
Ebuild name:

sys-apps/s6-2.14.0.0

Description

skarnet.org's small and secure supervision software suite

Added to portage

2025-12-27

s6-linux-init - 1.2.0.0
Ebuild name:

sys-apps/s6-linux-init-1.2.0.0

Description

Generates an init binary for s6-based init systems

Added to portage

2025-12-27

s6-linux-utils - 2.6.4.0
Ebuild name:

sys-apps/s6-linux-utils-2.6.4.0

Description

Set of tiny linux utilities

Added to portage

2025-12-27

s6-portable-utils - 2.3.1.1
Ebuild name:

sys-apps/s6-portable-utils-2.3.1.1

Description

Set of tiny portable unix utilities

Added to portage

2025-12-27

skalibs - 2.14.5.0
Ebuild name:

dev-libs/skalibs-2.14.5.0

Description

General-purpose libraries from skarnet.org

Added to portage

2025-12-27

slirp4netns - 1.3.3
Ebuild name:

app-containers/slirp4netns-1.3.3

Description

User-mode networking for unprivileged network namespaces

Added to portage

2025-12-27

sphinx - 9.1.0_rc2
Ebuild name:

dev-python/sphinx-9.1.0_rc2

Description

Python documentation generator

Added to portage

2025-12-27

xnec2c - 4.4.18
Ebuild name:

sci-electronics/xnec2c-4.4.18

Description

A GTK+ graphical interactive version of nec2c

Added to portage

2025-12-27

yq-go - 4.50.1
Ebuild name:

app-misc/yq-go-4.50.1

Description

yq is a lightweight and portable command-line YAML, JSON and XML processor

Added to portage

2025-12-27

zstd-ruby - 2.0.4
Ebuild name:

dev-ruby/zstd-ruby-2.0.4

Description

Ruby binding for zstd (Zstandard - Fast real-time compression algorithm).

Added to portage

2025-12-27

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