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:

89679

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

Specifying only needed locales

The locales a user can choose from are built by the glibc.

Usually all available locales starting from aa_DJ (Afar locale for Djibouti) over en_US (English locale for the USA) to zu_ZA.utf8 (Zulu locale for South Africa) will be installed.

Unless you're working at the UN and administer a central server for all member states, it is difficult to conceive why you would need a system where all of these locales are installed. This week's tip was written with all those of you in mind who'd like to save 90 percent of the space occupied by locales in their system, by limiting the number of installed locales to the bare minimum.

Ever since sys-libs/glibc-2.3.4.20040619-r2 has been in Portage, a USE-flag called userlocales was provided to make sure only those locales mentioned in /etc/locales.build are to be built and installed. As a side-effect, this also leads to a much faster emerge of glibc, obviously.

Code Listing 1: Activate the userlocales USE flag especially for glibc

echo "sys-libs/glibc userlocales" >> /etc/portage/package.use

Now specify the locales you want to be able to use:

Code Listing 2: nano -w /etc/locales.build

The format of the locales is described in the file itself. 
en_US/ISO-8859-1 
en_US.UTF-8/UTF-8 
de_DE/ISO-8859-1 
de_DE@euro/ISO-8859-15 
de_DE.UTF-8/UTF-8

For further information about locale-handling make sure you read our Gentoo Linux Localization Guide.

Another interesting tool is app-admin/localepurge which can clean out any installed man-page or info-file in languages you don't need on your system. You should read the man-page to localepurge in any case, and configure languages you intend to keep in /etc/locale.nopurge.

By the way, if you want to prohibit the installation of all man-pages, info-files or documentation, for example when space on your disk is severely limited, you can add noman, nodoc and/or noinfo to FEATURES in your /etc/make.conf.

From http://www.gentoo.org/news/en/gwn/20041108-newsletter.xml

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2026-10-30
affine - 3.0.1
Ebuild name:

sci-geosciences/affine-3.0.1

Description

Affine transformation matrices

Added to portage

2026-10-30

deluge - 2.1.1-r10
Ebuild name:

net-p2p/deluge-2.1.1-r10

Description

BitTorrent client with a client/server model

Added to portage

2026-10-30

deluge - 2.2.0-r3
Ebuild name:

net-p2p/deluge-2.2.0-r3

Description

BitTorrent client with a client/server model

Added to portage

2026-10-30

kirigami-addons - 1.16.0
Ebuild name:

dev-libs/kirigami-addons-1.16.0

Description

Visual end user components for Kirigami-based applications

Added to portage

2026-10-30

libtorrent-rasterbar - 2.0.15
Ebuild name:

net-libs/libtorrent-rasterbar-2.0.15

Description

C++ BitTorrent implementation focusing on efficiency and scala

Added to portage

2026-10-30

obs-studio - 33.0.1
Ebuild name:

media-video/obs-studio-33.0.1

Description

Software for Recording and Streaming Live Video Content

Added to portage

2026-10-30

qbittorrent - 5.1.4-r2
Ebuild name:

net-p2p/qbittorrent-5.1.4-r2

Description

BitTorrent client in C++ and Qt

Added to portage

2026-10-30

qbittorrent - 5.2.4-r1
Ebuild name:

net-p2p/qbittorrent-5.2.4-r1

Description

BitTorrent client in C++ and Qt

Added to portage

2026-10-30

qbittorrent - 5.3.0-r1
Ebuild name:

net-p2p/qbittorrent-5.3.0-r1

Description

BitTorrent client in C++ and Qt

Added to portage

2026-10-30

rasterio - 1.5.2
Ebuild name:

sci-geosciences/rasterio-1.5.2

Description

Rasterio reads and writes geospatial raster datasets

Added to portage

2026-10-30

2026-10-29
android-studio - 2026.2.2.8
Ebuild name:

dev-util/android-studio-2026.2.2.8

Description

Android development environment based on IntelliJ IDEA

Added to portage

2026-10-29

asdf - 3.3.7
Ebuild name:

dev-lisp/asdf-3.3.7

Description

ASDF is Another System Definition Facility for Common Lisp

Added to portage

2026-10-29

aws-c-s3 - 1.5.1
Ebuild name:

dev-libs/aws-c-s3-1.5.1

Description

AWS C S3 async library

Added to portage

2026-10-29

cachetools - 7.2.7
Ebuild name:

dev-python/cachetools-7.2.7

Description

Extensible memoizing collections and decorators

Added to portage

2026-10-29

cfn-lint - 1.59.0
Ebuild name:

dev-python/cfn-lint-1.59.0

Description

CloudFormation Linter

Added to portage

2026-10-29

cli-helpers - 2.15.3
Ebuild name:

dev-python/cli-helpers-2.15.3

Description

Python helpers for common CLI tasks

Added to portage

2026-10-29

clozurecl - 1.14
Ebuild name:

dev-lisp/clozurecl-1.14

Description

Common Lisp implementation, derived from Digitool's MCL product

Added to portage

2026-10-29

editorconfig-core-c - 0.12.11
Ebuild name:

app-text/editorconfig-core-c-0.12.11

Description

EditorConfig core library written in C

Added to portage

2026-10-29

editorconfig-core-c - 0.12.11-r1
Ebuild name:

app-text/editorconfig-core-c-0.12.11-r1

Description

EditorConfig core library written in C

Added to portage

2026-10-29

faker - 40.44.0
Ebuild name:

dev-python/faker-40.44.0

Description

A Python package that generates fake data for you

Added to portage

2026-10-29

fastsimdjson - 0.9.0
Ebuild name:

dev-python/fastsimdjson-0.9.0

Description

fast JSON in Python

Added to portage

2026-10-29

flake8 - 7.5.0
Ebuild name:

dev-python/flake8-7.5.0

Description

A wrapper around PyFlakes, pep8 & mccabe

Added to portage

2026-10-29

gentoo-reminders - 0.1.0
Ebuild name:

app-portage/gentoo-reminders-0.1.0

Description

Generate reminder emails for Gentoo package maintainers

Added to portage

2026-10-29

ggml - 0.28.0
Ebuild name:

sci-ml/ggml-0.28.0

Description

Tensor library for machine learning

Added to portage

2026-10-29

google-api-core - 2.43.1
Ebuild name:

dev-python/google-api-core-2.43.1

Description

Core Library for Google Client Libraries

Added to portage

2026-10-29

gpxsee - 16.19
Ebuild name:

sci-geosciences/gpxsee-16.19

Description

Viewer and analyzer that supports gpx, tcx, kml, fit, igc and nmea fil

Added to portage

2026-10-29

hermes - 3.2
Ebuild name:

dev-util/hermes-3.2

Description

Lua based testing manager

Added to portage

2026-10-29

hspec - 2.11.18
Ebuild name:

dev-haskell/hspec-2.11.18

Description

A Testing Framework for Haskell

Added to portage

2026-10-29

hspec-core - 2.11.18
Ebuild name:

dev-haskell/hspec-core-2.11.18

Description

A Testing Framework for Haskell

Added to portage

2026-10-29

hspec-discover - 2.11.18
Ebuild name:

dev-haskell/hspec-discover-2.11.18

Description

Automatically discover and run Hspec tests

Added to portage

2026-10-29

hspec-meta - 2.11.18
Ebuild name:

dev-haskell/hspec-meta-2.11.18

Description

A version of Hspec which is used to test Hspec itself

Added to portage

2026-10-29

httplib2 - 0.32.1
Ebuild name:

dev-python/httplib2-0.32.1

Description

A comprehensive HTTP client library

Added to portage

2026-10-29

imageio-ffmpeg - 0.7.0
Ebuild name:

dev-python/imageio-ffmpeg-0.7.0

Description

FFMPEG wrapper for Python

Added to portage

2026-10-29

keepsecret - 26.08.2
Ebuild name:

app-crypt/keepsecret-26.08.2

Description

Password manager GUI for SecretService providers

Added to portage

2026-10-29

keybase - 6.0.2
Ebuild name:

app-crypt/keybase-6.0.2

Description

Keybase client

Added to portage

2026-10-29

keybase - 6.2.4
Ebuild name:

app-crypt/keybase-6.2.4

Description

Keybase client

Added to portage

2026-10-29

keybase - 9999
Ebuild name:

app-crypt/keybase-9999

Description

Keybase client

Added to portage

2026-10-29

lmod - 9.4.5
Ebuild name:

sys-cluster/lmod-9.4.5

Description

Environment Module System based on Lua

Added to portage

2026-10-29

maturin - 1.16.0
Ebuild name:

dev-util/maturin-1.16.0

Description

Build and publish crates with pyo3, rust-cpython and cffi bindings

Added to portage

2026-10-29

mypy - 2.4.1
Ebuild name:

dev-python/mypy-2.4.1

Description

Optional static typing for Python

Added to portage

2026-10-29

netpbm - 11.16.2
Ebuild name:

media-libs/netpbm-11.16.2

Description

A set of utilities for converting to/from the netpbm (and related) format

Added to portage

2026-10-29

netpbm - 11.2.31
Ebuild name:

media-libs/netpbm-11.2.31

Description

A set of utilities for converting to/from the netpbm (and related) format

Added to portage

2026-10-29

nodejs - 24.22.2
Ebuild name:

net-libs/nodejs-24.22.2

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2026-10-29

ollama - 0.40.10
Ebuild name:

sci-ml/ollama-0.40.10

Description

Get up and running with Llama 3, Mistral, Gemma, and other language models

Added to portage

2026-10-29

openjdk - 17.0.21.0.3_p1
Ebuild name:

dev-java/openjdk-17.0.21.0.3_p1

Description

Open source implementation of the Java programming language

Added to portage

2026-10-29

openjdk - 21.0.13.0.3_p1
Ebuild name:

dev-java/openjdk-21.0.13.0.3_p1

Description

Open source implementation of the Java programming language

Added to portage

2026-10-29

openjdk - 25.0.5.0.3_p1
Ebuild name:

dev-java/openjdk-25.0.5.0.3_p1

Description

Open source implementation of the Java programming language

Added to portage

2026-10-29

openjdk - 27.0.1.0.3_p1
Ebuild name:

dev-java/openjdk-27.0.1.0.3_p1

Description

Open source implementation of the Java programming language

Added to portage

2026-10-29

openjdk-jre-bin - 17.0.21_p9
Ebuild name:

dev-java/openjdk-jre-bin-17.0.21_p9

Description

Prebuilt Java JRE binaries provided by Eclipse Temurin

Added to portage

2026-10-29

openjdk-jre-bin - 21.0.13_p9
Ebuild name:

dev-java/openjdk-jre-bin-21.0.13_p9

Description

Prebuilt Java JRE binaries provided by Eclipse Temurin

Added to portage

2026-10-29

openjdk-jre-bin - 25.0.5_p8
Ebuild name:

dev-java/openjdk-jre-bin-25.0.5_p8

Description

Prebuilt Java JRE binaries provided by Eclipse Temurin

Added to portage

2026-10-29

openpgp-keys-gentoo-developers - 20261026
Ebuild name:

sec-keys/openpgp-keys-gentoo-developers-20261026

Description

Gentoo Authority Keys (GLEP 79)

Added to portage

2026-10-29

oslo-config - 10.8.0
Ebuild name:

dev-python/oslo-config-10.8.0

Description

Oslo Configuration API

Added to portage

2026-10-29

paste - 3.11.0
Ebuild name:

dev-python/paste-3.11.0

Description

Tools for using a Web Server Gateway Interface stack

Added to portage

2026-10-29

pkginfo - 2.0
Ebuild name:

dev-python/pkginfo-2.0

Description

Provides an API for querying the distutils metadata written in a PKG-INFO fi

Added to portage

2026-10-29

plasma-workspace - 6.8.2-r1
Ebuild name:

kde-plasma/plasma-workspace-6.8.2-r1

Description

KDE Plasma workspace

Added to portage

2026-10-29

plex-media-server - 1.43.5.11079
Ebuild name:

media-tv/plex-media-server-1.43.5.11079

Description

Free media library that is intended for use with a plex cli

Added to portage

2026-10-29

pmix - 5.0.4-r2
Ebuild name:

sys-cluster/pmix-5.0.4-r2

Description

The Process Management Interface (PMI) Exascale

Added to portage

2026-10-29

pmix - 5.0.9-r1
Ebuild name:

sys-cluster/pmix-5.0.9-r1

Description

The Process Management Interface (PMI) Exascale

Added to portage

2026-10-29

pmix - 6.1.0-r1
Ebuild name:

sys-cluster/pmix-6.1.0-r1

Description

The Process Management Interface (PMI) Exascale

Added to portage

2026-10-29

prrte - 3.0.12-r1
Ebuild name:

sys-cluster/prrte-3.0.12-r1

Description

PMIx Reference RunTime Environment

Added to portage

2026-10-29

prrte - 3.0.7-r2
Ebuild name:

sys-cluster/prrte-3.0.7-r2

Description

PMIx Reference RunTime Environment

Added to portage

2026-10-29

pydantic-settings - 2.16.2
Ebuild name:

dev-python/pydantic-settings-2.16.2

Description

Settings management using Pydantic

Added to portage

2026-10-29

pyflakes - 4.1.0
Ebuild name:

dev-python/pyflakes-4.1.0

Description

Passive checker for Python programs

Added to portage

2026-10-29

pypdf - 6.21.4
Ebuild name:

dev-python/pypdf-6.21.4

Description

Python library to work with PDF files

Added to portage

2026-10-29

pytest-forked - 1.7.5-r1
Ebuild name:

dev-python/pytest-forked-1.7.5-r1

Description

Run tests in isolated forked subprocesses

Added to portage

2026-10-29

python-engineio - 4.15.1
Ebuild name:

dev-python/python-engineio-4.15.1

Description

Python implementation of the Engine.IO realtime server

Added to portage

2026-10-29

pytorch - 2.15.0
Ebuild name:

sci-ml/pytorch-2.15.0

Description

Tensors and Dynamic neural networks in Python with strong GPU acceleration

Added to portage

2026-10-29

reaper-bin - 7.83-r2
Ebuild name:

media-sound/reaper-bin-7.83-r2

Description

Digital audio workstation

Added to portage

2026-10-29

rivet - 4.1.4
Ebuild name:

sci-physics/rivet-4.1.4

Description

Robust Independent Validation of Experiment and Theory toolkit

Added to portage

2026-10-29

rq - 3.0.0
Ebuild name:

dev-python/rq-3.0.0

Description

Simple, lightweight library for creating and processing background jobs

Added to portage

2026-10-29

simdjson - 5.0.8
Ebuild name:

dev-libs/simdjson-5.0.8

Description

SIMD accelerated C++ JSON library

Added to portage

2026-10-29

spidermonkey - 153.6.0
Ebuild name:

dev-lang/spidermonkey-153.6.0

Description

Mozilla's JavaScript engine written in C and C++

Added to portage

2026-10-29

uiop - 3.3.7
Ebuild name:

dev-lisp/uiop-3.3.7

Description

UIOP is a portability layer spun off ASDF3

Added to portage

2026-10-29

urwid - 5.0.0
Ebuild name:

dev-python/urwid-5.0.0

Description

Curses-based user interface library for Python

Added to portage

2026-10-29

wordpress - 6.4.14
Ebuild name:

www-apps/wordpress-6.4.14

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

wordpress - 6.5.14
Ebuild name:

www-apps/wordpress-6.5.14

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

wordpress - 6.6.11
Ebuild name:

www-apps/wordpress-6.6.11

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

wordpress - 6.7.11
Ebuild name:

www-apps/wordpress-6.7.11

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

wordpress - 6.8.12
Ebuild name:

www-apps/wordpress-6.8.12

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

wordpress - 6.9.11
Ebuild name:

www-apps/wordpress-6.9.11

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

wordpress - 7.0.8
Ebuild name:

www-apps/wordpress-7.0.8

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

wordpress - 7.1.4
Ebuild name:

www-apps/wordpress-7.1.4

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

xlsxwriter - 3.3.1
Ebuild name:

dev-python/xlsxwriter-3.3.1

Description

Python module for creating Excel XLSX files

Added to portage

2026-10-29

xmrig - 6.26.0-r1
Ebuild name:

net-misc/xmrig-6.26.0-r1

Description

RandomX, CryptoNight, KawPow, AstroBWT, and Argon2 CPU/GPU miner

Added to portage

2026-10-29

yoda - 2.1.4
Ebuild name:

sci-physics/yoda-2.1.4

Description

Yet more Objects for (High Energy Physics) Data Analysis

Added to portage

2026-10-29

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