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:

83025

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-01-31
ansicolor - 0.3.3
Ebuild name:

dev-python/ansicolor-0.3.3

Description

Produce ansi color output and colored highlighting and diffing

Added to portage

2026-01-31

awscli - 1.44.29
Ebuild name:

app-admin/awscli-1.44.29

Description

Universal Command Line Environment for AWS

Added to portage

2026-01-31

boto3 - 1.42.39
Ebuild name:

dev-python/boto3-1.42.39

Description

The AWS SDK for Python

Added to portage

2026-01-31

botocore - 1.42.39
Ebuild name:

dev-python/botocore-1.42.39

Description

Low-level, data-driven core of boto 3

Added to portage

2026-01-31

cyme - 2.2.11
Ebuild name:

sys-apps/cyme-2.2.11

Description

List system USB buses and devices; a modern cross-platform `lsusb`

Added to portage

2026-01-31

dist-kernel - 6.12.68
Ebuild name:

virtual/dist-kernel-6.12.68

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-01-31

dist-kernel - 6.18.8
Ebuild name:

virtual/dist-kernel-6.18.8

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-01-31

dist-kernel - 6.6.122
Ebuild name:

virtual/dist-kernel-6.6.122

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-01-31

element - 1.12.9
Ebuild name:

www-apps/element-1.12.9

Description

A glossy Matrix collaboration client for the web

Added to portage

2026-01-31

freerdp - 3.22.0
Ebuild name:

net-misc/freerdp-3.22.0

Description

Free implementation of the Remote Desktop Protocol

Added to portage

2026-01-31

gentoo-kernel - 6.12.68
Ebuild name:

sys-kernel/gentoo-kernel-6.12.68

Description

Linux kernel built with Gentoo patches

Added to portage

2026-01-31

gentoo-kernel - 6.18.8
Ebuild name:

sys-kernel/gentoo-kernel-6.18.8

Description

Linux kernel built with Gentoo patches

Added to portage

2026-01-31

gentoo-kernel - 6.6.122
Ebuild name:

sys-kernel/gentoo-kernel-6.6.122

Description

Linux kernel built with Gentoo patches

Added to portage

2026-01-31

gentoo-kernel-bin - 6.12.68
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.68

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-01-31

gentoo-kernel-bin - 6.18.8
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.18.8

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-01-31

gentoo-kernel-bin - 6.6.122
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.6.122

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-01-31

heroic-bin - 2.19.1
Ebuild name:

games-util/heroic-bin-2.19.1

Description

GOG and Epic Games Launcher for Linux

Added to portage

2026-01-31

id - 1.6.0
Ebuild name:

dev-python/id-1.6.0

Description

A tool for generating OIDC identities

Added to portage

2026-01-31

nvidia-drivers - 580.94.17
Ebuild name:

x11-drivers/nvidia-drivers-580.94.17

Description

NVIDIA Accelerated Graphics Driver

Added to portage

2026-01-31

org-roam - 2.3.1
Ebuild name:

app-emacs/org-roam-2.3.1

Description

Rudimentary Roam replica with Org-mode

Added to portage

2026-01-31

pooch - 1.9.0
Ebuild name:

dev-python/pooch-1.9.0

Description

Manage your Python library's sample data files

Added to portage

2026-01-31

pyjwt - 2.11.0
Ebuild name:

dev-python/pyjwt-2.11.0

Description

JSON Web Token implementation in Python

Added to portage

2026-01-31

scanssh - 2.1.3.1_p20260130
Ebuild name:

net-analyzer/scanssh-2.1.3.1_p20260130

Description

network scanner that gathers info on SSH protocols and versi

Added to portage

2026-01-31

thc-ipv6 - 3.8_p20250914
Ebuild name:

net-analyzer/thc-ipv6-3.8_p20250914

Description

Complete tool set to attack the inherent protocol weaknesses of

Added to portage

2026-01-31

tqdm - 4.67.2
Ebuild name:

dev-python/tqdm-4.67.2

Description

Add a progress meter to your loops in a second

Added to portage

2026-01-31

vanilla-kernel - 6.12.68
Ebuild name:

sys-kernel/vanilla-kernel-6.12.68

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-01-31

vanilla-kernel - 6.18.8
Ebuild name:

sys-kernel/vanilla-kernel-6.18.8

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-01-31

vanilla-kernel - 6.6.122
Ebuild name:

sys-kernel/vanilla-kernel-6.6.122

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-01-31

vivaldi - 7.8.3925.56
Ebuild name:

www-client/vivaldi-7.8.3925.56

Description

A browser for our friends

Added to portage

2026-01-31

vivaldi-snapshot - 7.8.3925.53
Ebuild name:

www-client/vivaldi-snapshot-7.8.3925.53

Description

A browser for our friends

Added to portage

2026-01-31

2026-01-30
alembic - 1.18.3
Ebuild name:

dev-python/alembic-1.18.3

Description

Database migrations tool, written by the author of SQLAlchemy

Added to portage

2026-01-30

autopage - 0.6.0
Ebuild name:

dev-python/autopage-0.6.0

Description

A library to provide automatic paging for console output

Added to portage

2026-01-30

aws-sam-translator - 1.107.0
Ebuild name:

dev-python/aws-sam-translator-1.107.0

Description

A library that transform SAM templates into AWS CloudFormatio

Added to portage

2026-01-30

awscli - 1.44.28
Ebuild name:

app-admin/awscli-1.44.28

Description

Universal Command Line Environment for AWS

Added to portage

2026-01-30

bibtexparser - 1.4.4
Ebuild name:

dev-python/bibtexparser-1.4.4

Description

A BibTeX parser written in Python

Added to portage

2026-01-30

boto3 - 1.42.38
Ebuild name:

dev-python/boto3-1.42.38

Description

The AWS SDK for Python

Added to portage

2026-01-30

botocore - 1.42.38
Ebuild name:

dev-python/botocore-1.42.38

Description

Low-level, data-driven core of boto 3

Added to portage

2026-01-30

c-blosc2 - 2.23.0
Ebuild name:

dev-libs/c-blosc2-2.23.0

Description

Blocking, shuffling and lossless compression library

Added to portage

2026-01-30

claude-code - 2.1.23
Ebuild name:

dev-util/claude-code-2.1.23

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2026-01-30

cloudflared - 2026.1.2
Ebuild name:

net-vpn/cloudflared-2026.1.2

Description

A command-line client and tunneling daemon for Cloudflare Tunnel

Added to portage

2026-01-30

courier - 1.6.0
Ebuild name:

mail-mta/courier-1.6.0

Description

An MTA designed specifically for maildirs

Added to portage

2026-01-30

courier-authlib - 0.72.7
Ebuild name:

net-libs/courier-authlib-0.72.7

Description

Courier authentication library

Added to portage

2026-01-30

courier-unicode - 2.5.0
Ebuild name:

net-libs/courier-unicode-2.5.0

Description

Unicode library used by the courier mail server

Added to portage

2026-01-30

cssselect - 1.4.0
Ebuild name:

dev-python/cssselect-1.4.0

Description

Parse CSS3 Selectors and translate them to XPath 1.0

Added to portage

2026-01-30

deno-bin - 2.6.7
Ebuild name:

dev-lang/deno-bin-2.6.7

Description

Modern runtime for JavaScript and TypeScript

Added to portage

2026-01-30

dracut-crypt-ssh - 1.0.8-r2
Ebuild name:

sys-kernel/dracut-crypt-ssh-1.0.8-r2

Description

Early unlocking of encrypted systems via ssh for dracut

Added to portage

2026-01-30

gimp - 3.0.8-r1
Ebuild name:

media-gfx/gimp-3.0.8-r1

Description

GNU Image Manipulation Program

Added to portage

2026-01-30

hackrf-tools - 2026.01.3
Ebuild name:

net-wireless/hackrf-tools-2026.01.3

Description

tools for communicating with HackRF SDR platform

Added to portage

2026-01-30

kea - 3.0.2-r2
Ebuild name:

net-misc/kea-3.0.2-r2

Description

High-performance production grade DHCPv4 & DHCPv6 server

Added to portage

2026-01-30

libhackrf - 2026.01.3
Ebuild name:

net-libs/libhackrf-2026.01.3

Description

library for communicating with HackRF SDR platform

Added to portage

2026-01-30

nanobind - 2.11.0
Ebuild name:

dev-python/nanobind-2.11.0

Description

Tiny and efficient C++/Python bindings

Added to portage

2026-01-30

nbconvert - 7.17.0
Ebuild name:

dev-python/nbconvert-7.17.0

Description

Converting Jupyter Notebooks

Added to portage

2026-01-30

nvidia-drivers - 580.95.05
Ebuild name:

x11-drivers/nvidia-drivers-580.95.05

Description

NVIDIA Accelerated Graphics Driver

Added to portage

2026-01-30

nvidia-vaapi-driver - 0.0.15
Ebuild name:

media-libs/nvidia-vaapi-driver-0.0.15

Description

A VA-API implemention using NVIDIA's NVDEC

Added to portage

2026-01-30

openjdk-bin - 25.0.2_p10
Ebuild name:

dev-java/openjdk-bin-25.0.2_p10

Description

Prebuilt Java JDK binaries provided by Eclipse Temurin

Added to portage

2026-01-30

org-roam - 9999
Ebuild name:

app-emacs/org-roam-9999

Description

Rudimentary Roam replica with Org-mode

Added to portage

2026-01-30

orjson - 3.11.6
Ebuild name:

dev-python/orjson-3.11.6

Description

Fast, correct Python JSON library supporting dataclasses, datetimes, and n

Added to portage

2026-01-30

pdm-backend - 2.4.7
Ebuild name:

dev-python/pdm-backend-2.4.7

Description

A PEP 517 backend for PDM that supports PEP 621 metadata

Added to portage

2026-01-30

pikepdf - 10.3.0
Ebuild name:

dev-python/pikepdf-10.3.0

Description

Python library to work with pdf files based on qpdf

Added to portage

2026-01-30

postfix - 3.12_pre20260127
Ebuild name:

mail-mta/postfix-3.12_pre20260127

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-01-30

prometheus-podman-exporter - 1.20.0
Ebuild name:

app-metrics/prometheus-podman-exporter-1.20.0

Description

Exporter for podman giving containers, pods, images,

Added to portage

2026-01-30

protobuf - 6.33.5
Ebuild name:

dev-python/protobuf-6.33.5

Description

Google's Protocol Buffers - Python bindings

Added to portage

2026-01-30

python-dbusmock - 0.38.1
Ebuild name:

dev-python/python-dbusmock-0.38.1

Description

Easily create mock objects on D-Bus for software testing

Added to portage

2026-01-30

pytokens - 0.4.1
Ebuild name:

dev-python/pytokens-0.4.1

Description

A fast, spec compliant Python 3.13+ tokenizer that runs on older Pythons

Added to portage

2026-01-30

sphinxcontrib-trio - 1.2.0
Ebuild name:

dev-python/sphinxcontrib-trio-1.2.0

Description

Make Sphinx better at documenting Python functions and methods

Added to portage

2026-01-30

spidermonkey - 140.7.0
Ebuild name:

dev-lang/spidermonkey-140.7.0

Description

Mozilla's JavaScript engine written in C and C++

Added to portage

2026-01-30

sqlglot - 28.7.0
Ebuild name:

dev-python/sqlglot-28.7.0

Description

An easily customizable SQL parser and transpiler

Added to portage

2026-01-30

steve - 1.5.0
Ebuild name:

dev-build/steve-1.5.0

Description

A load-balancing jobserver for Gentoo

Added to portage

2026-01-30

talk-desktop-bin - 2.0.5
Ebuild name:

net-im/talk-desktop-bin-2.0.5

Description

Nextcloud Talk Desktop client

Added to portage

2026-01-30

thriftpy2 - 0.6.0_beta1
Ebuild name:

dev-python/thriftpy2-0.6.0_beta1

Description

Pure python approach of Apache Thrift

Added to portage

2026-01-30

tifffile - 2026.1.28
Ebuild name:

dev-python/tifffile-2026.1.28

Description

Read and write TIFF files

Added to portage

2026-01-30

toml-fmt-common - 1.2.0
Ebuild name:

dev-python/toml-fmt-common-1.2.0

Description

Common logic to the TOML formatter

Added to portage

2026-01-30

ttl - 0.15.3
Ebuild name:

net-analyzer/ttl-0.15.3

Description

Modern traceroute/mtr-style TUI with hop stats and optional ASN/geo enrichm

Added to portage

2026-01-30

types-psutil - 7.2.2.20260130
Ebuild name:

dev-python/types-psutil-7.2.2.20260130

Description

Typing stubs for psutil

Added to portage

2026-01-30

uv - 0.9.28
Ebuild name:

dev-python/uv-0.9.28

Description

A Python package installer and resolver, written in Rust

Added to portage

2026-01-30

uv-build - 0.9.28
Ebuild name:

dev-python/uv-build-0.9.28

Description

PEP517 uv build backend

Added to portage

2026-01-30

wcwidth - 0.5.2
Ebuild name:

dev-python/wcwidth-0.5.2

Description

Measures number of Terminal column cells of wide-character codes

Added to portage

2026-01-30

yt-dlp - 2026.01.29
Ebuild name:

net-misc/yt-dlp-2026.01.29

Description

youtube-dl fork with additional features and fixes

Added to portage

2026-01-30

yt-dlp-ejs - 0.4.0
Ebuild name:

dev-python/yt-dlp-ejs-0.4.0

Description

External JavaScript for yt-dlp supporting many runtimes

Added to portage

2026-01-30

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