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:

84174

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-04-05
ebuild-mode - 1.82
Ebuild name:

app-xemacs/ebuild-mode-1.82

Description

Emacs modes for editing ebuilds and other Gentoo specific files

Added to portage

2026-04-05

mac - 12.62
Ebuild name:

media-sound/mac-12.62

Description

Monkey's Audio Codecs

Added to portage

2026-04-05

prowlarr-bin - 2.3.5.5327
Ebuild name:

www-apps/prowlarr-bin-2.3.5.5327

Description

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

Added to portage

2026-04-05

spectre-meltdown-checker - 26.26.0404682
Ebuild name:

app-admin/spectre-meltdown-checker-26.26.0404682

Description

Spectre & Meltdown vulnerability/mitigation ch

Added to portage

2026-04-05

tempestsdr - 0.0_p20260404
Ebuild name:

net-wireless/tempestsdr-0.0_p20260404

Description

Remote video eavesdropping using a software-defined radio pla

Added to portage

2026-04-05

2026-04-04
avogadro2 - 2.0.0
Ebuild name:

sci-chemistry/avogadro2-2.0.0

Description

Advanced molecule editor and visualizer 2

Added to portage

2026-04-04

avogadrolibs - 2.0.0
Ebuild name:

sci-libs/avogadrolibs-2.0.0

Description

Advanced molecule editor and visualizer 2 - libraries

Added to portage

2026-04-04

aws-session-manager-plugin - 1.2.804.0
Ebuild name:

app-admin/aws-session-manager-plugin-1.2.804.0

Description

AWS Session Manager Plugin for aws-cli

Added to portage

2026-04-04

awscli - 1.44.73
Ebuild name:

app-admin/awscli-1.44.73

Description

Universal Command Line Environment for AWS

Added to portage

2026-04-04

awscli-bin - 2.34.24
Ebuild name:

app-admin/awscli-bin-2.34.24

Description

command line interface for Amazon Web Services

Added to portage

2026-04-04

bcc - 0.36.1-r1
Ebuild name:

dev-util/bcc-0.36.1-r1

Description

Tools for BPF-based Linux IO analysis, networking, monitoring, and more

Added to portage

2026-04-04

botan - 3.11.1
Ebuild name:

dev-libs/botan-3.11.1

Description

C++ crypto library

Added to portage

2026-04-04

boto3 - 1.42.83
Ebuild name:

dev-python/boto3-1.42.83

Description

The AWS SDK for Python

Added to portage

2026-04-04

botocore - 1.42.83
Ebuild name:

dev-python/botocore-1.42.83

Description

Low-level, data-driven core of boto 3

Added to portage

2026-04-04

brltty - 6.9
Ebuild name:

app-accessibility/brltty-6.9

Description

Daemon that provides access to the Linux/Unix console for a blind pers

Added to portage

2026-04-04

cfn-lint - 1.48.1
Ebuild name:

dev-python/cfn-lint-1.48.1

Description

CloudFormation Linter

Added to portage

2026-04-04

chrome-binary-plugins - 148.0.7766.3_alpha
Ebuild name:

www-plugins/chrome-binary-plugins-148.0.7766.3_alpha

Description

Binary plugins from Google Chrome for use in C

Added to portage

2026-04-04

chromium - 147.0.7727.49
Ebuild name:

www-client/chromium-147.0.7727.49

Description

Open-source version of Google Chrome web browser

Added to portage

2026-04-04

click - 8.3.2
Ebuild name:

dev-python/click-8.3.2

Description

A Python package for creating beautiful command line interfaces

Added to portage

2026-04-04

cloudflare-warp - 2026.3.846.0
Ebuild name:

net-vpn/cloudflare-warp-2026.3.846.0

Description

Cloudflare Warp Client

Added to portage

2026-04-04

cryptsetup - 2.8.6
Ebuild name:

sys-fs/cryptsetup-2.8.6

Description

Tool to setup encrypted devices with dm-crypt

Added to portage

2026-04-04

diffoscope - 316
Ebuild name:

dev-util/diffoscope-316

Description

Will try to get to the bottom of what makes files or directories different

Added to portage

2026-04-04

dist-kernel - 6.12.80
Ebuild name:

virtual/dist-kernel-6.12.80

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-04-04

dist-kernel - 6.18.21
Ebuild name:

virtual/dist-kernel-6.18.21

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-04-04

dist-kernel - 6.19.11
Ebuild name:

virtual/dist-kernel-6.19.11

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-04-04

dist-kernel - 6.6.132
Ebuild name:

virtual/dist-kernel-6.6.132

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-04-04

ethtool - 6.19
Ebuild name:

sys-apps/ethtool-6.19

Description

Utility for examining and tuning ethernet-based network interfaces

Added to portage

2026-04-04

evisum - 1.2.1
Ebuild name:

sys-process/evisum-1.2.1

Description

System and process monitor written with EFL

Added to portage

2026-04-04

fzf - 0.71.0
Ebuild name:

app-shells/fzf-0.71.0

Description

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

Added to portage

2026-04-04

gcc - 13.4.1_p20260402
Ebuild name:

sys-devel/gcc-13.4.1_p20260402

Description

The GNU Compiler Collection

Added to portage

2026-04-04

gcc - 14.3.1_p20260403
Ebuild name:

sys-devel/gcc-14.3.1_p20260403

Description

The GNU Compiler Collection

Added to portage

2026-04-04

gentoo-kernel - 6.12.80
Ebuild name:

sys-kernel/gentoo-kernel-6.12.80

Description

Linux kernel built with Gentoo patches

Added to portage

2026-04-04

gentoo-kernel - 6.18.21
Ebuild name:

sys-kernel/gentoo-kernel-6.18.21

Description

Linux kernel built with Gentoo patches

Added to portage

2026-04-04

gentoo-kernel - 6.19.11
Ebuild name:

sys-kernel/gentoo-kernel-6.19.11

Description

Linux kernel built with Gentoo patches

Added to portage

2026-04-04

gentoo-kernel - 6.6.132
Ebuild name:

sys-kernel/gentoo-kernel-6.6.132

Description

Linux kernel built with Gentoo patches

Added to portage

2026-04-04

gentoo-kernel-bin - 6.12.80
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.80

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-04-04

gentoo-kernel-bin - 6.18.21
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.18.21

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-04-04

gentoo-kernel-bin - 6.19.11
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.19.11

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-04-04

gentoo-kernel-bin - 6.6.132
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.6.132

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-04-04

google-chrome-unstable - 148.0.7766.3
Ebuild name:

www-client/google-chrome-unstable-148.0.7766.3

Description

The web browser from Google

Added to portage

2026-04-04

hiprt - 2.5.20250428-r1
Ebuild name:

dev-libs/hiprt-2.5.20250428-r1

Description

A ray tracing library for HIP

Added to portage

2026-04-04

icingaweb2-module-director - 1.11.7
Ebuild name:

www-apps/icingaweb2-module-director-1.11.7

Description

Icinga Web 2 plugin for configuration

Added to portage

2026-04-04

imapsync - 2.314
Ebuild name:

net-mail/imapsync-2.314

Description

Tool for incremental and recursive IMAP transfers between mailboxes

Added to portage

2026-04-04

jj - 0.40.0
Ebuild name:

dev-vcs/jj-0.40.0

Description

Jujutsu - an experimental version control system

Added to portage

2026-04-04

k9scli - 0.50.18
Ebuild name:

sys-cluster/k9scli-0.50.18

Description

terminal based UI to manage kubernetes clusters

Added to portage

2026-04-04

keepassxc - 2.7.11-r2
Ebuild name:

app-admin/keepassxc-2.7.11-r2

Description

KeePassXC - KeePass Cross-platform Community Edition

Added to portage

2026-04-04

keepassxc - 2.8.0_pre260316-r1
Ebuild name:

app-admin/keepassxc-2.8.0_pre260316-r1

Description

KeePassXC - KeePass Cross-platform Community Edition

Added to portage

2026-04-04

knot - 3.4.10
Ebuild name:

net-dns/knot-3.4.10

Description

High-performance authoritative-only DNS server

Added to portage

2026-04-04

knot - 3.5.4
Ebuild name:

net-dns/knot-3.5.4

Description

High-performance authoritative-only DNS server

Added to portage

2026-04-04

kube-proxy - 1.35.3
Ebuild name:

sys-cluster/kube-proxy-1.35.3

Description

Kubernetes Proxy service

Added to portage

2026-04-04

libqalculate - 5.10.0
Ebuild name:

sci-libs/libqalculate-5.10.0

Description

A modern multi-purpose calculator library

Added to portage

2026-04-04

libsdl2 - 2.32.66
Ebuild name:

media-libs/libsdl2-2.32.66

Description

Simple Direct Media Layer

Added to portage

2026-04-04

libsdl3 - 3.4.4
Ebuild name:

media-libs/libsdl3-3.4.4

Description

Simple Direct Media Layer

Added to portage

2026-04-04

libu2f-server - 1.1.0-r2
Ebuild name:

app-crypt/libu2f-server-1.1.0-r2

Description

Yubico Universal 2nd Factor (U2F) server C Library

Added to portage

2026-04-04

libu2f-server - 1.1.0-r2
Ebuild name:

app-crypt/libu2f-server-1.1.0-r2

Description

Yubico Universal 2nd Factor (U2F) server C Library

Added to portage

2026-04-04

libunistring - 1.4.2
Ebuild name:

dev-libs/libunistring-1.4.2

Description

Library for manipulating Unicode and C strings according to Unicode sta

Added to portage

2026-04-04

loop-aes-losetup - 2.40.2
Ebuild name:

app-crypt/loop-aes-losetup-2.40.2

Description

Loop-AES losetup utility

Added to portage

2026-04-04

loop-aes-losetup - 2.41.1
Ebuild name:

app-crypt/loop-aes-losetup-2.41.1

Description

Loop-AES losetup utility

Added to portage

2026-04-04

man-pages-l10n - 4.30.0
Ebuild name:

app-i18n/man-pages-l10n-4.30.0

Description

A somewhat comprehensive collection of man page translations

Added to portage

2026-04-04

marshmallow - 4.3.0
Ebuild name:

dev-python/marshmallow-4.3.0

Description

A library for converting to and from native Python datatypes

Added to portage

2026-04-04

mediafile - 0.16.0
Ebuild name:

dev-python/mediafile-0.16.0

Description

Read and write audio files' tags in Python

Added to portage

2026-04-04

meson - 1.11.0_rc2
Ebuild name:

dev-build/meson-1.11.0_rc2

Description

Open source build system

Added to portage

2026-04-04

nextcloud-notify_push - 1.3.1
Ebuild name:

www-apps/nextcloud-notify_push-1.3.1

Description

Push daemon for Nextcloud clients

Added to portage

2026-04-04

openpgp-keys-knot - 20260304
Ebuild name:

sec-keys/openpgp-keys-knot-20260304

Description

OpenPGP keys used by the Knot DNS developers

Added to portage

2026-04-04

openrsync - 0.5.0_p20250127
Ebuild name:

net-misc/openrsync-0.5.0_p20250127

Description

BSD-licensed implementation of rsync

Added to portage

2026-04-04

opera-developer - 131.0.5856.0
Ebuild name:

www-client/opera-developer-131.0.5856.0

Description

A fast and secure web browser

Added to portage

2026-04-04

opera-gx - 129.0.5823.64
Ebuild name:

www-client/opera-gx-129.0.5823.64

Description

Opera, but for 'gamers'

Added to portage

2026-04-04

phlex - 1.11.1
Ebuild name:

dev-ruby/phlex-1.11.1

Description

A framework for building object-oriented views in Ruby

Added to portage

2026-04-04

phlex - 2.2.2
Ebuild name:

dev-ruby/phlex-2.2.2

Description

A framework for building object-oriented views in Ruby

Added to portage

2026-04-04

phlex - 2.3.2
Ebuild name:

dev-ruby/phlex-2.3.2

Description

A framework for building object-oriented views in Ruby

Added to portage

2026-04-04

pound - 4.22
Ebuild name:

www-servers/pound-4.22

Description

A http/https reverse-proxy and load-balancer

Added to portage

2026-04-04

pybtex - 0.26.1
Ebuild name:

dev-python/pybtex-0.26.1

Description

BibTeX-compatible bibliography processor

Added to portage

2026-04-04

pydata-sphinx-theme - 0.17.0
Ebuild name:

dev-python/pydata-sphinx-theme-0.17.0

Description

Bootstrap-based Sphinx theme from the PyData community

Added to portage

2026-04-04

python-ly - 0.9.10
Ebuild name:

dev-python/python-ly-0.9.10

Description

Tool and library for manipulating LilyPond files

Added to portage

2026-04-04

qalculate-gtk - 5.10.0
Ebuild name:

sci-calculators/qalculate-gtk-5.10.0

Description

Modern multi-purpose calculator

Added to portage

2026-04-04

qalculate-qt - 5.10.0
Ebuild name:

sci-calculators/qalculate-qt-5.10.0

Description

Qt-based UI for libqalculate

Added to portage

2026-04-04

qdmr - 0.14.0
Ebuild name:

net-wireless/qdmr-0.14.0

Description

GUI application for configuring and programming cheap DMR radios

Added to portage

2026-04-04

qpageview - 1.0.4
Ebuild name:

dev-python/qpageview-1.0.4

Description

Page-based viewer widget for Qt5/PyQt5

Added to portage

2026-04-04

rapidyaml - 0.11.1
Ebuild name:

dev-cpp/rapidyaml-0.11.1

Description

Library to parse and emit YAML, and do it fast

Added to portage

2026-04-04

redis-knot - 3.5.4
Ebuild name:

net-dns/redis-knot-3.5.4

Description

Redis module for Knot DNS

Added to portage

2026-04-04

regex - 2026.4.4
Ebuild name:

dev-python/regex-2026.4.4

Description

Alternative regular expression module to replace re

Added to portage

2026-04-04

ruff - 0.15.9
Ebuild name:

dev-util/ruff-0.15.9

Description

An extremely fast Python linter, written in Rust

Added to portage

2026-04-04

simdjson - 4.6.1
Ebuild name:

dev-libs/simdjson-4.6.1

Description

SIMD accelerated C++ JSON library

Added to portage

2026-04-04

snapraid - 14.1
Ebuild name:

sys-fs/snapraid-14.1

Description

Backup program with disk array for cold data on existing filesystems

Added to portage

2026-04-04

sqlalchemy - 2.0.49
Ebuild name:

dev-python/sqlalchemy-2.0.49

Description

Python SQL toolkit and Object Relational Mapper

Added to portage

2026-04-04

streamlink - 8.2.1
Ebuild name:

net-misc/streamlink-8.2.1

Description

CLI for extracting streams from websites to a video player of your choice

Added to portage

2026-04-04

tailscale - 1.96.5
Ebuild name:

net-vpn/tailscale-1.96.5

Description

Tailscale vpn client

Added to portage

2026-04-04

telegram-desktop-bin - 6.7.2
Ebuild name:

net-im/telegram-desktop-bin-6.7.2

Description

Official desktop client for Telegram (binary package)

Added to portage

2026-04-04

terraform - 1.14.8
Ebuild name:

app-admin/terraform-1.14.8

Description

A tool for building, changing, and combining infrastructure safely

Added to portage

2026-04-04

tibs - 0.6.0
Ebuild name:

dev-python/tibs-0.6.0

Description

A sleek Python library for your binary data

Added to portage

2026-04-04

uvicorn - 0.43.0
Ebuild name:

dev-python/uvicorn-0.43.0

Description

Lightning-fast ASGI server implementation

Added to portage

2026-04-04

vanilla-kernel - 6.12.80
Ebuild name:

sys-kernel/vanilla-kernel-6.12.80

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-04-04

vanilla-kernel - 6.18.21
Ebuild name:

sys-kernel/vanilla-kernel-6.18.21

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-04-04

vanilla-kernel - 6.19.11
Ebuild name:

sys-kernel/vanilla-kernel-6.19.11

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-04-04

vanilla-kernel - 6.6.132
Ebuild name:

sys-kernel/vanilla-kernel-6.6.132

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-04-04

whenever - 0.10.0_beta4
Ebuild name:

dev-python/whenever-0.10.0_beta4

Description

Modern datetime library for Python

Added to portage

2026-04-04

wine-vanilla - 11.6
Ebuild name:

app-emulation/wine-vanilla-11.6

Description

Free implementation of Windows(tm) on Unix, without external patchs

Added to portage

2026-04-04

xlsx2csv - 0.8.6
Ebuild name:

app-text/xlsx2csv-0.8.6

Description

Convert MS Office xlsx files to CSV

Added to portage

2026-04-04

xmlsec - 1.3.10-r1
Ebuild name:

dev-libs/xmlsec-1.3.10-r1

Description

Command line tool for signing, verifying, encrypting and decrypting XML

Added to portage

2026-04-04

zen-sources - 6.19.11
Ebuild name:

sys-kernel/zen-sources-6.19.11

Description

The Zen Kernel Live Sources

Added to portage

2026-04-04

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