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:

86647

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-07-07
alsa-lib - 1.2.16.1
Ebuild name:

media-libs/alsa-lib-1.2.16.1

Description

Advanced Linux Sound Architecture Library

Added to portage

2026-07-07

amule - 3.0.1
Ebuild name:

net-p2p/amule-3.0.1

Description

aMule, the all-platform eMule p2p client

Added to portage

2026-07-07

awscli - 1.45.41
Ebuild name:

app-admin/awscli-1.45.41

Description

Universal Command Line Environment for AWS

Added to portage

2026-07-07

boto3 - 1.43.41
Ebuild name:

dev-python/boto3-1.43.41

Description

The AWS SDK for Python

Added to portage

2026-07-07

botocore - 1.43.41
Ebuild name:

dev-python/botocore-1.43.41

Description

Low-level, data-driven core of boto 3

Added to portage

2026-07-07

broadcom-sta - 6.30.223.271-r11
Ebuild name:

net-wireless/broadcom-sta-6.30.223.271-r11

Description

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

Added to portage

2026-07-07

calamares - 3.4.2
Ebuild name:

app-admin/calamares-3.4.2

Description

Distribution-independent installer framework

Added to portage

2026-07-07

cffi - 2.1.0
Ebuild name:

dev-python/cffi-2.1.0

Description

Foreign Function Interface for Python calling C code

Added to portage

2026-07-07

charset-normalizer - 3.4.8
Ebuild name:

dev-python/charset-normalizer-3.4.8

Description

The Real First Universal Charset Detector

Added to portage

2026-07-07

dulwich - 1.2.10
Ebuild name:

dev-python/dulwich-1.2.10

Description

Pure-Python implementation of the Git file formats and protocols

Added to portage

2026-07-07

eselect-lua - 4-r3
Ebuild name:

app-eselect/eselect-lua-4-r3

Description

Lua eselect module

Added to portage

2026-07-07

filelock - 3.29.6
Ebuild name:

dev-python/filelock-3.29.6

Description

A platform independent file lock for Python

Added to portage

2026-07-07

firefox-bin - 152.0.5
Ebuild name:

www-client/firefox-bin-152.0.5

Description

Firefox Web Browser

Added to portage

2026-07-07

genson - 1.4.0
Ebuild name:

dev-python/genson-1.4.0

Description

GenSON is a powerful, user-friendly JSON Schema generator built in Python

Added to portage

2026-07-07

grpcio - 1.82.0
Ebuild name:

dev-python/grpcio-1.82.0

Description

HTTP/2-based RPC framework

Added to portage

2026-07-07

grpcio-status - 1.82.0
Ebuild name:

dev-python/grpcio-status-1.82.0

Description

Reference package for GRPC Python status proto mapping

Added to portage

2026-07-07

ijson - 3.5.1
Ebuild name:

dev-python/ijson-3.5.1

Description

Iterative JSON parser with a Pythonic interface

Added to portage

2026-07-07

libblockdev - 3.5.0
Ebuild name:

sys-libs/libblockdev-3.5.0

Description

Library for manipulating block devices

Added to portage

2026-07-07

libnvidia-container - 1.19.1
Ebuild name:

sys-libs/libnvidia-container-1.19.1

Description

NVIDIA container runtime library

Added to portage

2026-07-07

libssh2 - 1.11.1-r1
Ebuild name:

net-libs/libssh2-1.11.1-r1

Description

Library implementing the SSH2 protocol

Added to portage

2026-07-07

libxmlb - 0.3.28
Ebuild name:

dev-libs/libxmlb-0.3.28

Description

Library to help create and query binary XML blobs

Added to portage

2026-07-07

mic-paren - 3.15-r1
Ebuild name:

app-emacs/mic-paren-3.15-r1

Description

Advanced highlighting of matching parentheses

Added to portage

2026-07-07

mkvtoolnix - 100.0
Ebuild name:

media-video/mkvtoolnix-100.0

Description

Tools to create, alter, and inspect Matroska files

Added to portage

2026-07-07

mldonkey - 0.0.4b-r2
Ebuild name:

app-emacs/mldonkey-0.0.4b-r2

Description

An Emacs Lisp interface to the MLDonkey core

Added to portage

2026-07-07

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-07-07

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-07-07

nvidia-container-toolkit - 1.19.1
Ebuild name:

app-containers/nvidia-container-toolkit-1.19.1

Description

NVIDIA container runtime toolkit

Added to portage

2026-07-07

postfix - 3.11.5
Ebuild name:

mail-mta/postfix-3.11.5

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-07-07

postfix - 3.12_pre20260706
Ebuild name:

mail-mta/postfix-3.12_pre20260706

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-07-07

postgresql - 14.23-r1
Ebuild name:

dev-db/postgresql-14.23-r1

Description

PostgreSQL RDBMS

Added to portage

2026-07-07

postgresql - 15.18-r1
Ebuild name:

dev-db/postgresql-15.18-r1

Description

PostgreSQL RDBMS

Added to portage

2026-07-07

postgresql - 16.14-r1
Ebuild name:

dev-db/postgresql-16.14-r1

Description

PostgreSQL RDBMS

Added to portage

2026-07-07

restic - 0.19.1
Ebuild name:

app-backup/restic-0.19.1

Description

A backup program that is fast, efficient and secure

Added to portage

2026-07-07

roundcube - 1.6.17
Ebuild name:

mail-client/roundcube-1.6.17

Description

Browser-based multilingual IMAP client with an application-like user i

Added to portage

2026-07-07

rssguard - 5.2.2
Ebuild name:

net-news/rssguard-5.2.2

Description

Simple (yet powerful) news feed reader

Added to portage

2026-07-07

scikit-build-core - 1.0.0
Ebuild name:

dev-python/scikit-build-core-1.0.0

Description

Build backend for CMake based projects

Added to portage

2026-07-07

sigstore - 4.4.0
Ebuild name:

dev-python/sigstore-4.4.0

Description

A tool for signing Python package distributions

Added to portage

2026-07-07

strawberry - 1.2.22
Ebuild name:

media-sound/strawberry-1.2.22

Description

Modern music player and library organizer based on Clementine and Qt

Added to portage

2026-07-07

sysprof - 50.0-r1
Ebuild name:

dev-util/sysprof-50.0-r1

Description

System-wide Linux Profiler

Added to portage

2026-07-07

tempel - 1.14
Ebuild name:

app-emacs/tempel-1.14

Description

Templates with in-buffer field editing for GNU Emacs

Added to portage

2026-07-07

types-setuptools - 83.0.0.20260706
Ebuild name:

dev-python/types-setuptools-83.0.0.20260706

Description

Typing stubs for setuptools

Added to portage

2026-07-07

uv - 0.11.27
Ebuild name:

dev-python/uv-0.11.27

Description

A Python package installer and resolver, written in Rust

Added to portage

2026-07-07

uv-build - 0.11.27
Ebuild name:

dev-python/uv-build-0.11.27

Description

PEP517 uv build backend

Added to portage

2026-07-07

uvicorn - 0.50.2
Ebuild name:

dev-python/uvicorn-0.50.2

Description

Lightning-fast ASGI server implementation

Added to portage

2026-07-07

vanilla-sources - 6.12.95
Ebuild name:

sys-kernel/vanilla-sources-6.12.95

Description

Full sources for the Linux kernel

Added to portage

2026-07-07

virtualenv - 21.6.0
Ebuild name:

dev-python/virtualenv-21.6.0

Description

Virtual Python Environment builder

Added to portage

2026-07-07

whenever - 0.10.2
Ebuild name:

dev-python/whenever-0.10.2

Description

Modern datetime library for Python

Added to portage

2026-07-07

xelb - 0.23
Ebuild name:

app-emacs/xelb-0.23

Description

X protocol Emacs Lisp Binding

Added to portage

2026-07-07

xxhash - 3.8.1
Ebuild name:

dev-python/xxhash-3.8.1

Description

Python binding for the xxHash library

Added to portage

2026-07-07

zbar - 0.23.93-r3
Ebuild name:

media-gfx/zbar-0.23.93-r3

Description

Library and tools for reading barcodes from images or video

Added to portage

2026-07-07

2026-07-06
citus - 12.1.13
Ebuild name:

dev-db/citus-12.1.13

Description

Open-source postgresql extension for clustering/multi-node setups

Added to portage

2026-07-06

cloudflared - 2026.6.1
Ebuild name:

net-vpn/cloudflared-2026.6.1

Description

A command-line client and tunneling daemon for Cloudflare Tunnel

Added to portage

2026-07-06

containerd - 2.2.5-r1
Ebuild name:

app-containers/containerd-2.2.5-r1

Description

A daemon to control runC

Added to portage

2026-07-06

containerd - 2.3.2-r1
Ebuild name:

app-containers/containerd-2.3.2-r1

Description

A daemon to control runC

Added to portage

2026-07-06

dbus-python - 1.4.0-r1
Ebuild name:

dev-python/dbus-python-1.4.0-r1

Description

Python bindings for the D-Bus messagebus

Added to portage

2026-07-06

dulwich - 1.2.8
Ebuild name:

dev-python/dulwich-1.2.8

Description

Pure-Python implementation of the Git file formats and protocols

Added to portage

2026-07-06

dxvk - 3.0.1
Ebuild name:

app-emulation/dxvk-3.0.1

Description

Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine

Added to portage

2026-07-06

firecracker-bin - 1.16.0
Ebuild name:

app-emulation/firecracker-bin-1.16.0

Description

Secure and fast microVMs for serverless computing (static buil

Added to portage

2026-07-06

gawk - 5.4.0e
Ebuild name:

sys-apps/gawk-5.4.0e

Description

GNU awk pattern-matching language

Added to portage

2026-07-06

gcc - 17.0.0_p20260705
Ebuild name:

sys-devel/gcc-17.0.0_p20260705

Description

The GNU Compiler Collection

Added to portage

2026-07-06

getmail - 6.20.00
Ebuild name:

net-mail/getmail-6.20.00

Description

A mail retriever with reliable Maildir and mbox delivery

Added to portage

2026-07-06

ggml - 0.15.3-r1
Ebuild name:

sci-ml/ggml-0.15.3-r1

Description

Tensor library for machine learning

Added to portage

2026-07-06

git-sources - 7.2_rc2
Ebuild name:

sys-kernel/git-sources-7.2_rc2

Description

The very latest -git version of the Linux kernel

Added to portage

2026-07-06

gst-plugins-sndio - 1.24.0
Ebuild name:

media-plugins/gst-plugins-sndio-1.24.0

Description

Sndio audio sink and source for GStreamer

Added to portage

2026-07-06

haproxy - 3.0.25
Ebuild name:

net-proxy/haproxy-3.0.25

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-07-06

haproxy - 3.2.21
Ebuild name:

net-proxy/haproxy-3.2.21

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-07-06

haproxy - 3.3.12
Ebuild name:

net-proxy/haproxy-3.3.12

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-07-06

haproxy - 3.4.2
Ebuild name:

net-proxy/haproxy-3.4.2

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-07-06

khard - 0.21.0
Ebuild name:

app-misc/khard-0.21.0

Description

Console vCard address book

Added to portage

2026-07-06

lmdb - 1.0.0
Ebuild name:

dev-db/lmdb-1.0.0

Description

An ultra-fast, ultra-compact key-value embedded data store

Added to portage

2026-07-06

mcrypt - 2.6.8-r3
Ebuild name:

app-crypt/mcrypt-2.6.8-r3

Description

Replacement of the old unix crypt(1)

Added to portage

2026-07-06

md5deep - 4.4
Ebuild name:

app-crypt/md5deep-4.4

Description

Expanded md5sum program with recursive and comparison options

Added to portage

2026-07-06

md6sum - 1.0-r3
Ebuild name:

app-crypt/md6sum-1.0-r3

Description

A C implementation of MD6

Added to portage

2026-07-06

mhash - 0.9.9.9-r4
Ebuild name:

app-crypt/mhash-0.9.9.9-r4

Description

Library providing a uniform interface to a large number of hash algorith

Added to portage

2026-07-06

micawber - 0.7.0
Ebuild name:

dev-python/micawber-0.7.0

Description

A small library for extracting rich content from urls

Added to portage

2026-07-06

minisign - 0.12
Ebuild name:

app-crypt/minisign-0.12

Description

Dead simple tool to sign files and verify signatures

Added to portage

2026-07-06

mit-krb5 - 1.22.2-r2
Ebuild name:

app-crypt/mit-krb5-1.22.2-r2

Description

MIT Kerberos V

Added to portage

2026-07-06

munt-mt32emu - 2.8.3
Ebuild name:

media-libs/munt-mt32emu-2.8.3

Description

Library for emulating the Roland MT-32, CM-32L, CM-64 and LAPC-I

Added to portage

2026-07-06

nnn - 5.2
Ebuild name:

app-misc/nnn-5.2

Description

The missing terminal file browser for X

Added to portage

2026-07-06

ollama - 0
Ebuild name:

acct-group/ollama-0

Description

A group for ollama

Added to portage

2026-07-06

ollama - 0
Ebuild name:

acct-user/ollama-0

Description

A user for ollama

Added to portage

2026-07-06

ollama - 0.31.1-r1
Ebuild name:

sci-ml/ollama-0.31.1-r1

Description

Get up and running with Llama 3, Mistral, Gemma, and other language models.

Added to portage

2026-07-06

packer - 1.15.4
Ebuild name:

dev-util/packer-1.15.4

Description

A tool to create identical machine images for multiple platforms

Added to portage

2026-07-06

pip - 26.1.2-r1
Ebuild name:

dev-python/pip-26.1.2-r1

Description

The PyPA recommended tool for installing Python packages

Added to portage

2026-07-06

portage - 3.0.81.1
Ebuild name:

sys-apps/portage-3.0.81.1

Description

The package management and distribution system for Gentoo

Added to portage

2026-07-06

roundcube - 1.7.2
Ebuild name:

mail-client/roundcube-1.7.2

Description

A browser-based multilingual IMAP client with an application-like user

Added to portage

2026-07-06

runc - 1.3.6
Ebuild name:

app-containers/runc-1.3.6

Description

runc container cli tools

Added to portage

2026-07-06

rust - 1.96.1
Ebuild name:

dev-lang/rust-1.96.1

Description

Systems programming language originally developed by Mozilla

Added to portage

2026-07-06

rust-bin - 1.96.1
Ebuild name:

dev-lang/rust-bin-1.96.1

Description

Added to portage

2026-07-06

rust-common - 1.96.1
Ebuild name:

dev-lang/rust-common-1.96.1

Description

Common files shared between multiple slots of Rust

Added to portage

2026-07-06

rust-std - 1.96.1
Ebuild name:

sys-devel/rust-std-1.96.1

Description

Rust standard library, standalone (for crossdev)

Added to portage

2026-07-06

seedfiles - 1.7
Ebuild name:

sys-apps/seedfiles-1.7

Description

Portable drop-in reimplementation of systemd-tmpfiles

Added to portage

2026-07-06

signxml - 5.1.0
Ebuild name:

dev-python/signxml-5.1.0

Description

Python XML Signature and XAdES library

Added to portage

2026-07-06

telegram-desktop-bin - 6.9.3
Ebuild name:

net-im/telegram-desktop-bin-6.9.3

Description

Official desktop client for Telegram (binary package)

Added to portage

2026-07-06

tibs - 0.12.0
Ebuild name:

dev-python/tibs-0.12.0

Description

A sleek Python library for your binary data

Added to portage

2026-07-06

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