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:

81644

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-10-24
binutils-config - 5.5.3
Ebuild name:

sys-devel/binutils-config-5.5.3

Description

Utility to change the binutils version being used

Added to portage

2025-10-24

binutils-config - 5.6
Ebuild name:

sys-devel/binutils-config-5.6

Description

Utility to change the binutils version being used

Added to portage

2025-10-24

dist-kernel - 6.12.55
Ebuild name:

virtual/dist-kernel-6.12.55

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-10-24

dist-kernel - 6.17.5
Ebuild name:

virtual/dist-kernel-6.17.5

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-10-24

dist-kernel - 6.6.114
Ebuild name:

virtual/dist-kernel-6.6.114

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-10-24

gentoo-kernel - 6.12.55
Ebuild name:

sys-kernel/gentoo-kernel-6.12.55

Description

Linux kernel built with Gentoo patches

Added to portage

2025-10-24

gentoo-kernel - 6.17.5
Ebuild name:

sys-kernel/gentoo-kernel-6.17.5

Description

Linux kernel built with Gentoo patches

Added to portage

2025-10-24

gentoo-kernel - 6.6.114
Ebuild name:

sys-kernel/gentoo-kernel-6.6.114

Description

Linux kernel built with Gentoo patches

Added to portage

2025-10-24

gentoo-kernel-bin - 6.12.55
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.55

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-10-24

gentoo-kernel-bin - 6.17.5
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.17.5

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-10-24

gentoo-kernel-bin - 6.6.114
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.6.114

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-10-24

lynis - 3.1.6
Ebuild name:

app-forensics/lynis-3.1.6

Description

Security and system auditing tool

Added to portage

2025-10-24

sip - 6.14.0
Ebuild name:

dev-python/sip-6.14.0

Description

Python bindings generator for C/C++ libraries

Added to portage

2025-10-24

speedtest++ - 0.0.20240407
Ebuild name:

net-analyzer/speedtest++-0.0.20240407

Description

High performance speedtest.net CLI

Added to portage

2025-10-24

systemtap - 5.1-r2
Ebuild name:

dev-debug/systemtap-5.1-r2

Description

Linux trace/probe tool

Added to portage

2025-10-24

systemtap - 5.2-r1
Ebuild name:

dev-debug/systemtap-5.2-r1

Description

Linux trace/probe tool

Added to portage

2025-10-24

systemtap - 5.3-r1
Ebuild name:

dev-debug/systemtap-5.3-r1

Description

Linux trace/probe tool

Added to portage

2025-10-24

vanilla-kernel - 6.12.55
Ebuild name:

sys-kernel/vanilla-kernel-6.12.55

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-10-24

vanilla-kernel - 6.17.5
Ebuild name:

sys-kernel/vanilla-kernel-6.17.5

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-10-24

vanilla-kernel - 6.6.114
Ebuild name:

sys-kernel/vanilla-kernel-6.6.114

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-10-24

2025-10-23
acts_as_list - 1.2.6
Ebuild name:

dev-ruby/acts_as_list-1.2.6

Description

Capabilities for sorting and reordering a number of objects in a list

Added to portage

2025-10-23

autobahn - 25.10.2
Ebuild name:

dev-python/autobahn-25.10.2

Description

WebSocket and WAMP for Twisted and Asyncio

Added to portage

2025-10-23

awscli - 1.42.57
Ebuild name:

app-admin/awscli-1.42.57

Description

Universal Command Line Environment for AWS

Added to portage

2025-10-23

base58 - 2.1.1
Ebuild name:

dev-python/base58-2.1.1

Description

Base58 and Base58Check implementation

Added to portage

2025-10-23

benchmark - 0.5.0
Ebuild name:

dev-ruby/benchmark-0.5.0

Description

A performance benchmarking library

Added to portage

2025-10-23

boto3 - 1.40.57
Ebuild name:

dev-python/boto3-1.40.57

Description

The AWS SDK for Python

Added to portage

2025-10-23

botocore - 1.40.57
Ebuild name:

dev-python/botocore-1.40.57

Description

Low-level, data-driven core of boto 3

Added to portage

2025-10-23

clang - 22.0.0_pre20251022
Ebuild name:

dev-python/clang-22.0.0_pre20251022

Description

Python bindings for llvm-core/clang

Added to portage

2025-10-23

clang - 22.0.0_pre20251022
Ebuild name:

llvm-core/clang-22.0.0_pre20251022

Description

C language family frontend for LLVM

Added to portage

2025-10-23

clang-common - 22.0.0_pre20251022
Ebuild name:

llvm-core/clang-common-22.0.0_pre20251022

Description

Common files shared between multiple slots of clang

Added to portage

2025-10-23

compiler-rt - 22.0.0_pre20251022
Ebuild name:

llvm-runtimes/compiler-rt-22.0.0_pre20251022

Description

Compiler runtime library for clang (built-in part)

Added to portage

2025-10-23

compiler-rt-sanitizers - 22.0.0_pre20251022
Ebuild name:

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

Description

Compiler runtime libraries for clang (sanit

Added to portage

2025-10-23

crack - 1.0.1
Ebuild name:

dev-ruby/crack-1.0.1

Description

Really simple JSON and XML parsing, ripped from Merb and Rails

Added to portage

2025-10-23

django - 6.0_beta1
Ebuild name:

dev-python/django-6.0_beta1

Description

High-level Python web framework

Added to portage

2025-10-23

element-desktop-bin - 1.12.2
Ebuild name:

net-im/element-desktop-bin-1.12.2

Description

A glossy Matrix collaboration client for desktop (binary package)

Added to portage

2025-10-23

flang - 22.0.0_pre20251022
Ebuild name:

llvm-core/flang-22.0.0_pre20251022

Description

LLVM's Fortran frontend

Added to portage

2025-10-23

flang-rt - 22.0.0_pre20251022
Ebuild name:

llvm-runtimes/flang-rt-22.0.0_pre20251022

Description

LLVM's Fortran runtime

Added to portage

2025-10-23

freecell-solver - 6.14.0
Ebuild name:

dev-games/freecell-solver-6.14.0

Description

C library for automatically solving Freecell and some other solita

Added to portage

2025-10-23

gcc-config - 2.12.2
Ebuild name:

sys-devel/gcc-config-2.12.2

Description

Utility to manage compilers

Added to portage

2025-10-23

gitlab-runner - 18.5.0
Ebuild name:

dev-util/gitlab-runner-18.5.0

Description

The official GitLab Runner, written in Go

Added to portage

2025-10-23

google-api-core - 2.27.0
Ebuild name:

dev-python/google-api-core-2.27.0

Description

Core Library for Google Client Libraries

Added to portage

2025-10-23

haproxy - 3.2.7
Ebuild name:

net-proxy/haproxy-3.2.7

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2025-10-23

hypothesis - 6.142.3
Ebuild name:

dev-python/hypothesis-6.142.3

Description

A library for property based testing

Added to portage

2025-10-23

indilib - 2.1.6-r1
Ebuild name:

sci-libs/indilib-2.1.6-r1

Description

INDI Astronomical Control Protocol library

Added to portage

2025-10-23

jdk - 26
Ebuild name:

virtual/jdk-26

Description

Virtual for Java Development Kit (JDK)

Added to portage

2025-10-23

jquery-rails - 4.6.1
Ebuild name:

dev-ruby/jquery-rails-4.6.1

Description

jQuery For Rails So great

Added to portage

2025-10-23

jupyterlab - 4.4.10
Ebuild name:

dev-python/jupyterlab-4.4.10

Description

JupyterLab computational environment

Added to portage

2025-10-23

jupyterlab-server - 2.28.0
Ebuild name:

dev-python/jupyterlab-server-2.28.0

Description

Server components for JupyterLab and JupyterLab like applicatio

Added to portage

2025-10-23

kimageannotator - 0.7.1-r1
Ebuild name:

media-libs/kimageannotator-0.7.1-r1

Description

Tool for annotating images

Added to portage

2025-10-23

libclc - 22.0.0_pre20251022
Ebuild name:

llvm-core/libclc-22.0.0_pre20251022

Description

OpenCL C library

Added to portage

2025-10-23

libcxx - 22.0.0_pre20251022
Ebuild name:

llvm-runtimes/libcxx-22.0.0_pre20251022

Description

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

Added to portage

2025-10-23

libcxxabi - 22.0.0_pre20251022
Ebuild name:

llvm-runtimes/libcxxabi-22.0.0_pre20251022

Description

Low level support for a standard C++ library

Added to portage

2025-10-23

libgcc - 22.0.0_pre20251022
Ebuild name:

llvm-runtimes/libgcc-22.0.0_pre20251022

Description

Compiler runtime library for clang, compatible with libgcc_

Added to portage

2025-10-23

libnbd - 1.22.5
Ebuild name:

sys-libs/libnbd-1.22.5

Description

NBD client library in userspace

Added to portage

2025-10-23

libnbd - 1.23.9
Ebuild name:

sys-libs/libnbd-1.23.9

Description

NBD client library in userspace

Added to portage

2025-10-23

libunwind - 22.0.0_pre20251022
Ebuild name:

llvm-runtimes/libunwind-22.0.0_pre20251022

Description

C++ runtime stack unwinder from LLVM

Added to portage

2025-10-23

lit - 22.0.0_pre20251022
Ebuild name:

dev-python/lit-22.0.0_pre20251022

Description

A stand-alone install of the LLVM suite testing tool

Added to portage

2025-10-23

lld - 22.0.0_pre20251022
Ebuild name:

llvm-core/lld-22.0.0_pre20251022

Description

The LLVM linker (link editor)

Added to portage

2025-10-23

lldb - 22.0.0_pre20251022
Ebuild name:

llvm-core/lldb-22.0.0_pre20251022

Description

The LLVM debugger

Added to portage

2025-10-23

llvm - 22.0.0_pre20251022
Ebuild name:

dev-ml/llvm-22.0.0_pre20251022

Description

OCaml bindings for LLVM

Added to portage

2025-10-23

llvm - 22.0.0_pre20251022
Ebuild name:

llvm-core/llvm-22.0.0_pre20251022

Description

Low Level Virtual Machine

Added to portage

2025-10-23

llvm-common - 22.0.0_pre20251022
Ebuild name:

llvm-core/llvm-common-22.0.0_pre20251022

Description

Common files shared between multiple slots of LLVM

Added to portage

2025-10-23

mlir - 22.0.0_pre20251022
Ebuild name:

llvm-core/mlir-22.0.0_pre20251022

Description

Multi-Level Intermediate Representation (library only)

Added to portage

2025-10-23

nbdkit - 1.44.3
Ebuild name:

sys-block/nbdkit-1.44.3

Description

NBD server with stable plugin ABI and permissive license

Added to portage

2025-10-23

offload - 22.0.0_pre20251022
Ebuild name:

llvm-runtimes/offload-22.0.0_pre20251022

Description

OpenMP offloading support

Added to portage

2025-10-23

openjdk - 11.0.29_p7
Ebuild name:

dev-java/openjdk-11.0.29_p7

Description

Open source implementation of the Java programming language

Added to portage

2025-10-23

openjdk - 17.0.17_p10
Ebuild name:

dev-java/openjdk-17.0.17_p10

Description

Open source implementation of the Java programming language

Added to portage

2025-10-23

openjdk - 21.0.9_p10
Ebuild name:

dev-java/openjdk-21.0.9_p10

Description

Open source implementation of the Java programming language

Added to portage

2025-10-23

openjdk - 25.0.1_p8
Ebuild name:

dev-java/openjdk-25.0.1_p8

Description

Open source implementation of the Java programming language

Added to portage

2025-10-23

openjdk - 26_alpha20
Ebuild name:

dev-java/openjdk-26_alpha20

Description

Open source implementation of the Java programming language

Added to portage

2025-10-23

openjdk - 8.472_p08
Ebuild name:

dev-java/openjdk-8.472_p08

Description

Open source implementation of the Java programming language

Added to portage

2025-10-23

openjdk-bin - 26_alpha20
Ebuild name:

dev-java/openjdk-bin-26_alpha20

Description

Prebuilt Java JDK binaries provided by Eclipse Temurin

Added to portage

2025-10-23

openmp - 22.0.0_pre20251022
Ebuild name:

llvm-runtimes/openmp-22.0.0_pre20251022

Description

OpenMP runtime library for LLVM/clang compiler

Added to portage

2025-10-23

pixi - 0.58.0
Ebuild name:

dev-util/pixi-0.58.0

Description

A package management and workflow tool

Added to portage

2025-10-23

plasma-workspace - 6.5.0-r1
Ebuild name:

kde-plasma/plasma-workspace-6.5.0-r1

Description

KDE Plasma workspace

Added to portage

2025-10-23

polly - 22.0.0_pre20251022
Ebuild name:

llvm-core/polly-22.0.0_pre20251022

Description

Polyhedral optimizations for LLVM

Added to portage

2025-10-23

pypdf - 6.1.3
Ebuild name:

dev-python/pypdf-6.1.3

Description

Python library to work with PDF files

Added to portage

2025-10-23

qiskit - 2.2.2
Ebuild name:

dev-python/qiskit-2.2.2

Description

An open-source SDK for working with quantum computers

Added to portage

2025-10-23

raku-mode - 0.2.1_p20211121
Ebuild name:

app-emacs/raku-mode-0.2.1_p20211121

Description

Major mode for editing Raku code

Added to portage

2025-10-23

redis - 7.0.0
Ebuild name:

dev-python/redis-7.0.0

Description

Python client for Redis key-value store

Added to portage

2025-10-23

ripgrep - 15.1.0
Ebuild name:

sys-apps/ripgrep-15.1.0

Description

Search tool that combines the usability of ag with the raw speed of grep

Added to portage

2025-10-23

rpds-py - 0.28.0
Ebuild name:

dev-python/rpds-py-0.28.0

Description

Python bindings to Rust's persistent data structures (rpds)

Added to portage

2025-10-23

rspec - 3.13.2
Ebuild name:

dev-ruby/rspec-3.13.2

Description

A Behaviour Driven Development (BDD) framework for Ruby

Added to portage

2025-10-23

ruamel-yaml - 0.18.16
Ebuild name:

dev-python/ruamel-yaml-0.18.16

Description

YAML parser/emitter that supports roundtrip comment preservation

Added to portage

2025-10-23

stalwart-cli - 0.13.4
Ebuild name:

net-mail/stalwart-cli-0.13.4

Description

Stalwart Mail Server command line utility

Added to portage

2025-10-23

stalwart-mail - 0.13.4
Ebuild name:

net-mail/stalwart-mail-0.13.4

Description

Stalwart Mail Server

Added to portage

2025-10-23

trimesh - 4.9.0
Ebuild name:

dev-python/trimesh-4.9.0

Description

Python library for loading and using triangular meshes

Added to portage

2025-10-23

usbutils - 019
Ebuild name:

sys-apps/usbutils-019

Description

USB enumeration utilities

Added to portage

2025-10-23

yt-dlp - 2025.10.22
Ebuild name:

net-misc/yt-dlp-2025.10.22

Description

youtube-dl fork with additional features and fixes

Added to portage

2025-10-23

yt-dlp - 2025.10.23_pre
Ebuild name:

net-misc/yt-dlp-2025.10.23_pre

Description

Added to portage

2025-10-23

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: 53.5 ms