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:

87979

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

Portage magic

/var/log/emerge.log is well-known as the central reporitory of information about all emerge activity going on in system.

Lesser known are some tricks you can do with the content of that log file. For example, when you start an upgrade, you generally don't know how much time it will take to finish compiling. You probably don't remember how long your last mplayer installation took, but Portage does, and if you'd decipher the Unix time stamps in /var/log/emerge.log, you'd get a pretty good idea, too.

Or you could let app-portage/genlop do it for you. Emerge (the unstable, ~arch version of) genlop with:

Code Listing 1: Emerge genlop

#emerge -av genlop

Now run a pretended world upgrade and pipe it to genlop for an estimation of your upgrade schedule:

Code Listing 2: Estimate upgrade time

#emerge -pu world | genlop --pretend 
These are the pretended packages: (this may take a while; wait...) 
 
 * media-libs/tiff 
 * x11-base/xorg-x11 
 * app-sci/stellarium 
 * app-arch/gzip 
 * dev-libs/libIDL 
 * net-www/mozilla-firefox 
 * sys-boot/lilo 
 * app-doc/abs-guide 
 * app-arch/unarj 
 * app-emulation/wine 
 * app-admin/sudo 
 
Estimated update time: 4 hours, 38 minutes.

A look at the mechanism explains how Portage can double as an oracle. It uses the statistics stored in the emerge.log file, take an average of compilation times for given packages, and summarize the results. There are some uncertainties, of course, for example if you use the CCACHE feature, then compile times for a minor version bump may be much faster than the original package took compiling the first time. On the other hand, if an application has been extended with new features, the old average compile time can be shorter than the version you're about to emerge.

Another brilliant feature of genlop is its --current option, the perfect companion to the estimated compile-time from --pretend:

Code Listing 3: How much time spent since the beginning of an emerge

# genlop --current 
 * app-portage/splat-0.07  
       current merge time: 12 seconds.

Now you can say how long time you have to wait.

From http://www.gentoo.org/news/en/gwn/20041122-newsletter.xml

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2026-08-27
ansifilter - 2.23
Ebuild name:

app-text/ansifilter-2.23

Description

Handles text files containing ANSI terminal escape codes

Added to portage

2026-08-27

apsw - 3.53.4.0
Ebuild name:

dev-python/apsw-3.53.4.0

Description

APSW - Another Python SQLite Wrapper

Added to portage

2026-08-27

boto3 - 1.43.81
Ebuild name:

dev-python/boto3-1.43.81

Description

The AWS SDK for Python

Added to portage

2026-08-27

botocore - 1.43.81
Ebuild name:

dev-python/botocore-1.43.81

Description

Low-level, data-driven core of boto 3

Added to portage

2026-08-27

cachebox - 6.2.6
Ebuild name:

dev-python/cachebox-6.2.6

Description

The fastest memoizing and caching Python library written in Rust

Added to portage

2026-08-27

cargo-c - 0.10.25
Ebuild name:

dev-util/cargo-c-0.10.25

Description

Helper program to build and install c-like libraries

Added to portage

2026-08-27

click - 8.5.0
Ebuild name:

dev-python/click-8.5.0

Description

A Python package for creating beautiful command line interfaces

Added to portage

2026-08-27

fd - 10.5.0
Ebuild name:

sys-apps/fd-10.5.0

Description

Alternative to find that provides sensible defaults for 80% of the use cases

Added to portage

2026-08-27

gentoo-sources - 6.1.185
Ebuild name:

sys-kernel/gentoo-sources-6.1.185

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-08-27

gentoo-sources - 6.12.106
Ebuild name:

sys-kernel/gentoo-sources-6.12.106

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-08-27

gentoo-sources - 6.18.47
Ebuild name:

sys-kernel/gentoo-sources-6.18.47

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-08-27

gentoo-sources - 6.6.154
Ebuild name:

sys-kernel/gentoo-sources-6.6.154

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-08-27

gentoo-sources - 7.1.11
Ebuild name:

sys-kernel/gentoo-sources-7.1.11

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-08-27

gentoo-sources - 7.2.1
Ebuild name:

sys-kernel/gentoo-sources-7.2.1

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-08-27

hachoir - 3.3.0
Ebuild name:

dev-python/hachoir-3.3.0

Description

Library to view and edit a binary stream field by field

Added to portage

2026-08-27

isort - 9.0.0
Ebuild name:

dev-python/isort-9.0.0

Description

A python utility/library to sort imports

Added to portage

2026-08-27

jwcrypto - 1.5.9
Ebuild name:

dev-python/jwcrypto-1.5.9

Description

Implements JWK,JWS,JWE specifications using python-cryptography

Added to portage

2026-08-27

keystoneauth1 - 5.16.0
Ebuild name:

dev-python/keystoneauth1-5.16.0

Description

This package contains tools for authenticating to an OpenStack-base

Added to portage

2026-08-27

libzia - 4.73
Ebuild name:

dev-libs/libzia-4.73

Description

Platform abstraction code for tucnak package

Added to portage

2026-08-27

marginalia - 2.11
Ebuild name:

app-emacs/marginalia-2.11

Description

Marginalia in the minibuffer

Added to portage

2026-08-27

marginalia - 2.12
Ebuild name:

app-emacs/marginalia-2.12

Description

Marginalia in the minibuffer

Added to portage

2026-08-27

mtime - 2.2.0
Ebuild name:

dev-ml/mtime-2.2.0

Description

OCaml module to access monotonic wall-clock time

Added to portage

2026-08-27

nbxmpp - 7.4.0
Ebuild name:

dev-python/nbxmpp-7.4.0

Description

Python library to use Jabber/XMPP networks in a non-blocking way

Added to portage

2026-08-27

openstacksdk - 4.19.0
Ebuild name:

dev-python/openstacksdk-4.19.0

Description

A collection of libraries for building applications to work with Ope

Added to portage

2026-08-27

par2cmdline-turbo - 1.5.0
Ebuild name:

app-arch/par2cmdline-turbo-1.5.0

Description

par2cmdline × ParPar speed focused par2cmdline fork

Added to portage

2026-08-27

paraview - 6.1.1
Ebuild name:

sci-visualization/paraview-6.1.1

Description

Powerful scientific data visualization application

Added to portage

2026-08-27

plex-media-server - 1.43.3.10896
Ebuild name:

media-tv/plex-media-server-1.43.3.10896

Description

Free media library that is intended for use with a plex cli

Added to portage

2026-08-27

pyspnego - 0.12.2
Ebuild name:

dev-python/pyspnego-0.12.2

Description

Library to handle SPNEGO and CredSSP authentication

Added to portage

2026-08-27

python-ironicclient - 6.3.0
Ebuild name:

dev-python/python-ironicclient-6.3.0

Description

Python bindings for the Ironic API

Added to portage

2026-08-27

python-neutronclient - 14.0.0
Ebuild name:

dev-python/python-neutronclient-14.0.0

Description

A client for the OpenStack Quantum API

Added to portage

2026-08-27

python3-lxc - 7.0.0
Ebuild name:

dev-python/python3-lxc-7.0.0

Description

Python bindings for LXC

Added to portage

2026-08-27

responses - 0.26.3
Ebuild name:

dev-python/responses-0.26.3

Description

Utility for mocking out the Python Requests library

Added to portage

2026-08-27

sabnzbd - 5.1.2
Ebuild name:

net-nntp/sabnzbd-5.1.2

Description

Binary newsgrabber with web-interface

Added to portage

2026-08-27

simdjson - 4.6.9
Ebuild name:

dev-libs/simdjson-4.6.9

Description

SIMD accelerated C++ JSON library

Added to portage

2026-08-27

simplejson - 4.1.2
Ebuild name:

dev-python/simplejson-4.1.2

Description

Simple, fast, extensible JSON encoder/decoder for Python

Added to portage

2026-08-27

spotify - 1.2.96
Ebuild name:

media-sound/spotify-1.2.96

Description

Spotify is a social music platform

Added to portage

2026-08-27

spyder-kernels - 3.1.6
Ebuild name:

dev-python/spyder-kernels-3.1.6

Description

Kernels used by spyder on its ipython console

Added to portage

2026-08-27

stripe-mock - 0.203.0
Ebuild name:

dev-util/stripe-mock-0.203.0

Description

Mock HTTP server that responds like the real Stripe API

Added to portage

2026-08-27

superdiag - 1.12.0.20260810
Ebuild name:

sys-apps/superdiag-1.12.0.20260810

Description

Provides the capability to determine the health of Supermicro se

Added to portage

2026-08-27

systemd - 261.2
Ebuild name:

sys-apps/systemd-261.2

Description

System and service manager for Linux

Added to portage

2026-08-27

tor - 0.4.9.11-r1
Ebuild name:

net-vpn/tor-0.4.9.11-r1

Description

Anonymizing overlay network for TCP

Added to portage

2026-08-27

tucnak - 4.73
Ebuild name:

media-radio/tucnak-4.73

Description

Amateur Radio VHF Contest Logbook

Added to portage

2026-08-27

uim - 1.9.6-r1
Ebuild name:

app-i18n/uim-1.9.6-r1

Description

Multilingual input method framework

Added to portage

2026-08-27

vanilla-sources - 6.1.185
Ebuild name:

sys-kernel/vanilla-sources-6.1.185

Description

Full sources for the Linux kernel

Added to portage

2026-08-27

vanilla-sources - 6.12.106
Ebuild name:

sys-kernel/vanilla-sources-6.12.106

Description

Full sources for the Linux kernel

Added to portage

2026-08-27

vanilla-sources - 6.6.154
Ebuild name:

sys-kernel/vanilla-sources-6.6.154

Description

Full sources for the Linux kernel

Added to portage

2026-08-27

vanilla-sources - 7.1.11
Ebuild name:

sys-kernel/vanilla-sources-7.1.11

Description

Full sources for the Linux kernel

Added to portage

2026-08-27

vanilla-sources - 7.2.1
Ebuild name:

sys-kernel/vanilla-sources-7.2.1

Description

Full sources for the Linux kernel

Added to portage

2026-08-27

websockets - 17.1
Ebuild name:

dev-python/websockets-17.1

Description

Library for building WebSocket servers and clients in Python

Added to portage

2026-08-27

weechat - 4.10.0
Ebuild name:

net-irc/weechat-4.10.0

Description

Portable and multi-interface IRC client

Added to portage

2026-08-27

2026-08-26
acr38u - 1.7.11-r5
Ebuild name:

app-crypt/acr38u-1.7.11-r5

Description

Non CCID driver for ACR38 AC1038-based Smart Card Reader

Added to portage

2026-08-26

b4 - 0.16.0-r1
Ebuild name:

net-mail/b4-0.16.0-r1

Description

Utility for fetching patchsets from public-inbox

Added to portage

2026-08-26

boto3 - 1.43.80
Ebuild name:

dev-python/boto3-1.43.80

Description

The AWS SDK for Python

Added to portage

2026-08-26

botocore - 1.43.80
Ebuild name:

dev-python/botocore-1.43.80

Description

Low-level, data-driven core of boto 3

Added to portage

2026-08-26

cmd2 - 4.2.2
Ebuild name:

dev-python/cmd2-4.2.2

Description

Extra features for standard library's cmd module

Added to portage

2026-08-26

cramjam - 2.12.1
Ebuild name:

dev-python/cramjam-2.12.1

Description

Thin Python bindings to de/compression algorithms in Rust

Added to portage

2026-08-26

cryptography - 50.0.1
Ebuild name:

dev-python/cryptography-50.0.1

Description

Library providing cryptographic recipes and primitives

Added to portage

2026-08-26

firefox - 154.0.1
Ebuild name:

www-client/firefox-154.0.1

Description

Firefox Web Browser

Added to portage

2026-08-26

firefox-bin - 154.0.1
Ebuild name:

www-client/firefox-bin-154.0.1

Description

Firefox Web Browser

Added to portage

2026-08-26

firefox-l10n - 154.0.1
Ebuild name:

www-client/firefox-l10n-154.0.1

Description

Firefox Web Browser's translation files

Added to portage

2026-08-26

freerdp - 3.31.0
Ebuild name:

net-misc/freerdp-3.31.0

Description

Free implementation of the Remote Desktop Protocol

Added to portage

2026-08-26

gitpython - 3.1.60
Ebuild name:

dev-python/gitpython-3.1.60

Description

Library used to interact with Git repositories

Added to portage

2026-08-26

glibc - 2.43-r4
Ebuild name:

sys-libs/glibc-2.43-r4

Description

GNU libc C library

Added to portage

2026-08-26

glibc - 2.44-r2
Ebuild name:

sys-libs/glibc-2.44-r2

Description

GNU libc C library

Added to portage

2026-08-26

google-api-core - 2.35.0
Ebuild name:

dev-python/google-api-core-2.35.0

Description

Core Library for Google Client Libraries

Added to portage

2026-08-26

google-auth - 2.57.0
Ebuild name:

dev-python/google-auth-2.57.0

Description

Google Authentication Library

Added to portage

2026-08-26

google-auth-httplib2 - 0.4.2
Ebuild name:

dev-python/google-auth-httplib2-0.4.2

Description

httplib2 Transport for Google Auth

Added to portage

2026-08-26

google-auth-oauthlib - 1.4.1
Ebuild name:

dev-python/google-auth-oauthlib-1.4.1

Description

Google Authentication Library

Added to portage

2026-08-26

googleapis-common-protos - 1.75.2
Ebuild name:

dev-python/googleapis-common-protos-1.75.2

Description

Python classes generated from the common protos in the g

Added to portage

2026-08-26

gpxsee - 16.13
Ebuild name:

sci-geosciences/gpxsee-16.13

Description

Viewer and analyzer that supports gpx, tcx, kml, fit, igc and nmea fil

Added to portage

2026-08-26

gssapi - 1.12.0
Ebuild name:

dev-python/gssapi-1.12.0

Description

Low and high level wrappers around the GSSAPI C libraries

Added to portage

2026-08-26

jupyterlab-desktop-bin - 4.6.3.1
Ebuild name:

sci-misc/jupyterlab-desktop-bin-4.6.3.1

Description

JupyterLab desktop application, based on Electron

Added to portage

2026-08-26

nbd - 3.27.1
Ebuild name:

sys-block/nbd-3.27.1

Description

Userland client/server for kernel network block device

Added to portage

2026-08-26

nsd - 4.15.1
Ebuild name:

net-dns/nsd-4.15.1

Description

An authoritative only, high performance, open source name server

Added to portage

2026-08-26

openrgb - 1.0_rc3_p1
Ebuild name:

app-misc/openrgb-1.0_rc3_p1

Description

Open source RGB lighting control

Added to portage

2026-08-26

pbr - 7.1.2
Ebuild name:

dev-python/pbr-7.1.2

Description

Inject some useful and sensible default behaviors into setuptools

Added to portage

2026-08-26

pbs-installer - 2026.8.25
Ebuild name:

dev-python/pbs-installer-2026.8.25

Description

Installer for Python Build Standalone

Added to portage

2026-08-26

plotly - 7.0.0
Ebuild name:

dev-python/plotly-7.0.0

Description

Browser-based graphing library for Python

Added to portage

2026-08-26

portalocker - 4.3.0
Ebuild name:

dev-python/portalocker-4.3.0

Description

A library for Python file locking

Added to portage

2026-08-26

proto-plus - 1.28.4
Ebuild name:

dev-python/proto-plus-1.28.4

Description

Beautiful, Pythonic protocol buffers

Added to portage

2026-08-26

pydata-sphinx-theme - 0.21.0
Ebuild name:

dev-python/pydata-sphinx-theme-0.21.0

Description

Bootstrap-based Sphinx theme from the PyData community

Added to portage

2026-08-26

tex4ht - 20240311_p72882-r5
Ebuild name:

dev-tex/tex4ht-20240311_p72882-r5

Description

Converts (La)TeX to (X)HTML, XML and OO.org

Added to portage

2026-08-26

thunderbird-bin - 140.14.1
Ebuild name:

mail-client/thunderbird-bin-140.14.1

Description

Thunderbird Mail Client

Added to portage

2026-08-26

tox - 4.60.1
Ebuild name:

dev-python/tox-4.60.1

Description

virtualenv-based automation of test activities

Added to portage

2026-08-26

urwid - 4.0.13
Ebuild name:

dev-python/urwid-4.0.13

Description

Curses-based user interface library for Python

Added to portage

2026-08-26

uv - 0.12.6
Ebuild name:

dev-python/uv-0.12.6

Description

A Python package installer and resolver, written in Rust

Added to portage

2026-08-26

uv-build - 0.12.6
Ebuild name:

dev-python/uv-build-0.12.6

Description

PEP517 uv build backend

Added to portage

2026-08-26

virtualenv - 21.7.5
Ebuild name:

dev-python/virtualenv-21.7.5

Description

Virtual Python Environment builder

Added to portage

2026-08-26

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