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:

82129

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


rate this article:
current rating: average rating: 1.1 (100 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2025-11-22
bedrock-server - 1.21.124.2
Ebuild name:

games-server/bedrock-server-1.21.124.2

Description

The official bedrock (non-java) based server for the sandbox

Added to portage

2025-11-22

claude-code - 2.0.50
Ebuild name:

dev-util/claude-code-2.0.50

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2025-11-22

huggingface_hub - 0.36.0-r1
Ebuild name:

sci-ml/huggingface_hub-0.36.0-r1

Description

a client library to interact with the Hugging Face Hub

Added to portage

2025-11-22

huggingface_hub - 1.0.1
Ebuild name:

sci-ml/huggingface_hub-1.0.1

Description

a client library to interact with the Hugging Face Hub

Added to portage

2025-11-22

libopenrazer - 0.4.0
Ebuild name:

dev-libs/libopenrazer-0.4.0

Description

Qt wrapper around the D-Bus API from OpenRazer

Added to portage

2025-11-22

nvidia-drivers - 580.94.11
Ebuild name:

x11-drivers/nvidia-drivers-580.94.11

Description

NVIDIA Accelerated Graphics Driver

Added to portage

2025-11-22

po-mode - 0.26
Ebuild name:

app-emacs/po-mode-0.26

Description

Major mode for GNU gettext PO files

Added to portage

2025-11-22

poke - 3.0
Ebuild name:

app-emacs/poke-3.0

Description

Emacs meets GNU poke

Added to portage

2025-11-22

qutebrowser - 3.6.1-r1
Ebuild name:

www-client/qutebrowser-3.6.1-r1

Description

Keyboard-driven, vim-like browser based on Python and Qt

Added to portage

2025-11-22

razergenie - 1.3.0
Ebuild name:

sys-apps/razergenie-1.3.0

Description

Razer devices configurator

Added to portage

2025-11-22

scx - 1.0.18
Ebuild name:

sys-kernel/scx-1.0.18

Description

sched_ext schedulers and tools

Added to portage

2025-11-22

scx-loader - 1.0.18
Ebuild name:

sys-kernel/scx-loader-1.0.18

Description

DBUS on-demand loader of sched-ext schedulers

Added to portage

2025-11-22

unifi - 10.0.156
Ebuild name:

net-wireless/unifi-10.0.156

Description

A Management Controller for Ubiquiti Networks UniFi APs

Added to portage

2025-11-22

unrar - 7.2.2
Ebuild name:

app-arch/unrar-7.2.2

Description

Uncompress rar files

Added to portage

2025-11-22

2025-11-21
awscli - 1.43.1
Ebuild name:

app-admin/awscli-1.43.1

Description

Universal Command Line Environment for AWS

Added to portage

2025-11-21

beartype - 0.22.6
Ebuild name:

dev-python/beartype-0.22.6

Description

Unbearably fast runtime type checking in pure Python

Added to portage

2025-11-21

boto3 - 1.41.1
Ebuild name:

dev-python/boto3-1.41.1

Description

The AWS SDK for Python

Added to portage

2025-11-21

botocore - 1.41.1
Ebuild name:

dev-python/botocore-1.41.1

Description

Low-level, data-driven core of boto 3

Added to portage

2025-11-21

clang - 22.0.0_pre20251120
Ebuild name:

dev-python/clang-22.0.0_pre20251120

Description

Python bindings for llvm-core/clang

Added to portage

2025-11-21

clang - 22.0.0_pre20251120
Ebuild name:

llvm-core/clang-22.0.0_pre20251120

Description

C language family frontend for LLVM

Added to portage

2025-11-21

clang-common - 22.0.0_pre20251120
Ebuild name:

llvm-core/clang-common-22.0.0_pre20251120

Description

Common files shared between multiple slots of clang

Added to portage

2025-11-21

cliff - 4.12.0
Ebuild name:

dev-python/cliff-4.12.0

Description

Command Line Interface Formulation Framework

Added to portage

2025-11-21

cmake - 3.31.10
Ebuild name:

dev-build/cmake-3.31.10

Description

Cross platform Make

Added to portage

2025-11-21

cmake - 4.1.3
Ebuild name:

dev-build/cmake-4.1.3

Description

Cross platform Make

Added to portage

2025-11-21

compat53 - 0.14.4-r1
Ebuild name:

dev-lua/compat53-0.14.4-r1

Description

Compatibility module providing Lua-5.3-style APIs for Lua 5.2 and 5.1

Added to portage

2025-11-21

compiler-rt - 22.0.0_pre20251120
Ebuild name:

llvm-runtimes/compiler-rt-22.0.0_pre20251120

Description

Compiler runtime library for clang (built-in part)

Added to portage

2025-11-21

compiler-rt-sanitizers - 22.0.0_pre20251120
Ebuild name:

llvm-runtimes/compiler-rt-sanitizers-22.0.0_pre20251120

Description

Compiler runtime libraries for clang (sanit

Added to portage

2025-11-21

crash - 9.0.1
Ebuild name:

dev-util/crash-9.0.1

Description

Red Hat crash utility; used for analyzing kernel core dumps

Added to portage

2025-11-21

dbeaver-bin - 25.2.5
Ebuild name:

dev-db/dbeaver-bin-25.2.5

Description

Free universal database tool (community edition)

Added to portage

2025-11-21

duckdb - 1.4.2
Ebuild name:

dev-db/duckdb-1.4.2

Description

high-performance analytical database system

Added to portage

2025-11-21

duplicity - 3.0.6.2
Ebuild name:

app-backup/duplicity-3.0.6.2

Description

Secure backup system using gnupg to encrypt data

Added to portage

2025-11-21

ffmpeg - 7.1.3
Ebuild name:

media-video/ffmpeg-7.1.3

Description

Complete solution to record/convert/stream audio and video

Added to portage

2025-11-21

ffmpeg-compat - 7.1.3
Ebuild name:

media-video/ffmpeg-compat-7.1.3

Description

Complete solution to record/convert/stream audio and video

Added to portage

2025-11-21

flang - 22.0.0_pre20251120
Ebuild name:

llvm-core/flang-22.0.0_pre20251120

Description

LLVM's Fortran frontend

Added to portage

2025-11-21

flang-rt - 22.0.0_pre20251120
Ebuild name:

llvm-runtimes/flang-rt-22.0.0_pre20251120

Description

LLVM's Fortran runtime

Added to portage

2025-11-21

gfxreconstruct - 1.4.328.0
Ebuild name:

dev-debug/gfxreconstruct-1.4.328.0

Description

Graphics API Capture and Replay Tools

Added to portage

2025-11-21

gleam - 1.11.1
Ebuild name:

dev-lang/gleam-1.11.1

Description

A friendly language for building type-safe, scalable systems

Added to portage

2025-11-21

gnutls - 3.8.11
Ebuild name:

net-libs/gnutls-3.8.11

Description

Secure communications library implementing the SSL, TLS and DTLS protocols

Added to portage

2025-11-21

haml - 7.0.2
Ebuild name:

dev-ruby/haml-7.0.2

Description

A ruby web page templating engine

Added to portage

2025-11-21

haproxy - 3.2.9
Ebuild name:

net-proxy/haproxy-3.2.9

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2025-11-21

helm - 3.19.2
Ebuild name:

app-admin/helm-3.19.2

Description

Kubernetes Package Manager

Added to portage

2025-11-21

hf_xet - 1.2.0
Ebuild name:

sci-ml/hf_xet-1.2.0

Description

xet client tech, used in huggingface_hub

Added to portage

2025-11-21

idea-community - 2025.2.5
Ebuild name:

dev-util/idea-community-2025.2.5

Description

A complete toolset for web, mobile and enterprise development

Added to portage

2025-11-21

k9scli - 0.50.16
Ebuild name:

sys-cluster/k9scli-0.50.16

Description

terminal based UI to manage kubernetes clusters

Added to portage

2025-11-21

kdeconnect - 25.08.3-r2
Ebuild name:

kde-misc/kdeconnect-25.08.3-r2

Description

Adds communication between KDE Plasma and your smartphone

Added to portage

2025-11-21

labwc - 0.9.2
Ebuild name:

gui-wm/labwc-0.9.2

Description

Openbox alternative for wayland

Added to portage

2025-11-21

labwc - 9999
Ebuild name:

gui-wm/labwc-9999

Description

Openbox alternative for wayland

Added to portage

2025-11-21

libclc - 22.0.0_pre20251120
Ebuild name:

llvm-core/libclc-22.0.0_pre20251120

Description

OpenCL C library

Added to portage

2025-11-21

libcxx - 22.0.0_pre20251120
Ebuild name:

llvm-runtimes/libcxx-22.0.0_pre20251120

Description

New implementation of the C++ standard library, targeting C

Added to portage

2025-11-21

libcxxabi - 22.0.0_pre20251120
Ebuild name:

llvm-runtimes/libcxxabi-22.0.0_pre20251120

Description

Low level support for a standard C++ library

Added to portage

2025-11-21

libgcc - 22.0.0_pre20251120
Ebuild name:

llvm-runtimes/libgcc-22.0.0_pre20251120

Description

Compiler runtime library for clang, compatible with libgcc_

Added to portage

2025-11-21

librnp - 0.18.1
Ebuild name:

dev-util/librnp-0.18.1

Description

High performance C++ OpenPGP library

Added to portage

2025-11-21

libsfdo - 0.1.4
Ebuild name:

gui-libs/libsfdo-0.1.4

Description

Collection of libraries which implement some freedesktop.org specifications

Added to portage

2025-11-21

libunwind - 22.0.0_pre20251120
Ebuild name:

llvm-runtimes/libunwind-22.0.0_pre20251120

Description

C++ runtime stack unwinder from LLVM

Added to portage

2025-11-21

lit - 22.0.0_pre20251120
Ebuild name:

dev-python/lit-22.0.0_pre20251120

Description

A stand-alone install of the LLVM suite testing tool

Added to portage

2025-11-21

lld - 22.0.0_pre20251120
Ebuild name:

llvm-core/lld-22.0.0_pre20251120

Description

The LLVM linker (link editor)

Added to portage

2025-11-21

lldb - 22.0.0_pre20251120
Ebuild name:

llvm-core/lldb-22.0.0_pre20251120

Description

The LLVM debugger

Added to portage

2025-11-21

llvm - 22.0.0_pre20251120
Ebuild name:

dev-ml/llvm-22.0.0_pre20251120

Description

OCaml bindings for LLVM

Added to portage

2025-11-21

llvm - 22.0.0_pre20251120
Ebuild name:

llvm-core/llvm-22.0.0_pre20251120

Description

Low Level Virtual Machine

Added to portage

2025-11-21

llvm-common - 22.0.0_pre20251120
Ebuild name:

llvm-core/llvm-common-22.0.0_pre20251120

Description

Common files shared between multiple slots of LLVM

Added to portage

2025-11-21

mlir - 22.0.0_pre20251120
Ebuild name:

llvm-core/mlir-22.0.0_pre20251120

Description

Multi-Level Intermediate Representation (library only)

Added to portage

2025-11-21

ncspot - 1.3.2
Ebuild name:

media-sound/ncspot-1.3.2

Description

ncurses Spotify client written in Rust using librespot

Added to portage

2025-11-21

ninja - 1.13.2
Ebuild name:

dev-build/ninja-1.13.2

Description

A small build system similar to make

Added to portage

2025-11-21

offload - 22.0.0_pre20251120
Ebuild name:

llvm-runtimes/offload-22.0.0_pre20251120

Description

OpenMP offloading support

Added to portage

2025-11-21

openimageio - 3.1.7.0
Ebuild name:

media-libs/openimageio-3.1.7.0

Description

A library for reading and writing images

Added to portage

2025-11-21

openmp - 22.0.0_pre20251120
Ebuild name:

llvm-runtimes/openmp-22.0.0_pre20251120

Description

OpenMP runtime library for LLVM/clang compiler

Added to portage

2025-11-21

oslo-context - 6.2.0
Ebuild name:

dev-python/oslo-context-6.2.0

Description

Helpers to maintain useful information about a request context

Added to portage

2025-11-21

oslo-i18n - 6.7.1
Ebuild name:

dev-python/oslo-i18n-6.7.1

Description

Oslo i18n library

Added to portage

2025-11-21

oslo-utils - 9.2.0
Ebuild name:

dev-python/oslo-utils-9.2.0

Description

Oslo Utility library

Added to portage

2025-11-21

pbs-installer - 2025.11.20
Ebuild name:

dev-python/pbs-installer-2025.11.20

Description

Installer for Python Build Standalone

Added to portage

2025-11-21

phonenumbers - 9.0.19
Ebuild name:

dev-python/phonenumbers-9.0.19

Description

Python port of Google's libphonenumber

Added to portage

2025-11-21

po-mode - 0.26
Ebuild name:

app-emacs/po-mode-0.26

Description

Major mode for GNU gettext PO files

Added to portage

2025-11-21

poke - 3.0
Ebuild name:

app-emacs/poke-3.0

Description

Emacs meets GNU poke

Added to portage

2025-11-21

polly - 22.0.0_pre20251120
Ebuild name:

llvm-core/polly-22.0.0_pre20251120

Description

Polyhedral optimizations for LLVM

Added to portage

2025-11-21

s3transfer - 0.15.0
Ebuild name:

dev-python/s3transfer-0.15.0

Description

An Amazon S3 Transfer Manager

Added to portage

2025-11-21

signal-desktop-bin - 7.80.0
Ebuild name:

net-im/signal-desktop-bin-7.80.0

Description

Allows you to send and receive messages of Signal Messenger on you

Added to portage

2025-11-21

smartdns - 47.1
Ebuild name:

net-dns/smartdns-47.1

Description

A local DNS server returns the fastest access results

Added to portage

2025-11-21

spotify - 1.2.63-r1
Ebuild name:

media-sound/spotify-1.2.63-r1

Description

Spotify is a social music platform

Added to portage

2025-11-21

stevedore - 5.6.0
Ebuild name:

dev-python/stevedore-5.6.0

Description

Manage dynamic plugins for Python applications

Added to portage

2025-11-21

sysprof - 49.0
Ebuild name:

dev-util/sysprof-49.0

Description

System-wide Linux Profiler

Added to portage

2025-11-21

sysprof-capture - 49.0
Ebuild name:

dev-util/sysprof-capture-49.0

Description

Static library for sysprof capture data generation

Added to portage

2025-11-21

sysprof-common - 49.0
Ebuild name:

dev-util/sysprof-common-49.0

Description

Static library for sysprof capture data generation

Added to portage

2025-11-21

tpm2-pkcs11 - 1.9.1
Ebuild name:

app-crypt/tpm2-pkcs11-1.9.1

Description

A PKCS11 interface for TPM2 hardware

Added to portage

2025-11-21

tpm2-tools - 5.7
Ebuild name:

app-crypt/tpm2-tools-5.7

Description

Tools for the TPM 2.0 TSS

Added to portage

2025-11-21

uv - 0.9.11
Ebuild name:

dev-python/uv-0.9.11

Description

A Python package installer and resolver, written in Rust

Added to portage

2025-11-21

uv-build - 0.9.11
Ebuild name:

dev-python/uv-build-0.9.11

Description

PEP517 uv build backend

Added to portage

2025-11-21

varnish - 8.0.0
Ebuild name:

www-servers/varnish-8.0.0

Description

Varnish is a state-of-the-art, high-performance HTTP accelerator

Added to portage

2025-11-21

winbox - 4.0_beta42
Ebuild name:

app-admin/winbox-4.0_beta42

Description

Management Software for MikroTik RouterOS

Added to portage

2025-11-21

wireshark - 4.4.11
Ebuild name:

net-analyzer/wireshark-4.4.11

Description

Network protocol analyzer (sniffer)

Added to portage

2025-11-21

wireshark - 4.6.1
Ebuild name:

net-analyzer/wireshark-4.6.1

Description

Network protocol analyzer (sniffer)

Added to portage

2025-11-21

wsproto - 1.3.2
Ebuild name:

dev-python/wsproto-1.3.2

Description

WebSockets state-machine based protocol implementation

Added to portage

2025-11-21

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 42.7 ms