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:

83637

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-03-10
framework_tool - 0.6.1
Ebuild name:

app-laptop/framework_tool-0.6.1

Description

Tool to control Framework Computer systems

Added to portage

2026-03-10

krita - 6.0.0_beta3-r1
Ebuild name:

media-gfx/krita-6.0.0_beta3-r1

Description

Free digital painting application. Digital Painting, Creative Freedo

Added to portage

2026-03-10

legion - 23.03.0-r1
Ebuild name:

sys-cluster/legion-23.03.0-r1

Description

Data-centric parallel programming system

Added to portage

2026-03-10

libxfce4ui - 4.21.4
Ebuild name:

xfce-base/libxfce4ui-4.21.4

Description

Unified widget and session management libs for Xfce

Added to portage

2026-03-10

mit-krb5-appl - 1.0.3-r4
Ebuild name:

app-crypt/mit-krb5-appl-1.0.3-r4

Description

Kerberized applications split from the main MIT Kerberos V distrib

Added to portage

2026-03-10

mrustc - 0.12.0
Ebuild name:

dev-lang/mrustc-0.12.0

Description

Mutabah's Rust Compiler

Added to portage

2026-03-10

nvidia-drivers - 595.44.02
Ebuild name:

x11-drivers/nvidia-drivers-595.44.02

Description

NVIDIA Accelerated Graphics Driver

Added to portage

2026-03-10

systemd - 259.3
Ebuild name:

sys-apps/systemd-259.3

Description

System and service manager for Linux

Added to portage

2026-03-10

systemd-utils - 259.3
Ebuild name:

sys-apps/systemd-utils-259.3

Description

Utilities split out from systemd for OpenRC users

Added to portage

2026-03-10

tmuxp - 1.66.0
Ebuild name:

app-misc/tmuxp-1.66.0

Description

tmux session manager. built on libtmux

Added to portage

2026-03-10

2026-03-09
amazon-ecr-credential-helper - 0.12.0
Ebuild name:

app-containers/amazon-ecr-credential-helper-0.12.0

Description

Automatically gets credentials for Amazon ECR on

Added to portage

2026-03-09

barman - 3.17.0
Ebuild name:

dev-db/barman-3.17.0

Description

Administration tool for disaster recovery of PostgreSQL servers

Added to portage

2026-03-09

binaryornot - 0.6.0
Ebuild name:

dev-python/binaryornot-0.6.0

Description

Ultra-lightweight pure Python package to guess whether a file is binar

Added to portage

2026-03-09

broadcom-sta - 6.30.223.271-r10
Ebuild name:

net-wireless/broadcom-sta-6.30.223.271-r10

Description

Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver

Added to portage

2026-03-09

cachetools - 7.0.4
Ebuild name:

dev-python/cachetools-7.0.4

Description

Extensible memoizing collections and decorators

Added to portage

2026-03-09

catch - 3.13.0
Ebuild name:

dev-cpp/catch-3.13.0

Description

Modern C++ header-only framework for unit-tests

Added to portage

2026-03-09

clamav - 0.103.12-r4
Ebuild name:

app-antivirus/clamav-0.103.12-r4

Description

Clam Anti-Virus Scanner

Added to portage

2026-03-09

clamav - 1.4.4
Ebuild name:

app-antivirus/clamav-1.4.4

Description

Clam Anti-Virus Scanner

Added to portage

2026-03-09

clamav - 1.5.2
Ebuild name:

app-antivirus/clamav-1.5.2

Description

Clam Anti-Virus Scanner

Added to portage

2026-03-09

cloudflare-warp - 2026.1.150.0-r1
Ebuild name:

net-vpn/cloudflare-warp-2026.1.150.0-r1

Description

Cloudflare Warp Client

Added to portage

2026-03-09

configargparse - 1.7.3
Ebuild name:

dev-python/configargparse-1.7.3

Description

Drop-in replacement for argparse supporting config files and env va

Added to portage

2026-03-09

cursor-agent - 2026.02.27
Ebuild name:

dev-util/cursor-agent-2026.02.27

Description

Cursor CLI - interact with AI agents directly from your terminal

Added to portage

2026-03-09

dbeaver-bin - 26.0.0
Ebuild name:

dev-db/dbeaver-bin-26.0.0

Description

Free universal database tool (community edition)

Added to portage

2026-03-09

deadbeef - 1.10.1
Ebuild name:

media-sound/deadbeef-1.10.1

Description

DeaDBeeF is a modular audio player similar to foobar2000

Added to portage

2026-03-09

deadbeef-mpris2-plugin - 1.16-r1
Ebuild name:

media-sound/deadbeef-mpris2-plugin-1.16-r1

Description

MPRISv2 plugin for the DeaDBeeF music player

Added to portage

2026-03-09

dos2unix - 7.5.4
Ebuild name:

app-text/dos2unix-7.5.4

Description

Convert DOS or MAC text files to UNIX format or vice versa

Added to portage

2026-03-09

drpm - 0.5.3
Ebuild name:

app-arch/drpm-0.5.3

Description

A library for making, reading and applying deltarpm packages

Added to portage

2026-03-09

elasticsearch - 9.3.1
Ebuild name:

app-misc/elasticsearch-9.3.1

Description

Free and Open, Distributed, RESTful Search Engine

Added to portage

2026-03-09

entr - 5.8
Ebuild name:

app-admin/entr-5.8

Description

Run arbitrary commands when files change

Added to portage

2026-03-09

fd - 10.4.1
Ebuild name:

sys-apps/fd-10.4.1

Description

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

Added to portage

2026-03-09

freeciv - 3.2.3
Ebuild name:

games-strategy/freeciv-3.2.3

Description

Multiplayer strategy game (Civilization Clone)

Added to portage

2026-03-09

fvwm3 - 1.1.4
Ebuild name:

x11-wm/fvwm3-1.1.4

Description

A multiple large virtual desktop window manager derived from fvwm

Added to portage

2026-03-09

fzf - 0.70.0
Ebuild name:

app-shells/fzf-0.70.0

Description

General-purpose command-line fuzzy finder, written in Golang

Added to portage

2026-03-09

gallery-dl - 1.31.9
Ebuild name:

net-misc/gallery-dl-1.31.9

Description

Download image galleries and collections from several image hosting site

Added to portage

2026-03-09

gcc - 16.0.1_p20260308
Ebuild name:

sys-devel/gcc-16.0.1_p20260308

Description

The GNU Compiler Collection

Added to portage

2026-03-09

git-absorb - 0.9.0
Ebuild name:

dev-vcs/git-absorb-0.9.0

Description

Automatically absorb staged changes into git current branch

Added to portage

2026-03-09

git-sources - 7.0_rc3
Ebuild name:

sys-kernel/git-sources-7.0_rc3

Description

The very latest -git version of the Linux kernel

Added to portage

2026-03-09

glep63-check - 12
Ebuild name:

app-crypt/glep63-check-12

Description

GLEP 63 compliance checker for OpenPGP keys

Added to portage

2026-03-09

gnumeric - 1.12.60
Ebuild name:

app-office/gnumeric-1.12.60

Description

The GNOME Spreadsheet

Added to portage

2026-03-09

goffice - 0.10.60
Ebuild name:

x11-libs/goffice-0.10.60

Description

A library of document-centric objects and utilities

Added to portage

2026-03-09

graphviz - 14.1.3
Ebuild name:

media-gfx/graphviz-14.1.3

Description

Open Source Graph Visualization Software

Added to portage

2026-03-09

groonga - 16.0.0-r1
Ebuild name:

app-text/groonga-16.0.0-r1

Description

An Embeddable Fulltext Search Engine

Added to portage

2026-03-09

joplin-desktop - 3.6.4
Ebuild name:

app-office/joplin-desktop-3.6.4

Description

Secure note taking and to-do app with synchronization capabilities

Added to portage

2026-03-09

kup - 0.3.6-r6
Ebuild name:

dev-util/kup-0.3.6-r6

Description

kernel.org uploader tool

Added to portage

2026-03-09

lowdown - 3.0.0
Ebuild name:

app-text/lowdown-3.0.0

Description

Markdown translator producing HTML5, roff documents in the ms and man format

Added to portage

2026-03-09

mit-krb5 - 1.22.2
Ebuild name:

app-crypt/mit-krb5-1.22.2

Description

MIT Kerberos V

Added to portage

2026-03-09

mmm-mode - 0.5.11
Ebuild name:

app-emacs/mmm-mode-0.5.11

Description

Enables the user to edit different parts of a file in different major mod

Added to portage

2026-03-09

moarvm - 2026.02
Ebuild name:

dev-lang/moarvm-2026.02

Description

A 6model-based VM for NQP and Raku

Added to portage

2026-03-09

moccur-edit - 2.16
Ebuild name:

app-emacs/moccur-edit-2.16

Description

An improved interface to color-moccur for editing

Added to portage

2026-03-09

mocker - 0.5.0
Ebuild name:

app-emacs/mocker-0.5.0

Description

Simple mocking framework for Emacs

Added to portage

2026-03-09

modus-themes - 5.1.0
Ebuild name:

app-emacs/modus-themes-5.1.0

Description

Highly accessible themes for GNU Emacs

Added to portage

2026-03-09

modus-themes - 5.2.0
Ebuild name:

app-emacs/modus-themes-5.2.0

Description

Highly accessible themes for GNU Emacs

Added to portage

2026-03-09

modus-themes - 9999
Ebuild name:

app-emacs/modus-themes-9999

Description

Highly accessible themes for GNU Emacs

Added to portage

2026-03-09

mongodb-compass-bin - 1.49.2
Ebuild name:

dev-db/mongodb-compass-bin-1.49.2

Description

GUI for MongoDB

Added to portage

2026-03-09

moto - 5.1.22
Ebuild name:

dev-python/moto-5.1.22

Description

Mock library for boto

Added to portage

2026-03-09

nerdctl - 2.2.1
Ebuild name:

app-containers/nerdctl-2.2.1

Description

Docker-compatible CLI for containerd, with support for Compose

Added to portage

2026-03-09

nodejs - 24.14.0
Ebuild name:

net-libs/nodejs-24.14.0

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2026-03-09

nqp - 2026.02
Ebuild name:

dev-lang/nqp-2026.02

Description

Not Quite Perl, a Raku bootstrapping compiler

Added to portage

2026-03-09

octave - 11.1.0
Ebuild name:

sci-mathematics/octave-11.1.0

Description

High-level interactive language for numerical computations

Added to portage

2026-03-09

openldap - 2.5.20
Ebuild name:

net-nds/openldap-2.5.20

Description

LDAP suite of application and development tools

Added to portage

2026-03-09

openldap - 2.6.12
Ebuild name:

net-nds/openldap-2.6.12

Description

LDAP suite of application and development tools

Added to portage

2026-03-09

openpace - 1.1.4
Ebuild name:

dev-libs/openpace-1.1.4

Description

Cryptographic library for EAC version 2

Added to portage

2026-03-09

pipewire - 1.6.1
Ebuild name:

media-video/pipewire-1.6.1

Description

Multimedia processing graphs

Added to portage

2026-03-09

prowlarr-bin - 2.3.3.5296
Ebuild name:

www-apps/prowlarr-bin-2.3.3.5296

Description

An indexer manager/proxy to integrate with your various PVR apps

Added to portage

2026-03-09

pyqt6-sip - 13.11.1
Ebuild name:

dev-python/pyqt6-sip-13.11.1

Description

sip module support for PyQt6

Added to portage

2026-03-09

rakudo - 2026.02
Ebuild name:

dev-lang/rakudo-2026.02

Description

A compiler for the Raku programming language

Added to portage

2026-03-09

robin-map - 1.4.1
Ebuild name:

dev-cpp/robin-map-1.4.1

Description

C++ fast hash map and hash set using robin hood hashing

Added to portage

2026-03-09

sdl3-image - 3.4.0
Ebuild name:

media-libs/sdl3-image-3.4.0

Description

A simple library to load images of various formats as SDL surfaces.

Added to portage

2026-03-09

sdl3-mixer - 3.1.2_rc1
Ebuild name:

media-libs/sdl3-mixer-3.1.2_rc1

Description

Simple Direct Media Layer Mixer Library

Added to portage

2026-03-09

sip - 6.15.2
Ebuild name:

dev-python/sip-6.15.2

Description

Python bindings generator for C/C++ libraries

Added to portage

2026-03-09

spectacle - 6.6.2-r1
Ebuild name:

kde-plasma/spectacle-6.6.2-r1

Description

Screenshot capture utility

Added to portage

2026-03-09

sphinx-autoapi - 3.8.0
Ebuild name:

dev-python/sphinx-autoapi-3.8.0

Description

A new approach to API documentation in Sphinx

Added to portage

2026-03-09

taskflow - 3.11.0
Ebuild name:

dev-cpp/taskflow-3.11.0

Description

Modern C++ Parallel Task Programming

Added to portage

2026-03-09

tinyproxy - 1.11.3
Ebuild name:

net-proxy/tinyproxy-1.11.3

Description

A lightweight HTTP/SSL proxy

Added to portage

2026-03-09

ugrd - 2.2.0
Ebuild name:

sys-kernel/ugrd-2.2.0

Description

Python based POSIX initramfs generator with TOML definitions

Added to portage

2026-03-09

wireplumber - 0.5.13_p20260216
Ebuild name:

media-video/wireplumber-0.5.13_p20260216

Description

Replacement for pipewire-media-session

Added to portage

2026-03-09

zchunk - 1.5.3
Ebuild name:

app-arch/zchunk-1.5.3

Description

File format designed for highly efficient deltas with good compression

Added to portage

2026-03-09

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