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:

82290

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
2025-12-04
djbdns - 1.05-r42
Ebuild name:

net-dns/djbdns-1.05-r42

Description

Collection of DNS client/server software

Added to portage

2025-12-04

poppler - 25.12.0
Ebuild name:

app-text/poppler-25.12.0

Description

PDF rendering library based on the xpdf-3.0 code base

Added to portage

2025-12-04

2025-12-03
ansible-compat - 25.12.0
Ebuild name:

dev-python/ansible-compat-25.12.0

Description

Contains functions that facilitate working with various versions

Added to portage

2025-12-03

aws-sam-translator - 1.105.0
Ebuild name:

dev-python/aws-sam-translator-1.105.0

Description

A library that transform SAM templates into AWS CloudFormatio

Added to portage

2025-12-03

awscli - 1.43.7
Ebuild name:

app-admin/awscli-1.43.7

Description

Universal Command Line Environment for AWS

Added to portage

2025-12-03

borgbackup - 1.4.3
Ebuild name:

app-backup/borgbackup-1.4.3

Description

Deduplicating backup program with compression and authenticated encrypt

Added to portage

2025-12-03

boto3 - 1.42.1
Ebuild name:

dev-python/boto3-1.42.1

Description

The AWS SDK for Python

Added to portage

2025-12-03

botocore - 1.42.1
Ebuild name:

dev-python/botocore-1.42.1

Description

Low-level, data-driven core of boto 3

Added to portage

2025-12-03

django - 4.2.27
Ebuild name:

dev-python/django-4.2.27

Description

High-level Python web framework

Added to portage

2025-12-03

django - 5.1.15
Ebuild name:

dev-python/django-5.1.15

Description

High-level Python web framework

Added to portage

2025-12-03

django - 5.2.9
Ebuild name:

dev-python/django-5.2.9

Description

High-level Python web framework

Added to portage

2025-12-03

gentoo-sources - 6.18.0
Ebuild name:

sys-kernel/gentoo-sources-6.18.0

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-12-03

icaclient - 25.05.0.44-r1
Ebuild name:

net-misc/icaclient-25.05.0.44-r1

Description

ICA Client for Citrix Presentation servers

Added to portage

2025-12-03

indilib - 2.1.7
Ebuild name:

sci-libs/indilib-2.1.7

Description

INDI Astronomical Control Protocol library

Added to portage

2025-12-03

krita - 6.0.0_alpha_pre20251203
Ebuild name:

media-gfx/krita-6.0.0_alpha_pre20251203

Description

Free digital painting application. Digital Painting, Creati

Added to portage

2025-12-03

libnftnl - 1.3.1
Ebuild name:

net-libs/libnftnl-1.3.1

Description

Netlink API to the in-kernel nf_tables subsystem

Added to portage

2025-12-03

libsdl2 - 2.32.60
Ebuild name:

media-libs/libsdl2-2.32.60

Description

Simple Direct Media Layer

Added to portage

2025-12-03

libsdl3 - 3.2.28
Ebuild name:

media-libs/libsdl3-3.2.28

Description

Simple Direct Media Layer

Added to portage

2025-12-03

libwebsockets - 4.5.2
Ebuild name:

net-libs/libwebsockets-4.5.2

Description

A flexible pure-C library for implementing network protocols

Added to portage

2025-12-03

linux-docs - 6.18
Ebuild name:

sys-kernel/linux-docs-6.18

Description

Developer documentation generated from the Linux kernel

Added to portage

2025-12-03

linux-firmware - 20251125_p20251202
Ebuild name:

sys-kernel/linux-firmware-20251125_p20251202

Description

Linux firmware files

Added to portage

2025-12-03

numpydoc - 1.10.0
Ebuild name:

dev-python/numpydoc-1.10.0

Description

Sphinx extension to support docstrings in Numpy format

Added to portage

2025-12-03

nwjs - 0.100.1
Ebuild name:

dev-libs/nwjs-0.100.1

Description

Framework that lets you call all Node.js modules directly from the DOM

Added to portage

2025-12-03

nwjs - 0.104.1-r1
Ebuild name:

dev-libs/nwjs-0.104.1-r1

Description

Framework that lets you call all Node.js modules directly from the DOM

Added to portage

2025-12-03

nwjs - 0.106.0
Ebuild name:

dev-libs/nwjs-0.106.0

Description

Framework that lets you call all Node.js modules directly from the DOM

Added to portage

2025-12-03

nwjs - 0.86.0
Ebuild name:

dev-libs/nwjs-0.86.0

Description

Framework that lets you call all Node.js modules directly from the DOM

Added to portage

2025-12-03

openhab-bin - 5.0.2-r1
Ebuild name:

app-misc/openhab-bin-5.0.2-r1

Description

An open-source automation software for your home

Added to portage

2025-12-03

openhab-bin - 5.0.3-r1
Ebuild name:

app-misc/openhab-bin-5.0.3-r1

Description

An open-source automation software for your home

Added to portage

2025-12-03

pecl-mongodb - 1.16.2-r1
Ebuild name:

dev-php/pecl-mongodb-1.16.2-r1

Description

MongoDB database driver for PHP

Added to portage

2025-12-03

php-mode - 9999
Ebuild name:

app-emacs/php-mode-9999

Description

GNU Emacs major mode for editing PHP code

Added to portage

2025-12-03

pinentry - 0.1_p20250408
Ebuild name:

app-emacs/pinentry-0.1_p20250408

Description

GnuPG Pinentry server implementation for Emacs

Added to portage

2025-12-03

pkg-info - 0.6
Ebuild name:

app-emacs/pkg-info-0.6

Description

Provide information about Emacs packages

Added to portage

2025-12-03

planner - 3.42-r1
Ebuild name:

app-emacs/planner-3.42-r1

Description

Maintain a local Wiki using Emacs-friendly markup

Added to portage

2025-12-03

popcorntime-bin - 0.5.1-r2
Ebuild name:

media-video/popcorntime-bin-0.5.1-r2

Description

BitTorrent client that includes an integrated media player

Added to portage

2025-12-03

psycopg - 3.3.1
Ebuild name:

dev-python/psycopg-3.3.1

Description

PostgreSQL database adapter for Python

Added to portage

2025-12-03

pydyf - 0.12.1
Ebuild name:

dev-python/pydyf-0.12.1

Description

A low-level PDF generator

Added to portage

2025-12-03

pymongo - 4.15.5
Ebuild name:

dev-python/pymongo-4.15.5

Description

Python driver for MongoDB

Added to portage

2025-12-03

pyside - 6.10.1-r1
Ebuild name:

dev-python/pyside-6.10.1-r1

Description

Python bindings for the Qt framework

Added to portage

2025-12-03

pytest-httpx - 0.36.0
Ebuild name:

dev-python/pytest-httpx-0.36.0

Description

Send responses to HTTPX using pytest

Added to portage

2025-12-03

python - 0.3.13.10
Ebuild name:

dev-lang/python-0.3.13.10

Description

Freethreading (no-GIL) version of Python programming language

Added to portage

2025-12-03

python - 0.3.14.1
Ebuild name:

dev-lang/python-0.3.14.1

Description

Freethreading (no-GIL) version of Python programming language

Added to portage

2025-12-03

python - 3.13.10
Ebuild name:

dev-lang/python-3.13.10

Description

An interpreted, interactive, object-oriented programming language

Added to portage

2025-12-03

python - 3.14.1
Ebuild name:

dev-lang/python-3.14.1

Description

An interpreted, interactive, object-oriented programming language

Added to portage

2025-12-03

python-tests - 0.3.13.10
Ebuild name:

dev-python/python-tests-0.3.13.10

Description

Test modules from dev-lang/python

Added to portage

2025-12-03

python-tests - 0.3.14.1
Ebuild name:

dev-python/python-tests-0.3.14.1

Description

Test modules from dev-lang/python

Added to portage

2025-12-03

python-tests - 3.13.10
Ebuild name:

dev-python/python-tests-3.13.10

Description

Test modules from dev-lang/python

Added to portage

2025-12-03

python-tests - 3.14.1
Ebuild name:

dev-python/python-tests-3.14.1

Description

Test modules from dev-lang/python

Added to portage

2025-12-03

pyzotero - 1.7.6
Ebuild name:

dev-python/pyzotero-1.7.6

Description

A Python client for the Zotero API

Added to portage

2025-12-03

roundcube - 1.7_beta2
Ebuild name:

mail-client/roundcube-1.7_beta2

Description

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

Added to portage

2025-12-03

ruff - 0.14.7
Ebuild name:

dev-util/ruff-0.14.7

Description

An extremely fast Python linter, written in Rust

Added to portage

2025-12-03

sabctools - 9.0.0
Ebuild name:

dev-python/sabctools-9.0.0

Description

Module providing raw yEnc encoding/decoding for SABnzbd

Added to portage

2025-12-03

safetensors - 0.7.0
Ebuild name:

sci-ml/safetensors-0.7.0

Description

Simple, safe way to store and distribute tensors

Added to portage

2025-12-03

sphinx-gallery - 0.20.0
Ebuild name:

dev-python/sphinx-gallery-0.20.0

Description

Sphinx extension to automatically generate an examples gallery

Added to portage

2025-12-03

sqlglot - 28.1.0
Ebuild name:

dev-python/sqlglot-28.1.0

Description

An easily customizable SQL parser and transpiler

Added to portage

2025-12-03

sybil - 9.3.0
Ebuild name:

dev-python/sybil-9.3.0

Description

Automated testing for the examples in your documentation

Added to portage

2025-12-03

syncthing - 2.0.12
Ebuild name:

net-p2p/syncthing-2.0.12

Description

Open Source Continuous File Synchronization

Added to portage

2025-12-03

tmuxp - 1.59.0
Ebuild name:

app-misc/tmuxp-1.59.0

Description

tmux session manager. built on libtmux

Added to portage

2025-12-03

urwid - 3.0.4
Ebuild name:

dev-python/urwid-3.0.4

Description

Curses-based user interface library for Python

Added to portage

2025-12-03

uv - 0.9.15
Ebuild name:

dev-python/uv-0.9.15

Description

A Python package installer and resolver, written in Rust

Added to portage

2025-12-03

uv-build - 0.9.15
Ebuild name:

dev-python/uv-build-0.9.15

Description

PEP517 uv build backend

Added to portage

2025-12-03

weasyprint - 67.0
Ebuild name:

dev-python/weasyprint-67.0

Description

Visual rendering engine for HTML and CSS that can export to PDF

Added to portage

2025-12-03

wordpress - 6.9
Ebuild name:

www-apps/wordpress-6.9

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2025-12-03

xkbcomp - 1.5.0
Ebuild name:

x11-apps/xkbcomp-1.5.0

Description

XKB keyboard description compiler

Added to portage

2025-12-03

zlib-ng - 2.3.2
Ebuild name:

sys-libs/zlib-ng-2.3.2

Description

Fork of the zlib data compression library

Added to portage

2025-12-03

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