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:

83464

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-02-27
aflplusplus - 4.35c
Ebuild name:

app-forensics/aflplusplus-4.35c

Description

Fork of AFL, the popular compile-time instrumentation fuzzer

Added to portage

2026-02-27

array-api-compat - 1.14.0
Ebuild name:

dev-python/array-api-compat-1.14.0

Description

Array API standard compatibility wrapper over NumPy and others

Added to portage

2026-02-27

awscli - 1.44.48
Ebuild name:

app-admin/awscli-1.44.48

Description

Universal Command Line Environment for AWS

Added to portage

2026-02-27

boto3 - 1.42.58
Ebuild name:

dev-python/boto3-1.42.58

Description

The AWS SDK for Python

Added to portage

2026-02-27

botocore - 1.42.58
Ebuild name:

dev-python/botocore-1.42.58

Description

Low-level, data-driven core of boto 3

Added to portage

2026-02-27

castxml - 0.7.0
Ebuild name:

dev-libs/castxml-0.7.0

Description

C-family abstract syntax tree XML output tool

Added to portage

2026-02-27

chrome-binary-plugins - 146.0.7680.31_beta
Ebuild name:

www-plugins/chrome-binary-plugins-146.0.7680.31_beta

Description

Binary plugins from Google Chrome for use in C

Added to portage

2026-02-27

chromium - 146.0.7680.31
Ebuild name:

www-client/chromium-146.0.7680.31

Description

Open-source version of Google Chrome web browser

Added to portage

2026-02-27

duckdb - 1.4.4
Ebuild name:

dev-db/duckdb-1.4.4

Description

high-performance analytical database system

Added to portage

2026-02-27

element-desktop-bin - 1.12.11
Ebuild name:

net-im/element-desktop-bin-1.12.11

Description

A glossy Matrix collaboration client for desktop (binary package

Added to portage

2026-02-27

file - 5.47
Ebuild name:

sys-apps/file-5.47

Description

Identify a file's format by scanning binary data for patterns

Added to portage

2026-02-27

framework-tool-tui - 0.8.0
Ebuild name:

app-laptop/framework-tool-tui-0.8.0

Description

TUI for controlling and monitoring Framework Computers hardware

Added to portage

2026-02-27

freerdp - 3.23.0
Ebuild name:

net-misc/freerdp-3.23.0

Description

Free implementation of the Remote Desktop Protocol

Added to portage

2026-02-27

gawk - 5.4.0-r1
Ebuild name:

sys-apps/gawk-5.4.0-r1

Description

GNU awk pattern-matching language

Added to portage

2026-02-27

google-chrome-beta - 146.0.7680.31
Ebuild name:

www-client/google-chrome-beta-146.0.7680.31

Description

The web browser from Google

Added to portage

2026-02-27

gopls - 0.21.1
Ebuild name:

dev-go/gopls-0.21.1

Description

Added to portage

2026-02-27

heroic-bin - 2.20.1
Ebuild name:

games-util/heroic-bin-2.20.1

Description

GOG and Epic Games Launcher for Linux

Added to portage

2026-02-27

kafka-bin - 4.2.0
Ebuild name:

net-misc/kafka-bin-4.2.0

Description

A high-throughput distributed messaging system

Added to portage

2026-02-27

linux-firmware - 20260221
Ebuild name:

sys-kernel/linux-firmware-20260221

Description

Linux firmware files

Added to portage

2026-02-27

lutris - 0.5.22
Ebuild name:

games-util/lutris-0.5.22

Description

An open source gaming platform for GNU/Linux

Added to portage

2026-02-27

microsoft-edge - 145.0.3800.82
Ebuild name:

www-client/microsoft-edge-145.0.3800.82

Description

The web browser from Microsoft

Added to portage

2026-02-27

mu-cite - 8.1_p202011031127
Ebuild name:

app-emacs/mu-cite-8.1_p202011031127

Description

Message citation utilities for emacsen

Added to portage

2026-02-27

ngtcp2 - 1.21.0
Ebuild name:

net-libs/ngtcp2-1.21.0

Description

Implementation of the IETF QUIC Protocol

Added to portage

2026-02-27

openapi-schema-validator - 0.7.3
Ebuild name:

dev-python/openapi-schema-validator-0.7.3

Description

OpenAPI schema validation for Python

Added to portage

2026-02-27

openapi-schema-validator - 0.8.0
Ebuild name:

dev-python/openapi-schema-validator-0.8.0

Description

OpenAPI schema validation for Python

Added to portage

2026-02-27

opera - 128.0.5807.25
Ebuild name:

www-client/opera-128.0.5807.25

Description

A fast and secure web browser

Added to portage

2026-02-27

phonenumbers - 9.0.25
Ebuild name:

dev-python/phonenumbers-9.0.25

Description

Python port of Google's libphonenumber

Added to portage

2026-02-27

postgresql - 14.22
Ebuild name:

dev-db/postgresql-14.22

Description

PostgreSQL RDBMS

Added to portage

2026-02-27

postgresql - 15.17
Ebuild name:

dev-db/postgresql-15.17

Description

PostgreSQL RDBMS

Added to portage

2026-02-27

postgresql - 16.13
Ebuild name:

dev-db/postgresql-16.13

Description

PostgreSQL RDBMS

Added to portage

2026-02-27

postgresql - 17.9
Ebuild name:

dev-db/postgresql-17.9

Description

PostgreSQL RDBMS

Added to portage

2026-02-27

postgresql - 18.3
Ebuild name:

dev-db/postgresql-18.3

Description

PostgreSQL RDBMS

Added to portage

2026-02-27

protobuf - 7.34.0
Ebuild name:

dev-python/protobuf-7.34.0

Description

Google's Protocol Buffers - Python bindings

Added to portage

2026-02-27

python-discovery - 1.1.0
Ebuild name:

dev-python/python-discovery-1.1.0

Description

Python interpreter discovery

Added to portage

2026-02-27

rssguard - 5.0.0
Ebuild name:

net-news/rssguard-5.0.0

Description

Simple (yet powerful) news feed reader

Added to portage

2026-02-27

ruff - 0.15.4
Ebuild name:

dev-util/ruff-0.15.4

Description

An extremely fast Python linter, written in Rust

Added to portage

2026-02-27

scikit-build-core - 0.12.1
Ebuild name:

dev-python/scikit-build-core-0.12.1

Description

Build backend for CMake based projects

Added to portage

2026-02-27

signal-desktop-bin - 8.0.0
Ebuild name:

net-im/signal-desktop-bin-8.0.0

Description

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

Added to portage

2026-02-27

synapse - 1.148.0
Ebuild name:

net-im/synapse-1.148.0

Description

Reference implementation of Matrix homeserver

Added to portage

2026-02-27

tempest - 46.1.1
Ebuild name:

dev-python/tempest-46.1.1

Description

OpenStack Integration Testing

Added to portage

2026-02-27

tkcvs - 9.3.3
Ebuild name:

dev-vcs/tkcvs-9.3.3

Description

Tcl/Tk-based graphical interface to CVS with Subversion support

Added to portage

2026-02-27

tkdiff - 6.0
Ebuild name:

dev-util/tkdiff-6.0

Description

Graphical front end to the diff program

Added to portage

2026-02-27

ttl - 0.19.0
Ebuild name:

net-analyzer/ttl-0.19.0

Description

Modern traceroute/mtr-style TUI with hop stats and optional ASN/geo enrichm

Added to portage

2026-02-27

u-boot-tools - 2024.01-r3
Ebuild name:

dev-embedded/u-boot-tools-2024.01-r3

Description

utilities for working with Das U-Boot

Added to portage

2026-02-27

u-boot-tools - 2025.01-r3
Ebuild name:

dev-embedded/u-boot-tools-2025.01-r3

Description

utilities for working with Das U-Boot

Added to portage

2026-02-27

virtualenv - 21.0.0
Ebuild name:

dev-python/virtualenv-21.0.0

Description

Virtual Python Environment builder

Added to portage

2026-02-27

xvfbwrapper - 0.2.21
Ebuild name:

dev-python/xvfbwrapper-0.2.21

Description

Python wrapper for running a display inside X virtual framebuffer

Added to portage

2026-02-27

zfs - 2.3.6
Ebuild name:

sys-fs/zfs-2.3.6

Description

Userland utilities for ZFS Linux kernel module

Added to portage

2026-02-27

zfs - 2.4.1
Ebuild name:

sys-fs/zfs-2.4.1

Description

Linux kernel module and userland utilities for ZFS

Added to portage

2026-02-27

zfs-kmod - 2.3.6
Ebuild name:

sys-fs/zfs-kmod-2.3.6

Description

Linux ZFS kernel module for sys-fs/zfs

Added to portage

2026-02-27

2026-02-26
ansible-compat - 25.12.1
Ebuild name:

dev-python/ansible-compat-25.12.1

Description

Contains functions that facilitate working with various versions

Added to portage

2026-02-26

awscli - 1.44.47
Ebuild name:

app-admin/awscli-1.44.47

Description

Universal Command Line Environment for AWS

Added to portage

2026-02-26

bandit - 1.9.4
Ebuild name:

dev-python/bandit-1.9.4

Description

A security linter from OpenStack Security

Added to portage

2026-02-26

boto3 - 1.42.57
Ebuild name:

dev-python/boto3-1.42.57

Description

The AWS SDK for Python

Added to portage

2026-02-26

botocore - 1.42.57
Ebuild name:

dev-python/botocore-1.42.57

Description

Low-level, data-driven core of boto 3

Added to portage

2026-02-26

ckb - 0.6.1-r1
Ebuild name:

app-misc/ckb-0.6.1-r1

Description

Corsair K65/K70/K95 Driver

Added to portage

2026-02-26

ckb - 0.6.2-r1
Ebuild name:

app-misc/ckb-0.6.2-r1

Description

Corsair K65/K70/K95 Driver

Added to portage

2026-02-26

clang - 22.1.0-r2
Ebuild name:

llvm-core/clang-22.1.0-r2

Description

C language family frontend for LLVM

Added to portage

2026-02-26

cli11 - 2.6.2
Ebuild name:

dev-cpp/cli11-2.6.2

Description

Command line parser for C++11

Added to portage

2026-02-26

electrum-ecc - 0.0.7
Ebuild name:

dev-python/electrum-ecc-0.0.7

Description

Pure python ctypes wrapper for libsecp256k1

Added to portage

2026-02-26

fakeredis - 2.34.1
Ebuild name:

dev-python/fakeredis-2.34.1

Description

Fake implementation of redis API for testing purposes

Added to portage

2026-02-26

freeorion - 0.5.1.2
Ebuild name:

games-strategy/freeorion-0.5.1.2

Description

Free turn-based space empire and galactic conquest game

Added to portage

2026-02-26

gfxreconstruct - 1.4.341.0
Ebuild name:

dev-debug/gfxreconstruct-1.4.341.0

Description

Graphics API Capture and Replay Tools

Added to portage

2026-02-26

install-xattr - 0.12
Ebuild name:

sys-apps/install-xattr-0.12

Description

Wrapper to coreutils install to preserve Filesystem Extended Attributes

Added to portage

2026-02-26

leancrypto - 1.6.0-r3
Ebuild name:

dev-libs/leancrypto-1.6.0-r3

Description

Lean cryptographic library usable for bare-metal environments

Added to portage

2026-02-26

libva-intel-media-driver - 26.1.2
Ebuild name:

media-libs/libva-intel-media-driver-26.1.2

Description

Intel Media Driver for VA-API (iHD)

Added to portage

2026-02-26

llvm - 22.1.0-r2
Ebuild name:

llvm-core/llvm-22.1.0-r2

Description

Low Level Virtual Machine

Added to portage

2026-02-26

mesa - 25.3.6
Ebuild name:

media-libs/mesa-25.3.6

Description

OpenGL-like graphic library for Linux

Added to portage

2026-02-26

mesa - 26.0.1
Ebuild name:

media-libs/mesa-26.0.1

Description

OpenGL-like graphic library for Linux

Added to portage

2026-02-26

mesa_clc - 25.3.6
Ebuild name:

dev-util/mesa_clc-25.3.6

Description

mesa_clc tool used for building OpenCL C to SPIR-V

Added to portage

2026-02-26

mesa_clc - 26.0.1
Ebuild name:

dev-util/mesa_clc-26.0.1

Description

mesa_clc tool used for building OpenCL C to SPIR-V

Added to portage

2026-02-26

nanobind - 2.12.0
Ebuild name:

dev-python/nanobind-2.12.0

Description

Tiny and efficient C++/Python bindings

Added to portage

2026-02-26

nbxmpp - 7.1.0
Ebuild name:

dev-python/nbxmpp-7.1.0

Description

Python library to use Jabber/XMPP networks in a non-blocking way

Added to portage

2026-02-26

pallets-sphinx-themes - 2.5.0
Ebuild name:

dev-python/pallets-sphinx-themes-2.5.0

Description

Sphinx themes for Pallets and related projects

Added to portage

2026-02-26

picard - 3.0.0_alpha3
Ebuild name:

media-sound/picard-3.0.0_alpha3

Description

Cross-platform music tagger

Added to portage

2026-02-26

pytest-check - 2.7.0
Ebuild name:

dev-python/pytest-check-2.7.0

Description

pytest plugin that allows multiple failures per test

Added to portage

2026-02-26

python-ironicclient - 6.0.0
Ebuild name:

dev-python/python-ironicclient-6.0.0

Description

Python bindings for the Ironic API

Added to portage

2026-02-26

python-neutronclient - 11.8.0
Ebuild name:

dev-python/python-neutronclient-11.8.0

Description

A client for the OpenStack Quantum API

Added to portage

2026-02-26

python-swiftclient - 4.10.0
Ebuild name:

dev-python/python-swiftclient-4.10.0

Description

Python bindings to the OpenStack Object Storage API

Added to portage

2026-02-26

qtox - 1.18.4
Ebuild name:

net-im/qtox-1.18.4

Description

Instant messaging client using the encrypted p2p Tox protocol

Added to portage

2026-02-26

redis - 7.2.1
Ebuild name:

dev-python/redis-7.2.1

Description

Python client for Redis key-value store

Added to portage

2026-02-26

sphinx-autodoc-typehints - 3.8.0
Ebuild name:

dev-python/sphinx-autodoc-typehints-3.8.0

Description

Type hints support for the Sphinx autodoc extension

Added to portage

2026-02-26

stripe - 14.4.0
Ebuild name:

dev-python/stripe-14.4.0

Description

Stripe Python bindings

Added to portage

2026-02-26

tempest - 46.1.0
Ebuild name:

dev-python/tempest-46.1.0

Description

OpenStack Integration Testing

Added to portage

2026-02-26

tox - 0.2.22
Ebuild name:

net-libs/tox-0.2.22

Description

Encrypted P2P, messaging, and audio/video calling platform

Added to portage

2026-02-26

tox - 4.46.3
Ebuild name:

dev-python/tox-4.46.3

Description

virtualenv-based automation of test activities

Added to portage

2026-02-26

toxic - 0.16.2
Ebuild name:

net-im/toxic-0.16.2

Description

A curses-based client for Tox

Added to portage

2026-02-26

translate-toolkit - 3.19.2
Ebuild name:

dev-python/translate-toolkit-3.19.2

Description

Toolkit to convert between many translation formats

Added to portage

2026-02-26

virtualenv - 20.39.1
Ebuild name:

dev-python/virtualenv-20.39.1

Description

Virtual Python Environment builder

Added to portage

2026-02-26

xkbcomp - 1.5.0-r2
Ebuild name:

x11-apps/xkbcomp-1.5.0-r2

Description

XKB keyboard description compiler

Added to portage

2026-02-26

xkeyboard-config - 2.47
Ebuild name:

x11-misc/xkeyboard-config-2.47

Description

X keyboard configuration database

Added to portage

2026-02-26

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