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:

81534

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-14
dash - 0.5.13.1
Ebuild name:

app-shells/dash-0.5.13.1

Description

Debian Almquist Shell

Added to portage

2025-10-14

fennel - 1.6.0
Ebuild name:

dev-lang/fennel-1.6.0

Description

Lisp-like language that compiles to Lua

Added to portage

2025-10-14

firefox - 144.0
Ebuild name:

www-client/firefox-144.0

Description

Firefox Web Browser

Added to portage

2025-10-14

gallery-dl - 1.30.10
Ebuild name:

net-misc/gallery-dl-1.30.10

Description

Download image galleries and collections from several image hosting sit

Added to portage

2025-10-14

kdenlive - 25.08.2-r1
Ebuild name:

kde-apps/kdenlive-25.08.2-r1

Description

Non-linear video editing suite by KDE

Added to portage

2025-10-14

newsboat - 2.41
Ebuild name:

net-news/newsboat-2.41

Description

An RSS/Atom feed reader for text terminals

Added to portage

2025-10-14

sanoid - 2.3.0-r1
Ebuild name:

sys-fs/sanoid-2.3.0-r1

Description

Policy-driven snapshot management and replication tools for OpenZFS.

Added to portage

2025-10-14

sanoid - 9999
Ebuild name:

sys-fs/sanoid-9999

Description

Policy-driven snapshot management and replication tools for OpenZFS.

Added to portage

2025-10-14

2025-10-13
XML-LibXML - 2.21.0-r1
Ebuild name:

dev-perl/XML-LibXML-2.21.0-r1

Description

Perl binding for libxml2

Added to portage

2025-10-13

cachetools - 6.2.1
Ebuild name:

dev-python/cachetools-6.2.1

Description

Extensible memoizing collections and decorators

Added to portage

2025-10-13

ceph - 20.1.1
Ebuild name:

sys-cluster/ceph-20.1.1

Description

Ceph distributed filesystem

Added to portage

2025-10-13

claude-code - 2.0.14
Ebuild name:

dev-util/claude-code-2.0.14

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2025-10-13

crc32c - 2.7.1_p0
Ebuild name:

dev-python/crc32c-2.7.1_p0

Description

CRC32c algorithm in hardware and software

Added to portage

2025-10-13

dfu-programmer - 1.1.0
Ebuild name:

dev-embedded/dfu-programmer-1.1.0

Description

A Device Firmware Update based USB programmer for Atmel chips

Added to portage

2025-10-13

erb - 5.1.1
Ebuild name:

dev-ruby/erb-5.1.1

Description

An easy to use but powerful templating system for Ruby

Added to portage

2025-10-13

firefox-bin - 144.0
Ebuild name:

www-client/firefox-bin-144.0

Description

Firefox Web Browser

Added to portage

2025-10-13

freerdp - 3.17.2-r1
Ebuild name:

net-misc/freerdp-3.17.2-r1

Description

Free implementation of the Remote Desktop Protocol

Added to portage

2025-10-13

gcc - 16.0.0_p20251012
Ebuild name:

sys-devel/gcc-16.0.0_p20251012

Description

The GNU Compiler Collection

Added to portage

2025-10-13

gentoo-sources - 6.12.52
Ebuild name:

sys-kernel/gentoo-sources-6.12.52

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-10-13

gentoo-sources - 6.16.12
Ebuild name:

sys-kernel/gentoo-sources-6.16.12

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-10-13

gentoo-sources - 6.17.2
Ebuild name:

sys-kernel/gentoo-sources-6.17.2

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-10-13

gentoo-sources - 6.6.111
Ebuild name:

sys-kernel/gentoo-sources-6.6.111

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-10-13

git-sources - 6.18_rc1
Ebuild name:

sys-kernel/git-sources-6.18_rc1

Description

The very latest -git version of the Linux kernel

Added to portage

2025-10-13

gle - 4.3.8
Ebuild name:

sci-visualization/gle-4.3.8

Description

Graphics Layout Engine

Added to portage

2025-10-13

idna - 3.11
Ebuild name:

dev-python/idna-3.11

Description

Internationalized Domain Names in Applications (IDNA)

Added to portage

2025-10-13

jc - 1.25.6
Ebuild name:

dev-python/jc-1.25.6

Description

Converts the output of popular command-line tools and file-types to JSON

Added to portage

2025-10-13

lsd - 1.2.0
Ebuild name:

sys-apps/lsd-1.2.0

Description

An ls command with a lot of pretty colors and some other stuff.

Added to portage

2025-10-13

marble - 25.08.2-r1
Ebuild name:

kde-apps/marble-25.08.2-r1

Description

Virtual Globe and World Atlas to learn more about Earth

Added to portage

2025-10-13

nuitka - 2.8.1
Ebuild name:

dev-python/nuitka-2.8.1

Description

Python to native compiler

Added to portage

2025-10-13

pam - 1.7.1-r2
Ebuild name:

sys-libs/pam-1.7.1-r2

Description

Linux-PAM (Pluggable Authentication Modules)

Added to portage

2025-10-13

pambase - 20251013
Ebuild name:

sys-auth/pambase-20251013

Description

PAM base configuration files

Added to portage

2025-10-13

pocl - 7.1
Ebuild name:

dev-libs/pocl-7.1

Description

Portable Computing Language (an implementation of OpenCL)

Added to portage

2025-10-13

pylint - 4.0.0
Ebuild name:

dev-python/pylint-4.0.0

Description

Python code static checker

Added to portage

2025-10-13

pytest-fixture-classes - 1.0.4
Ebuild name:

dev-python/pytest-fixture-classes-1.0.4

Description

Fixtures as classes

Added to portage

2025-10-13

reaper-bin - 7.48
Ebuild name:

media-sound/reaper-bin-7.48

Description

Digital audio workstation

Added to portage

2025-10-13

reazon - 0.4.1
Ebuild name:

app-emacs/reazon-0.4.1

Description

GNU Emacs implementation of miniKanren, logic programming language

Added to portage

2025-10-13

recog - 3.1.23
Ebuild name:

dev-ruby/recog-3.1.23

Description

Pattern recognition for hosts, services, and content

Added to portage

2025-10-13

sequel - 5.97.0
Ebuild name:

dev-ruby/sequel-5.97.0

Description

A lightweight database toolkit for Ruby

Added to portage

2025-10-13

setuptools-scm - 9.2.1
Ebuild name:

dev-python/setuptools-scm-9.2.1

Description

Manage versions by scm tags via setuptools

Added to portage

2025-10-13

shadow - 0
Ebuild name:

acct-group/shadow-0

Description

Added to portage

2025-10-13

shadow - 4.14.8-r1
Ebuild name:

sys-apps/shadow-4.14.8-r1

Description

Utilities to deal with user accounts

Added to portage

2025-10-13

systemd - 258.1
Ebuild name:

sys-apps/systemd-258.1

Description

System and service manager for Linux

Added to portage

2025-10-13

tlp - 1.8.0-r1
Ebuild name:

sys-power/tlp-1.8.0-r1

Description

Optimize laptop battery life

Added to portage

2025-10-13

tumbler - 4.20.1
Ebuild name:

xfce-base/tumbler-4.20.1

Description

A thumbnail service for Thunar

Added to portage

2025-10-13

uutf - 1.0.4
Ebuild name:

dev-ml/uutf-1.0.4

Description

Non-blocking streaming Unicode codec for OCaml

Added to portage

2025-10-13

vanilla-sources - 6.12.52
Ebuild name:

sys-kernel/vanilla-sources-6.12.52

Description

Full sources for the Linux kernel

Added to portage

2025-10-13

vanilla-sources - 6.16.12
Ebuild name:

sys-kernel/vanilla-sources-6.16.12

Description

Full sources for the Linux kernel

Added to portage

2025-10-13

vanilla-sources - 6.17.2
Ebuild name:

sys-kernel/vanilla-sources-6.17.2

Description

Full sources for the Linux kernel

Added to portage

2025-10-13

vanilla-sources - 6.6.111
Ebuild name:

sys-kernel/vanilla-sources-6.6.111

Description

Full sources for the Linux kernel

Added to portage

2025-10-13

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