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:

73458

userrating:

average rating: 1.2 (8 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tips&Tricks

Exploring portage features

The new release of Portage 2.1 brings many features and improvements.

While most of them are documented in the example make.conf and the portage man page they may not be obvious to most users, so we will show how to use some of these features.

All the features have to be set in /etc/make.conf.

Portage is now able to download some package's source code while compiling another. This can considerably reduce installation time when emerging many packages. There's no need to run emerge --fetchonly while doing a normal emerge anymore. You just have to add the following option:

Code Listing 1:

Setting parallel-fetch in /etc/make.conf
FEATURES="parallel-fetch"

This feature appears to be non-functional in some of the Portage 2.1 releases, but is expected to be fixed soon.

Another new option to reduce installation time yet a bit more is confcache. With this new feature portage caches many of the tests configuration scripts do, thus making execution faster. This comes with the small risk of caching wrong values, so be warned that this feature is known to have a few bugs.

Since this package is currently keyworded on most architectures, the required steps to enable it are:

Code Listing 2

Enabling confcache
Add this in /etc/make.conf
FEATURES="confcache"

We need to unmask the package before emerging it

echo "=dev-utils/confcache-0.4.2-r1 ~arch" >>/etc/portage/package.keywords

Installing confcache

emerge -av confcache

On further installations. you'll see stuff like:

checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler...(cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes

Another important new feature is the ability to log all the messages ebuilds print. Which messages to log and how to do it is configurable. For example, to save just the warnings and errors in a separate file for each package we emerge, you have to add:

Code Listing 5.3:

Configuring logging features in /etc/make.conf
This sets what to log
PORTAGE_ELOG_CLASSES="warn error log"
And this is how to do it
PORTAGE_ELOG_SYSTEM="save"

There are many more options like sending log messages via email. Please check out make.conf.example for further information.


From Gentoo Weekly Newsletter June, 20th 2006

minor problem with confcache - it no longer seems to exist in the build tree unless perhaps it was renamed.


rate this article:
current rating: average rating: 2.0 (1 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-03-22
ccache - 4.11.1
Ebuild name:

dev-util/ccache-4.11.1

Description

Fast compiler cache

Added to portage

2025-03-22

gcc - 12.4.1_p20250320
Ebuild name:

sys-devel/gcc-12.4.1_p20250320

Description

The GNU Compiler Collection

Added to portage

2025-03-22

gcc - 13.3.1_p20250321
Ebuild name:

sys-devel/gcc-13.3.1_p20250321

Description

The GNU Compiler Collection

Added to portage

2025-03-22

gemmlowp - 2021.12.20
Ebuild name:

sci-ml/gemmlowp-2021.12.20

Description

Low-precision matrix multiplication

Added to portage

2025-03-22

gpep517 - 17
Ebuild name:

dev-python/gpep517-17

Description

A backend script to aid installing Python packages in Gentoo

Added to portage

2025-03-22

libalkimia - 8.1.92_p20250321
Ebuild name:

app-office/libalkimia-8.1.92_p20250321

Description

Library with common classes and functionality used by KDE fi

Added to portage

2025-03-22

owntracks-recorder - 1.0.0
Ebuild name:

sci-geosciences/owntracks-recorder-1.0.0

Description

Stores and accesses location data published by the OwnTrac

Added to portage

2025-03-22

package-manager - 2
Ebuild name:

virtual/package-manager-2

Description

Virtual for the package manager

Added to portage

2025-03-22

qbittorrent - 5.0.4
Ebuild name:

net-p2p/qbittorrent-5.0.4

Description

BitTorrent client in C++ and Qt

Added to portage

2025-03-22

sddm - 0.21.0_p20250310
Ebuild name:

x11-misc/sddm-0.21.0_p20250310

Description

Simple Desktop Display Manager

Added to portage

2025-03-22

vivaldi - 7.2.3621.67
Ebuild name:

www-client/vivaldi-7.2.3621.67

Description

A browser for our friends

Added to portage

2025-03-22

vivaldi-snapshot - 7.2.3639.3
Ebuild name:

www-client/vivaldi-snapshot-7.2.3639.3

Description

A browser for our friends

Added to portage

2025-03-22

xsimd - 13.2.0
Ebuild name:

dev-cpp/xsimd-13.2.0

Description

C++ wrappers for SIMD intrinsics

Added to portage

2025-03-22

yt-dlp - 2025.03.21
Ebuild name:

net-misc/yt-dlp-2025.03.21

Description

youtube-dl fork with additional features and fixes

Added to portage

2025-03-22

2025-03-21
absl-py - 2.2.0
Ebuild name:

dev-python/absl-py-2.2.0

Description

Abseil Python Common Libraries

Added to portage

2025-03-21

accelerate - 1.5.2
Ebuild name:

sci-ml/accelerate-1.5.2

Description

Run your *raw* PyTorch training script on any kind of device

Added to portage

2025-03-21

aspell-bn - 0.01.1.1-r1
Ebuild name:

app-dicts/aspell-bn-0.01.1.1-r1

Description

Aspell () language dictionary

Added to portage

2025-03-21

async - 2.23.1
Ebuild name:

dev-ruby/async-2.23.1

Description

A concurrency framework for Ruby

Added to portage

2025-03-21

awscli - 1.38.17
Ebuild name:

app-admin/awscli-1.38.17

Description

Universal Command Line Environment for AWS

Added to portage

2025-03-21

backports - 3.25.1
Ebuild name:

dev-ruby/backports-3.25.1

Description

Backports of Ruby features for older Ruby

Added to portage

2025-03-21

bcftools - 1.21
Ebuild name:

sci-biology/bcftools-1.21

Description

Utilities for variant calling and manipulating VCF and BCF files

Added to portage

2025-03-21

boto3 - 1.37.17
Ebuild name:

dev-python/boto3-1.37.17

Description

The AWS SDK for Python

Added to portage

2025-03-21

botocore - 1.37.17
Ebuild name:

dev-python/botocore-1.37.17

Description

Low-level, data-driven core of boto 3

Added to portage

2025-03-21

chrome-binary-plugins - 134.0.6998.117
Ebuild name:

www-plugins/chrome-binary-plugins-134.0.6998.117

Description

Binary plugins from Google Chrome for use in Chrom

Added to portage

2025-03-21

chrome-binary-plugins - 135.0.7049.28_beta
Ebuild name:

www-plugins/chrome-binary-plugins-135.0.7049.28_beta

Description

Binary plugins from Google Chrome for use in C

Added to portage

2025-03-21

chromedriver-bin - 134.0.6998.117
Ebuild name:

www-apps/chromedriver-bin-134.0.6998.117

Description

WebDriver for Chrome

Added to portage

2025-03-21

chromium - 134.0.6998.117
Ebuild name:

www-client/chromium-134.0.6998.117

Description

Open-source version of Google Chrome web browser

Added to portage

2025-03-21

ckb - 0.6.2
Ebuild name:

app-misc/ckb-0.6.2

Description

Corsair K65/K70/K95 Driver

Added to portage

2025-03-21

cmake - 3.28.5
Ebuild name:

dev-build/cmake-3.28.5

Description

Cross platform Make

Added to portage

2025-03-21

curl - 8.13.0_rc2
Ebuild name:

net-misc/curl-8.13.0_rc2

Description

A Client that groks URLs

Added to portage

2025-03-21

ensurepip-setuptools - 77.0.3
Ebuild name:

dev-python/ensurepip-setuptools-77.0.3

Description

Shared setuptools wheel for ensurepip Python module

Added to portage

2025-03-21

exo - 4.21.0
Ebuild name:

xfce-base/exo-4.21.0

Description

Extensions, widgets and framework library with session support for Xfce

Added to portage

2025-03-21

fastfetch - 2.39.1
Ebuild name:

app-misc/fastfetch-2.39.1

Description

Fast neofetch-like system information tool

Added to portage

2025-03-21

fsautocomplete - 0.77.4
Ebuild name:

dev-dotnet/fsautocomplete-0.77.4

Description

F language server using the Language Server Protocol

Added to portage

2025-03-21

google-chrome - 134.0.6998.117
Ebuild name:

www-client/google-chrome-134.0.6998.117

Description

The web browser from Google

Added to portage

2025-03-21

google-chrome-beta - 135.0.7049.28
Ebuild name:

www-client/google-chrome-beta-135.0.7049.28

Description

The web browser from Google

Added to portage

2025-03-21

gromacs - 2025.1
Ebuild name:

sci-chemistry/gromacs-2025.1

Description

The ultimate molecular dynamics simulation package

Added to portage

2025-03-21

htslib - 1.21
Ebuild name:

sci-libs/htslib-1.21

Description

C library for high-throughput sequencing data formats

Added to portage

2025-03-21

kmymoney - 5.1.92_p20250320
Ebuild name:

app-office/kmymoney-5.1.92_p20250320

Description

Personal finance manager based on KDE Frameworks

Added to portage

2025-03-21

libarchive - 3.7.8
Ebuild name:

app-arch/libarchive-3.7.8

Description

Multi-format archive and compression library

Added to portage

2025-03-21

libdnet - 1.18.0-r2
Ebuild name:

dev-libs/libdnet-1.18.0-r2

Description

Simplified, portable interface to several low-level networking routines

Added to portage

2025-03-21

libhx - 4.27
Ebuild name:

sys-libs/libhx-4.27

Description

Platform independent library providing basic system functions

Added to portage

2025-03-21

libquotient - 0.9.3
Ebuild name:

net-libs/libquotient-0.9.3

Description

Qt-based SDK to develop applications for Matrix

Added to portage

2025-03-21

libxmi - 1.3-r2
Ebuild name:

media-libs/libxmi-1.3-r2

Description

C/C++ function library for rasterizing 2-D vector graphics

Added to portage

2025-03-21

linux-docs - 6.12.19
Ebuild name:

sys-kernel/linux-docs-6.12.19

Description

Developer documentation generated from the Linux kernel

Added to portage

2025-03-21

mesa - 25.0.2
Ebuild name:

media-libs/mesa-25.0.2

Description

OpenGL-like graphic library for Linux

Added to portage

2025-03-21

mesa_clc - 25.0.2
Ebuild name:

dev-util/mesa_clc-25.0.2

Description

mesa_clc tool used for building OpenCL C to SPIR-V

Added to portage

2025-03-21

microsoft-edge-beta - 135.0.3179.18
Ebuild name:

www-client/microsoft-edge-beta-135.0.3179.18

Description

The web browser from Microsoft

Added to portage

2025-03-21

mpfr - 4.2.2
Ebuild name:

dev-libs/mpfr-4.2.2

Description

Library for multiple-precision floating-point computations with exact rounding

Added to portage

2025-03-21

openapi-core - 0.19.5
Ebuild name:

dev-python/openapi-core-0.19.5

Description

Client-side and server-side support for the OpenAPI Specification v3

Added to portage

2025-03-21

opera - 117.0.5408.142
Ebuild name:

www-client/opera-117.0.5408.142

Description

A fast and secure web browser

Added to portage

2025-03-21

opera-beta - 118.0.5461.14
Ebuild name:

www-client/opera-beta-118.0.5461.14

Description

A fast and secure web browser

Added to portage

2025-03-21

opera-developer - 119.0.5474.0
Ebuild name:

www-client/opera-developer-119.0.5474.0

Description

A fast and secure web browser

Added to portage

2025-03-21

plasma-wayland-protocols - 1.17.0
Ebuild name:

dev-libs/plasma-wayland-protocols-1.17.0

Description

Plasma Specific Protocols for Wayland

Added to portage

2025-03-21

pycargoebuild - 0.14.0
Ebuild name:

app-portage/pycargoebuild-0.14.0

Description

A generator for Rust/Cargo ebuilds written in Python

Added to portage

2025-03-21

pysam - 0.23.0
Ebuild name:

sci-biology/pysam-0.23.0

Description

Python interface for the SAM/BAM sequence alignment and mapping format

Added to portage

2025-03-21

pyzotero - 1.6.11
Ebuild name:

dev-python/pyzotero-1.6.11

Description

A Python client for the Zotero API

Added to portage

2025-03-21

recog - 3.1.15
Ebuild name:

dev-ruby/recog-3.1.15

Description

Pattern recognition for hosts, services, and content

Added to portage

2025-03-21

redmine - 5.1.5
Ebuild name:

www-apps/redmine-5.1.5

Description

Flexible project management web application using the Ruby on Rails framewor

Added to portage

2025-03-21

redmine - 6.0.2
Ebuild name:

www-apps/redmine-6.0.2

Description

Flexible project management web application using the Ruby on Rails framewor

Added to portage

2025-03-21

rpm-spec-mode - 0.16
Ebuild name:

app-emacs/rpm-spec-mode-0.16

Description

Emacs mode to ease editing of RPM spec files

Added to portage

2025-03-21

rudel - 0.3.1
Ebuild name:

app-emacs/rudel-0.3.1

Description

Collaborative editing environment for GNU Emacs

Added to portage

2025-03-21

samtools - 1.21
Ebuild name:

sci-biology/samtools-1.21

Description

Utilities for analysing and manipulating the SAM/BAM alignment formats

Added to portage

2025-03-21

setuptools - 77.0.3
Ebuild name:

dev-python/setuptools-77.0.3

Description

Collection of extensions to Distutils

Added to portage

2025-03-21

signal-desktop-bin - 7.47.0
Ebuild name:

net-im/signal-desktop-bin-7.47.0

Description

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

Added to portage

2025-03-21

sourcegit - 2025.09
Ebuild name:

dev-vcs/sourcegit-2025.09

Description

Open Source Git GUI client using .NET AvaloniaUI

Added to portage

2025-03-21

spyder-line-profiler - 0.4.1
Ebuild name:

dev-python/spyder-line-profiler-0.4.1

Description

Plugin to run the python line profiler from within the spyder

Added to portage

2025-03-21

tor - 0.4.8.15
Ebuild name:

net-vpn/tor-0.4.8.15

Description

Anonymizing overlay network for TCP

Added to portage

2025-03-21

types-gdb - 15.0.0.20250321
Ebuild name:

dev-python/types-gdb-15.0.0.20250321

Description

Typing stubs for gdb

Added to portage

2025-03-21

uv - 0.6.9
Ebuild name:

dev-python/uv-0.6.9

Description

A Python package installer and resolver, written in Rust

Added to portage

2025-03-21

zstd - 1.5.7-r1
Ebuild name:

app-arch/zstd-1.5.7-r1

Description

zstd fast compression library

Added to portage

2025-03-21

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