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:

87918

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-25
claude-code - 2.1.241
Ebuild name:

dev-util/claude-code-2.1.241

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2026-08-25

folium - 0.20.0-r2
Ebuild name:

sci-geosciences/folium-0.20.0-r2

Description

Python Data, Leaflet.js Maps

Added to portage

2026-08-25

gap - 4.16.1
Ebuild name:

sci-mathematics/gap-4.16.1

Description

System for computational discrete algebra (core functionality)

Added to portage

2026-08-25

gnuradio - 9999-r2
Ebuild name:

net-wireless/gnuradio-9999-r2

Description

Toolkit that provides signal processing blocks to implement software

Added to portage

2026-08-25

kwin - 6.7.4-r2
Ebuild name:

kde-plasma/kwin-6.7.4-r2

Description

Flexible, composited Window Manager for windowing systems on Linux

Added to portage

2026-08-25

nushell - 0.115.1
Ebuild name:

app-shells/nushell-0.115.1

Description

A new type of shell, written in Rust

Added to portage

2026-08-25

plasma-nm - 6.7.4-r2
Ebuild name:

kde-plasma/plasma-nm-6.7.4-r2

Description

KDE Plasma applet for NetworkManager

Added to portage

2026-08-25

portage - 3.0.82.1
Ebuild name:

sys-apps/portage-3.0.82.1

Description

The package management and distribution system for Gentoo

Added to portage

2026-08-25

sundials - 7.8.0
Ebuild name:

sci-libs/sundials-7.8.0

Description

Suite of nonlinear solvers

Added to portage

2026-08-25

2026-08-24
atheme-services - 7.2.12-r7
Ebuild name:

net-irc/atheme-services-7.2.12-r7

Description

A portable and secure set of open-source and modular IRC services

Added to portage

2026-08-24

cachelib - 0.17.0
Ebuild name:

dev-python/cachelib-0.17.0

Description

Collection of cache libraries in the same API interface. Extracted from

Added to portage

2026-08-24

cutter - 2.5.0
Ebuild name:

dev-util/cutter-2.5.0

Description

A Qt and C++ GUI for rizin reverse engineering framework

Added to portage

2026-08-24

dist-kernel - 6.1.184
Ebuild name:

virtual/dist-kernel-6.1.184

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-08-24

dist-kernel - 6.12.105
Ebuild name:

virtual/dist-kernel-6.12.105

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-08-24

dist-kernel - 6.18.46
Ebuild name:

virtual/dist-kernel-6.18.46

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-08-24

dist-kernel - 6.6.153
Ebuild name:

virtual/dist-kernel-6.6.153

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-08-24

dist-kernel - 7.1.10
Ebuild name:

virtual/dist-kernel-7.1.10

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-08-24

drumstick - 2.11.1
Ebuild name:

media-sound/drumstick-2.11.1

Description

Qt/C++ wrapper for ALSA sequencer

Added to portage

2026-08-24

evdev - 2.0.0
Ebuild name:

dev-python/evdev-2.0.0

Description

Python library for evdev bindings

Added to portage

2026-08-24

filelock - 3.32.4
Ebuild name:

dev-python/filelock-3.32.4

Description

A platform independent file lock for Python

Added to portage

2026-08-24

gcc - 14.4.1_p20260820
Ebuild name:

sys-devel/gcc-14.4.1_p20260820

Description

The GNU Compiler Collection

Added to portage

2026-08-24

gcc - 15.3.1_p20260821
Ebuild name:

sys-devel/gcc-15.3.1_p20260821

Description

The GNU Compiler Collection

Added to portage

2026-08-24

gcc - 16.2.1_p20260822
Ebuild name:

sys-devel/gcc-16.2.1_p20260822

Description

The GNU Compiler Collection

Added to portage

2026-08-24

gcc - 17.0.0_p20260823
Ebuild name:

sys-devel/gcc-17.0.0_p20260823

Description

The GNU Compiler Collection

Added to portage

2026-08-24

gentoo-kernel - 6.1.184
Ebuild name:

sys-kernel/gentoo-kernel-6.1.184

Description

Linux kernel built with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel - 6.12.105
Ebuild name:

sys-kernel/gentoo-kernel-6.12.105

Description

Linux kernel built with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel - 6.18.46
Ebuild name:

sys-kernel/gentoo-kernel-6.18.46

Description

Linux kernel built with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel - 6.6.153
Ebuild name:

sys-kernel/gentoo-kernel-6.6.153

Description

Linux kernel built with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel - 7.1.10
Ebuild name:

sys-kernel/gentoo-kernel-7.1.10

Description

Linux kernel built with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel-bin - 6.1.184
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.1.184

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel-bin - 6.12.105
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.105

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel-bin - 6.18.46
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.18.46

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel-bin - 6.6.153
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.6.153

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel-bin - 7.1.10
Ebuild name:

sys-kernel/gentoo-kernel-bin-7.1.10

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel-modprep - 6.1.184
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.1.184

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-08-24

gentoo-kernel-modprep - 6.12.105
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.12.105

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-08-24

gentoo-kernel-modprep - 6.18.46
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.18.46

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-08-24

gentoo-kernel-modprep - 6.6.153
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.6.153

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-08-24

gentoo-kernel-modprep - 7.1.10
Ebuild name:

sys-kernel/gentoo-kernel-modprep-7.1.10

Description

Minimal subset of gentoo-kernel-bin for building modules, f

Added to portage

2026-08-24

gzip - 1.14-r1
Ebuild name:

app-arch/gzip-1.14-r1

Description

Standard GNU compressor

Added to portage

2026-08-24

i2p - 2.13.0
Ebuild name:

net-vpn/i2p-2.13.0

Description

A privacy-centric, anonymous network

Added to portage

2026-08-24

maturin - 1.15.0
Ebuild name:

dev-util/maturin-1.15.0

Description

Build and publish crates with pyo3, rust-cpython and cffi bindings

Added to portage

2026-08-24

ngx-vts - 0.2.7
Ebuild name:

www-nginx/ngx-vts-0.2.7

Description

NGINX virtual host traffic status module

Added to portage

2026-08-24

nh3 - 0.3.7
Ebuild name:

dev-python/nh3-0.3.7

Description

Ammonia HTML sanitizer Python binding

Added to portage

2026-08-24

oct2py - 6.1.1
Ebuild name:

dev-python/oct2py-6.1.1

Description

Python to GNU Octave bridge

Added to portage

2026-08-24

pkgconf - 3.0.6
Ebuild name:

dev-util/pkgconf-3.0.6

Description

pkg-config compatible replacement with no dependencies other than C99

Added to portage

2026-08-24

postfix - 3.12_pre20260821
Ebuild name:

mail-mta/postfix-3.12_pre20260821

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-08-24

ptyprocess - 0.7.0-r2
Ebuild name:

dev-python/ptyprocess-0.7.0-r2

Description

Run a subprocess in a pseudo terminal

Added to portage

2026-08-24

pypdf - 6.16.2
Ebuild name:

dev-python/pypdf-6.16.2

Description

Python library to work with PDF files

Added to portage

2026-08-24

qlog - 0.52.0
Ebuild name:

media-radio/qlog-0.52.0

Description

Amateur radio logbook software

Added to portage

2026-08-24

rizin - 0.9.1
Ebuild name:

dev-util/rizin-0.9.1

Description

reverse engineering framework for binary analysis

Added to portage

2026-08-24

sphinx-autoapi - 3.8.1
Ebuild name:

dev-python/sphinx-autoapi-3.8.1

Description

A new approach to API documentation in Sphinx

Added to portage

2026-08-24

sqlmap - 1.10.8
Ebuild name:

dev-db/sqlmap-1.10.8

Description

An automatic SQL injection and database takeover tool

Added to portage

2026-08-24

sssd - 2.13.1-r1
Ebuild name:

sys-auth/sssd-2.13.1-r1

Description

System Security Services Daemon provides access to identity and authenticat

Added to portage

2026-08-24

sssd - 2.9.9-r1
Ebuild name:

sys-auth/sssd-2.9.9-r1

Description

System Security Services Daemon provides access to identity and authenticati

Added to portage

2026-08-24

steve - 1.5.2
Ebuild name:

dev-build/steve-1.5.2

Description

A load-balancing jobserver for Gentoo

Added to portage

2026-08-24

tellico - 4.2.2
Ebuild name:

kde-misc/tellico-4.2.2

Description

Collection manager based on KDE Frameworks

Added to portage

2026-08-24

tifffile - 2026.8.23
Ebuild name:

dev-python/tifffile-2026.8.23

Description

Read and write TIFF files

Added to portage

2026-08-24

tmuxp - 1.70.1-r1
Ebuild name:

app-misc/tmuxp-1.70.1-r1

Description

tmux session manager. built on libtmux

Added to portage

2026-08-24

tmuxp - 1.74.0
Ebuild name:

app-misc/tmuxp-1.74.0

Description

tmux session manager. built on libtmux

Added to portage

2026-08-24

transformers - 5.15.1
Ebuild name:

sci-ml/transformers-5.15.1

Description

State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow

Added to portage

2026-08-24

vanilla-kernel - 6.1.184
Ebuild name:

sys-kernel/vanilla-kernel-6.1.184

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-08-24

vanilla-kernel - 6.12.105
Ebuild name:

sys-kernel/vanilla-kernel-6.12.105

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-08-24

vanilla-kernel - 6.18.46
Ebuild name:

sys-kernel/vanilla-kernel-6.18.46

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-08-24

vanilla-kernel - 6.6.153
Ebuild name:

sys-kernel/vanilla-kernel-6.6.153

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-08-24

vanilla-kernel - 7.1.10
Ebuild name:

sys-kernel/vanilla-kernel-7.1.10

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-08-24

vopono - 0.10.22
Ebuild name:

net-vpn/vopono-0.10.22

Description

Launch applications via VPN tunnels using temporary network namespaces

Added to portage

2026-08-24

xwaylandvideobridge - 0.5.2-r1
Ebuild name:

gui-apps/xwaylandvideobridge-0.5.2-r1

Description

Screenshare Wayland windows to XWayland apps

Added to portage

2026-08-24

yara-x - 1.19.0
Ebuild name:

app-forensics/yara-x-1.19.0

Description

A malware identification and classification tool

Added to portage

2026-08-24

zellij - 0.45.0-r1
Ebuild name:

app-misc/zellij-0.45.0-r1

Description

A terminal workspace with batteries included

Added to portage

2026-08-24

zycore-c - 1.5.2
Ebuild name:

dev-libs/zycore-c-1.5.2

Description

Zyan Core Library for C

Added to portage

2026-08-24

zycore-c - 9999
Ebuild name:

dev-libs/zycore-c-9999

Description

Zyan Core Library for C

Added to portage

2026-08-24

zydis - 4.1.1
Ebuild name:

dev-libs/zydis-4.1.1

Description

Fast and lightweight x86/x86-64 disassembler and code generation library

Added to portage

2026-08-24

zydis - 9999
Ebuild name:

dev-libs/zydis-9999

Description

Fast and lightweight x86/x86-64 disassembler and code generation library

Added to portage

2026-08-24

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