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:

86794

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-13
clazy - 1.17.1
Ebuild name:

dev-util/clazy-1.17.1

Description

Compiler plugin which allows clang to understand Qt semantics

Added to portage

2026-07-13

inxi - 3.3.41.1
Ebuild name:

sys-apps/inxi-3.3.41.1

Description

The CLI inxi collects and prints hardware and system information

Added to portage

2026-07-13

nvc - 1.21.1-r1
Ebuild name:

sci-electronics/nvc-1.21.1-r1

Description

NVC is a VHDL compiler and simulator

Added to portage

2026-07-13

patchelf - 0.19.1
Ebuild name:

dev-util/patchelf-0.19.1

Description

Small utility to modify the dynamic linker and RPATH of ELF executables

Added to portage

2026-07-13

weston - 15.0.93
Ebuild name:

dev-libs/weston-15.0.93

Description

Wayland reference compositor

Added to portage

2026-07-13

2026-07-12
ansible - 14.1.0
Ebuild name:

app-admin/ansible-14.1.0

Description

Model-driven deployment, config management, and command execution framewor

Added to portage

2026-07-12

ansible-core - 2.21.1
Ebuild name:

app-admin/ansible-core-2.21.1

Description

Model-driven deployment, config management, and command execution fra

Added to portage

2026-07-12

asgiref - 3.11.1-r1
Ebuild name:

dev-python/asgiref-3.11.1-r1

Description

ASGI utilities (successor to WSGI)

Added to portage

2026-07-12

asttokens - 3.0.2
Ebuild name:

dev-python/asttokens-3.0.2

Description

Annotate Python AST trees with source text and token information

Added to portage

2026-07-12

at-spi2-core - 2.58.7
Ebuild name:

app-accessibility/at-spi2-core-2.58.7

Description

D-Bus accessibility specifications and registration daemon

Added to portage

2026-07-12

at-spi2-core - 2.60.5
Ebuild name:

app-accessibility/at-spi2-core-2.60.5

Description

D-Bus accessibility specifications and registration daemon

Added to portage

2026-07-12

cloudflared - 2026.7.1
Ebuild name:

net-vpn/cloudflared-2026.7.1

Description

A command-line client and tunneling daemon for Cloudflare Tunnel

Added to portage

2026-07-12

coredns - 1.14.6
Ebuild name:

net-dns/coredns-1.14.6

Description

CoreDNS is a DNS server that chains plugins

Added to portage

2026-07-12

courier - 2.0.3
Ebuild name:

mail-mta/courier-2.0.3

Description

An MTA designed specifically for maildirs

Added to portage

2026-07-12

diffoscope - 324
Ebuild name:

dev-util/diffoscope-324

Description

Will try to get to the bottom of what makes files or directories different

Added to portage

2026-07-12

django-filter - 26.1
Ebuild name:

dev-python/django-filter-26.1

Description

Django app allowing declarative dynamic QuerySet filtering from URL p

Added to portage

2026-07-12

dwz - 0.17
Ebuild name:

sys-devel/dwz-0.17

Description

DWARF optimization and duplicate removal tool

Added to portage

2026-07-12

eclipse-ecj - 4.40
Ebuild name:

dev-java/eclipse-ecj-4.40

Description

Eclipse Compiler for Java

Added to portage

2026-07-12

evolution-ews - 3.60.2-r1
Ebuild name:

gnome-extra/evolution-ews-3.60.2-r1

Description

Evolution module for connecting to Microsoft Exchange Web Servi

Added to portage

2026-07-12

fcitx - 5.1.21
Ebuild name:

app-i18n/fcitx-5.1.21

Description

Fcitx 5 is a generic input method framework

Added to portage

2026-07-12

fcitx-chewing - 5.1.12
Ebuild name:

app-i18n/fcitx-chewing-5.1.12

Description

Chewing Wrapper for Fcitx

Added to portage

2026-07-12

fcitx-chinese-addons - 5.1.13
Ebuild name:

app-i18n/fcitx-chinese-addons-5.1.13

Description

Addons related to Chinese, including IME previous bundled insi

Added to portage

2026-07-12

fcitx-configtool - 5.1.14
Ebuild name:

app-i18n/fcitx-configtool-5.1.14

Description

Configuration module for Fcitx

Added to portage

2026-07-12

fcitx-gtk - 5.1.7
Ebuild name:

app-i18n/fcitx-gtk-5.1.7

Description

Gtk im module for fcitx5 and glib based dbus client library

Added to portage

2026-07-12

fcitx-hangul - 5.1.10
Ebuild name:

app-i18n/fcitx-hangul-5.1.10

Description

Korean Hangul input method for Fcitx

Added to portage

2026-07-12

fcitx-lua - 5.0.17
Ebuild name:

app-i18n/fcitx-lua-5.0.17

Description

Lua support for fcitx

Added to portage

2026-07-12

fcitx-qt - 5.1.14
Ebuild name:

app-i18n/fcitx-qt-5.1.14

Description

Qt library and IM module for fcitx5

Added to portage

2026-07-12

fcitx-rime - 5.1.14
Ebuild name:

app-i18n/fcitx-rime-5.1.14

Description

Chinese RIME input methods for Fcitx

Added to portage

2026-07-12

fcitx-table-extra - 5.1.12
Ebuild name:

app-i18n/fcitx-table-extra-5.1.12

Description

Provides extra table for Fcitx, including Boshiamy, Zhengma, Cang

Added to portage

2026-07-12

fcitx-table-other - 5.1.7
Ebuild name:

app-i18n/fcitx-table-other-5.1.7

Description

Provides some other tables for Fcitx, fork from ibus-table-others,

Added to portage

2026-07-12

fcitx-unikey - 5.1.11
Ebuild name:

app-i18n/fcitx-unikey-5.1.11

Description

Unikey (Vietnamese Input Method) engine support for Fcitx

Added to portage

2026-07-12

findutils - 4.11.0
Ebuild name:

sys-apps/findutils-4.11.0

Description

GNU utilities for finding files

Added to portage

2026-07-12

fonttools - 4.63.0-r1
Ebuild name:

dev-python/fonttools-4.63.0-r1

Description

Library for manipulating TrueType, OpenType, AFM and Type1 fonts

Added to portage

2026-07-12

gallery-dl - 1.32.6
Ebuild name:

net-misc/gallery-dl-1.32.6

Description

Download image galleries and collections from several image hosting site

Added to portage

2026-07-12

gcc - 13.4.1_p20260708
Ebuild name:

sys-devel/gcc-13.4.1_p20260708

Description

The GNU Compiler Collection

Added to portage

2026-07-12

gcc - 15.3.1_p20260710
Ebuild name:

sys-devel/gcc-15.3.1_p20260710

Description

The GNU Compiler Collection

Added to portage

2026-07-12

gcc - 16.1.1_p20260711
Ebuild name:

sys-devel/gcc-16.1.1_p20260711

Description

The GNU Compiler Collection

Added to portage

2026-07-12

gccmakedep - 1.0.5
Ebuild name:

x11-misc/gccmakedep-1.0.5

Description

create dependencies in makefiles using 'gcc -M'

Added to portage

2026-07-12

gnome-session-openrc - 49.1-r2
Ebuild name:

gnome-base/gnome-session-openrc-49.1-r2

Description

Gnome session leader for OpenRC

Added to portage

2026-07-12

gnome-session-openrc - 49.2-r1
Ebuild name:

gnome-base/gnome-session-openrc-49.2-r1

Description

Gnome session leader for OpenRC

Added to portage

2026-07-12

json-schema - 5.2.2-r1
Ebuild name:

dev-ruby/json-schema-5.2.2-r1

Description

Ruby JSON Schema Validator

Added to portage

2026-07-12

kea - 3.2.0
Ebuild name:

net-misc/kea-3.2.0

Description

High-performance production grade DHCPv4 & DHCPv6 server

Added to portage

2026-07-12

kontrast - 26.04.3-r1
Ebuild name:

app-accessibility/kontrast-26.04.3-r1

Description

Tool to check contrast for colors to verify they are correctl

Added to portage

2026-07-12

libime - 1.1.15
Ebuild name:

app-i18n/libime-1.1.15

Description

Fcitx5 Next generation of fcitx

Added to portage

2026-07-12

meson - 1.11.2
Ebuild name:

dev-build/meson-1.11.2

Description

Open source build system

Added to portage

2026-07-12

meson - 1.12.0_rc1
Ebuild name:

dev-build/meson-1.12.0_rc1

Description

Open source build system

Added to portage

2026-07-12

mistletoe - 1.6.0
Ebuild name:

dev-python/mistletoe-1.6.0

Description

A fast, extensible Markdown parser in pure Python

Added to portage

2026-07-12

msmtp - 1.8.33
Ebuild name:

mail-mta/msmtp-1.8.33

Description

An SMTP client and SMTP plugin for mail user agents such as Mutt

Added to portage

2026-07-12

muse - 3.20.2
Ebuild name:

app-emacs/muse-3.20.2

Description

An authoring and publishing environment for Emacs

Added to portage

2026-07-12

mycli - 2.2.0
Ebuild name:

dev-db/mycli-2.2.0

Description

CLI for MySQL Database with auto-completion and syntax highlighting

Added to portage

2026-07-12

nagios-mode - 0.4
Ebuild name:

app-emacs/nagios-mode-0.4

Description

Major mode for editing Nagios configuration files

Added to portage

2026-07-12

nethogs - 0.9.0
Ebuild name:

net-analyzer/nethogs-0.9.0

Description

Small 'net top' tool, grouping bandwidth by process

Added to portage

2026-07-12

networkmanager - 1.56.1
Ebuild name:

net-misc/networkmanager-1.56.1

Description

A set of co-operative tools that make networking simple and straight

Added to portage

2026-07-12

nitrocli - 0.4.1-r2
Ebuild name:

app-crypt/nitrocli-0.4.1-r2

Description

A command line tool for interacting with Nitrokey devices

Added to portage

2026-07-12

nox - 2026.07.11
Ebuild name:

dev-python/nox-2026.07.11

Description

Flexible test automation for Python

Added to portage

2026-07-12

nwipe - 0.41
Ebuild name:

app-crypt/nwipe-0.41

Description

Securely erase disks using a variety of recognized methods

Added to portage

2026-07-12

onak - 0.6.3
Ebuild name:

app-crypt/onak-0.6.3

Description

onak is an OpenPGP keyserver

Added to portage

2026-07-12

onak - 0.6.4
Ebuild name:

app-crypt/onak-0.6.4

Description

onak is an OpenPGP keyserver

Added to portage

2026-07-12

pkgconf - 3.0.1
Ebuild name:

dev-util/pkgconf-3.0.1

Description

pkg-config compatible replacement with no dependencies other than C99

Added to portage

2026-07-12

projectile - 3.2.0
Ebuild name:

app-emacs/projectile-3.2.0

Description

A project interaction library for Emacs

Added to portage

2026-07-12

razer-cli - 2.3.1
Ebuild name:

sys-apps/razer-cli-2.3.1

Description

Command line interface for controlling Razer devices on Linux

Added to portage

2026-07-12

rime-data - 1.0.20260703
Ebuild name:

app-i18n/rime-data-1.0.20260703

Description

Added to portage

2026-07-12

siegfried - 1.11.5
Ebuild name:

app-misc/siegfried-1.11.5

Description

Signature-based file format identification

Added to portage

2026-07-12

sipvicious - 0.3.8
Ebuild name:

net-voip/sipvicious-0.3.8

Description

SIPVicious is a SIP security package

Added to portage

2026-07-12

syrupy - 5.5.3
Ebuild name:

dev-python/syrupy-5.5.3

Description

The sweeter pytest snapshot plugin

Added to portage

2026-07-12

thrift - 0.24.0
Ebuild name:

dev-libs/thrift-0.24.0

Description

C++ bindings for Apache Thrift

Added to portage

2026-07-12

thrift - 0.24.0
Ebuild name:

dev-python/thrift-0.24.0

Description

Python implementation of Thrift

Added to portage

2026-07-12

tomcat - 10.1.57
Ebuild name:

www-servers/tomcat-10.1.57

Description

Tomcat Servlet-6.0/JSP-3.1/EL-5.0/WebSocket-2.1/JASPIC-3.0 Container

Added to portage

2026-07-12

tomcat - 11.0.24
Ebuild name:

www-servers/tomcat-11.0.24

Description

Tomcat Servlet-6.1/JSP-4.0/EL-6.0/WebSocket-2.2/JASPIC-3.1 Container

Added to portage

2026-07-12

tomcat - 9.0.120
Ebuild name:

www-servers/tomcat-9.0.120

Description

Tomcat Servlet-4.0/JSP-2.3/EL-3.0/WebSocket-1.1/JASPIC-1.1 Container

Added to portage

2026-07-12

trilinos - 17.0.0-r1
Ebuild name:

sci-libs/trilinos-17.0.0-r1

Description

Scientific library collection for large scale problems

Added to portage

2026-07-12

trilinos - 17.1.0-r1
Ebuild name:

sci-libs/trilinos-17.1.0-r1

Description

Scientific library collection for large scale problems

Added to portage

2026-07-12

upower - 1.91.2
Ebuild name:

sys-power/upower-1.91.2

Description

D-Bus abstraction for enumerating power devices, querying history and stati

Added to portage

2026-07-12

upower - 1.91.3
Ebuild name:

sys-power/upower-1.91.3

Description

D-Bus abstraction for enumerating power devices, querying history and stati

Added to portage

2026-07-12

wine-staging - 11.13
Ebuild name:

app-emulation/wine-staging-11.13

Description

Free implementation of Windows(tm) on Unix, with Wine-Staging patc

Added to portage

2026-07-12

wireshark - 4.6.7
Ebuild name:

net-analyzer/wireshark-4.6.7

Description

Network protocol analyzer (sniffer)

Added to portage

2026-07-12

xstdcmap - 1.0.6
Ebuild name:

x11-apps/xstdcmap-1.0.6

Description

X standard colormap utility

Added to portage

2026-07-12

xvinfo - 1.1.6
Ebuild name:

x11-apps/xvinfo-1.1.6

Description

Print out X-Video extension adaptor information

Added to portage

2026-07-12

xwd - 1.0.10
Ebuild name:

x11-apps/xwd-1.0.10

Description

dump an image of an X window

Added to portage

2026-07-12

xwud - 1.0.8
Ebuild name:

x11-apps/xwud-1.0.8

Description

image displayer for X

Added to portage

2026-07-12

yamagi-quake2 - 8.70
Ebuild name:

games-fps/yamagi-quake2-8.70

Description

Quake 2 engine focused on single player

Added to portage

2026-07-12

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