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:

82645

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-29
array-api-compat - 1.13.0
Ebuild name:

dev-python/array-api-compat-1.13.0

Description

Array API standard compatibility wrapper over NumPy and others

Added to portage

2025-12-29

coverage - 7.13.1
Ebuild name:

dev-python/coverage-7.13.1

Description

Code coverage measurement for Python

Added to portage

2025-12-29

darktable - 5.4.0
Ebuild name:

media-gfx/darktable-5.4.0

Description

A virtual lighttable and darkroom for photographers

Added to portage

2025-12-29

elementpath - 5.1.0
Ebuild name:

dev-python/elementpath-5.1.0

Description

XPath 1.0/2.0 parsers and selectors for ElementTree and lxml

Added to portage

2025-12-29

gcc - 15.2.1_p20251227
Ebuild name:

sys-devel/gcc-15.2.1_p20251227

Description

The GNU Compiler Collection

Added to portage

2025-12-29

gcc - 16.0.0_p20251228
Ebuild name:

sys-devel/gcc-16.0.0_p20251228

Description

The GNU Compiler Collection

Added to portage

2025-12-29

git-sources - 6.19_rc3
Ebuild name:

sys-kernel/git-sources-6.19_rc3

Description

The very latest -git version of the Linux kernel

Added to portage

2025-12-29

hugin - 2025.0.1
Ebuild name:

media-gfx/hugin-2025.0.1

Description

GUI for the creation & processing of panoramic images

Added to portage

2025-12-29

lcov - 2.4
Ebuild name:

dev-util/lcov-2.4

Description

A graphical front-end for GCC's coverage testing tool gcov

Added to portage

2025-12-29

mediafile - 0.14.0
Ebuild name:

dev-python/mediafile-0.14.0

Description

Read and write audio files' tags in Python

Added to portage

2025-12-29

moto - 5.1.19
Ebuild name:

dev-python/moto-5.1.19

Description

Mock library for boto

Added to portage

2025-12-29

netavark - 1.17.1
Ebuild name:

app-containers/netavark-1.17.1

Description

A container network stack

Added to portage

2025-12-29

newsboat - 2.42
Ebuild name:

net-news/newsboat-2.42

Description

An RSS/Atom feed reader for text terminals

Added to portage

2025-12-29

parseclj - 1.1.1
Ebuild name:

app-emacs/parseclj-1.1.1

Description

Clojure Parser for Emacs Lisp

Added to portage

2025-12-29

postfix - 3.11.0_rc2
Ebuild name:

mail-mta/postfix-3.11.0_rc2

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2025-12-29

postfix - 3.12_pre20251226
Ebuild name:

mail-mta/postfix-3.12_pre20251226

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2025-12-29

pwsh - 7.5.4-r2
Ebuild name:

app-shells/pwsh-7.5.4-r2

Description

Cross-platform automation and configuration tool

Added to portage

2025-12-29

qmidiarp - 0.7.2
Ebuild name:

media-sound/qmidiarp-0.7.2

Description

Arpeggiator, sequencer and MIDI LFO for ALSA

Added to portage

2025-12-29

sedlex - 3.7
Ebuild name:

dev-ml/sedlex-3.7

Description

Added to portage

2025-12-29

socket-burst-dampener - 1.3.3
Ebuild name:

net-misc/socket-burst-dampener-1.3.3

Description

A daemon that spawns one command per connection, and dampens c

Added to portage

2025-12-29

tldextract - 5.3.1
Ebuild name:

dev-python/tldextract-5.3.1

Description

Accurately separate the TLD from the registered domain and subdomains o

Added to portage

2025-12-29

tlfloat - 1.15.0_p20250711
Ebuild name:

dev-cpp/tlfloat-1.15.0_p20250711

Description

C++ template library for floating point operations

Added to portage

2025-12-29

types-psutil - 7.2.0.20251228
Ebuild name:

dev-python/types-psutil-7.2.0.20251228

Description

Typing stubs for psutil

Added to portage

2025-12-29

xwaylandvideobridge - 0.4.0_p20250215-r1
Ebuild name:

gui-apps/xwaylandvideobridge-0.4.0_p20250215-r1

Description

Screenshare Wayland windows to XWayland apps

Added to portage

2025-12-29

2025-12-28
aotriton-bin - 0.11.1b-r1
Ebuild name:

sci-libs/aotriton-bin-0.11.1b-r1

Description

Ahead of Time (AOT) Triton Math Library (binary package)

Added to portage

2025-12-28

aotriton-bin - 0.11b-r1
Ebuild name:

sci-libs/aotriton-bin-0.11b-r1

Description

Ahead of Time (AOT) Triton Math Library (binary package)

Added to portage

2025-12-28

automake-vanilla - 1.11.6
Ebuild name:

dev-build/automake-vanilla-1.11.6

Description

Used to generate Makefile.in from Makefile.am

Added to portage

2025-12-28

automake-vanilla - 1.15.1
Ebuild name:

dev-build/automake-vanilla-1.15.1

Description

Used to generate Makefile.in from Makefile.am

Added to portage

2025-12-28

automake-vanilla - 1.16.5
Ebuild name:

dev-build/automake-vanilla-1.16.5

Description

Used to generate Makefile.in from Makefile.am

Added to portage

2025-12-28

caffe2 - 2.9.1-r2
Ebuild name:

sci-ml/caffe2-2.9.1-r2

Description

A deep learning framework

Added to portage

2025-12-28

clr-loader - 0.2.9
Ebuild name:

dev-python/clr-loader-0.2.9

Description

Generic pure Python loader for .NET runtimes

Added to portage

2025-12-28

dry-core - 1.2.0
Ebuild name:

dev-ruby/dry-core-1.2.0

Description

A toolset of small support modules used throughout the dry-rb ecosystem

Added to portage

2025-12-28

duplicati - 2.2.0.1.2025.11.09
Ebuild name:

app-backup/duplicati-2.2.0.1.2025.11.09

Description

Backup client that securely stores encrypted, incremental,

Added to portage

2025-12-28

faraday-follow_redirects - 0.5.0
Ebuild name:

dev-ruby/faraday-follow_redirects-0.5.0

Description

Perform multipart-post requests using Faraday

Added to portage

2025-12-28

faraday-multipart - 1.2.0
Ebuild name:

dev-ruby/faraday-multipart-1.2.0

Description

Perform multipart-post requests using Faraday

Added to portage

2025-12-28

faraday-retry - 2.4.0
Ebuild name:

dev-ruby/faraday-retry-2.4.0

Description

Faraday adapter for Net

Added to portage

2025-12-28

gemato - 20.11
Ebuild name:

app-portage/gemato-20.11

Description

Stand-alone Manifest generation & verification tool

Added to portage

2025-12-28

homebank - 5.9.7
Ebuild name:

app-office/homebank-5.9.7

Description

Free, easy, personal accounting for everyone

Added to portage

2025-12-28

intellij-idea - 2025.3.1-r1
Ebuild name:

dev-util/intellij-idea-2025.3.1-r1

Description

A complete toolset for web, mobile and enterprise development

Added to portage

2025-12-28

intellij-idea - 2025.3.1-r2
Ebuild name:

dev-util/intellij-idea-2025.3.1-r2

Description

A complete toolset for web, mobile and enterprise development

Added to portage

2025-12-28

jdupes - 1.30.0-r2
Ebuild name:

app-misc/jdupes-1.30.0-r2

Description

Identify duplicate files on the filesystem

Added to portage

2025-12-28

joplin-desktop - 3.5.9
Ebuild name:

app-office/joplin-desktop-3.5.9

Description

Secure note taking and to-do app with synchronization capabilities

Added to portage

2025-12-28

langkit-contrib - 26.0.0
Ebuild name:

dev-ada/langkit-contrib-26.0.0

Description

A Python framework to generate language parsers - Contrib

Added to portage

2025-12-28

libadalang - 26.0.0
Ebuild name:

dev-ada/libadalang-26.0.0

Description

high performance semantic engine for the Ada programming language

Added to portage

2025-12-28

mptcpd - 0.14
Ebuild name:

net-misc/mptcpd-0.14

Description

Daemon that performs multipath TCP path management related operations.

Added to portage

2025-12-28

netcoredbg - 3.1.3.1062
Ebuild name:

dev-dotnet/netcoredbg-3.1.3.1062

Description

NetCoreDbg is a managed code debugger with MI interface for CoreCL

Added to portage

2025-12-28

nvc - 1.18.2-r1
Ebuild name:

sci-electronics/nvc-1.18.2-r1

Description

NVC is a VHDL compiler and simulator

Added to portage

2025-12-28

odamex - 12.0.0
Ebuild name:

games-engines/odamex-12.0.0

Description

Online multiplayer free software engine for DOOM

Added to portage

2025-12-28

pdf-reader - 2.15.1
Ebuild name:

dev-ruby/pdf-reader-2.15.1

Description

PDF parser conforming as much as possible to the PDF specification from

Added to portage

2025-12-28

pkg-info - 0.6-r1
Ebuild name:

app-emacs/pkg-info-0.6-r1

Description

Provide information about Emacs packages

Added to portage

2025-12-28

polychromatic - 0.9.6
Ebuild name:

sys-apps/polychromatic-0.9.6

Description

RGB lighting management software for GNU/Linux powered by OpenRazer

Added to portage

2025-12-28

puppet-mode - 0.4-r1
Ebuild name:

app-emacs/puppet-mode-0.4-r1

Description

Emacs major mode for editing Puppet manifests

Added to portage

2025-12-28

pygresql - 6.2.1
Ebuild name:

dev-python/pygresql-6.2.1

Description

A Python interface for the PostgreSQL database

Added to portage

2025-12-28

pytest-gitconfig - 0.9.0
Ebuild name:

dev-python/pytest-gitconfig-0.9.0

Description

Provide a Git config sandbox for testing

Added to portage

2025-12-28

scss-mode - 0.5.0_p20180123-r2
Ebuild name:

app-emacs/scss-mode-0.5.0_p20180123-r2

Description

Major mode for editing SCSS files in Emacs

Added to portage

2025-12-28

session - 2.4b-r1
Ebuild name:

app-emacs/session-2.4b-r1

Description

When you start Emacs, Session restores various variables from your last s

Added to portage

2025-12-28

sonarr-bin - 4.0.16.2946
Ebuild name:

www-apps/sonarr-bin-4.0.16.2946

Description

Sonarr is a Smart PVR for newsgroup and bittorrent users

Added to portage

2025-12-28

sqlite3 - 2.9.0
Ebuild name:

dev-ruby/sqlite3-2.9.0

Description

An extension library to access a SQLite database from Ruby

Added to portage

2025-12-28

sumibi - 0.7.4-r1
Ebuild name:

app-emacs/sumibi-0.7.4-r1

Description

Statistical Japanese input method using the Internet as a large corpus

Added to portage

2025-12-28

tempo-snippets - 0.1.5-r1
Ebuild name:

app-emacs/tempo-snippets-0.1.5-r1

Description

Visual insertion of tempo templates

Added to portage

2025-12-28

treepy - 0.1.2-r1
Ebuild name:

app-emacs/treepy-0.1.2-r1

Description

Generic tree traversing tools for Emacs Lisp

Added to portage

2025-12-28

visual-basic-mode - 1.5-r1
Ebuild name:

app-emacs/visual-basic-mode-1.5-r1

Description

A mode for editing Visual Basic programs

Added to portage

2025-12-28

yaml-mode - 0.0.16-r1
Ebuild name:

app-emacs/yaml-mode-0.0.16-r1

Description

A major mode for GNU Emacs for editing YAML files

Added to portage

2025-12-28

zenburn - 20110907-r2
Ebuild name:

app-emacs/zenburn-20110907-r2

Description

Zenburn color theme for Emacs

Added to portage

2025-12-28

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