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:

87171

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-07-25
courier-common - 3.1.5-r2
Ebuild name:

net-mail/courier-common-3.1.5-r2

Description

Mail delivery agent/filter

Added to portage

2026-07-25

courier-common - 3.3.0
Ebuild name:

net-mail/courier-common-3.3.0

Description

Mail delivery agent/filter

Added to portage

2026-07-25

2026-07-24
android-studio - 2026.1.2.11
Ebuild name:

dev-util/android-studio-2026.1.2.11

Description

Android development environment based on IntelliJ IDEA

Added to portage

2026-07-24

annotated-types - 0.8.0
Ebuild name:

dev-python/annotated-types-0.8.0

Description

Reusable constraint types to use with typing.Annotated

Added to portage

2026-07-24

aws-crt-cpp - 0.37.4-r2
Ebuild name:

dev-cpp/aws-crt-cpp-0.37.4-r2

Description

C++ wrapper around the aws-c-* libraries

Added to portage

2026-07-24

awscli - 1.45.55
Ebuild name:

app-admin/awscli-1.45.55

Description

Universal Command Line Environment for AWS

Added to portage

2026-07-24

boto3 - 1.43.55
Ebuild name:

dev-python/boto3-1.43.55

Description

The AWS SDK for Python

Added to portage

2026-07-24

botocore - 1.43.55
Ebuild name:

dev-python/botocore-1.43.55

Description

Low-level, data-driven core of boto 3

Added to portage

2026-07-24

cachetools - 7.1.6
Ebuild name:

dev-python/cachetools-7.1.6

Description

Extensible memoizing collections and decorators

Added to portage

2026-07-24

cfn-lint - 1.53.2
Ebuild name:

dev-python/cfn-lint-1.53.2

Description

CloudFormation Linter

Added to portage

2026-07-24

dump1090 - 11.1
Ebuild name:

net-wireless/dump1090-11.1

Description

Simple Mode S decoder for RTLSDR devices

Added to portage

2026-07-24

geekbench - 7.0.0
Ebuild name:

app-benchmarks/geekbench-7.0.0

Description

A Cross-Platform Benchmark for Android, iOS, Linux, MacOS and Window

Added to portage

2026-07-24

gentoo-sources - 6.1.178
Ebuild name:

sys-kernel/gentoo-sources-6.1.178

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-07-24

gentoo-sources - 6.12.97
Ebuild name:

sys-kernel/gentoo-sources-6.12.97

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-07-24

gentoo-sources - 6.18.40
Ebuild name:

sys-kernel/gentoo-sources-6.18.40

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-07-24

gentoo-sources - 6.6.145
Ebuild name:

sys-kernel/gentoo-sources-6.6.145

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-07-24

gentoo-sources - 7.1.5
Ebuild name:

sys-kernel/gentoo-sources-7.1.5

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-07-24

gnumach - 1.8_p20260630
Ebuild name:

sys-kernel/gnumach-1.8_p20260630

Description

GNU Mach microkernel, for the Hurd

Added to portage

2026-07-24

grpcio - 1.83.0
Ebuild name:

dev-python/grpcio-1.83.0

Description

HTTP/2-based RPC framework

Added to portage

2026-07-24

grpcio-status - 1.83.0
Ebuild name:

dev-python/grpcio-status-1.83.0

Description

Reference package for GRPC Python status proto mapping

Added to portage

2026-07-24

h2 - 4.4.0
Ebuild name:

dev-python/h2-4.4.0

Description

HTTP/2 State-Machine based protocol implementation

Added to portage

2026-07-24

httpx2 - 2.9.0
Ebuild name:

dev-python/httpx2-2.9.0

Description

The next generation HTTP client (Pydantic fork)

Added to portage

2026-07-24

hurd - 0.9_p20260630
Ebuild name:

sys-kernel/hurd-0.9_p20260630

Description

GNU Hurd is the GNU project's replacement for UNIX

Added to portage

2026-07-24

hypothesis - 6.161.1
Ebuild name:

dev-python/hypothesis-6.161.1

Description

A library for property based testing

Added to portage

2026-07-24

intellij-idea - 2026.2.0.1
Ebuild name:

dev-util/intellij-idea-2026.2.0.1

Description

A complete toolset for web, mobile and enterprise development

Added to portage

2026-07-24

kirigami-app-components - 1.0.1-r1
Ebuild name:

dev-libs/kirigami-app-components-1.0.1-r1

Description

Kirigami addons and modules necessary to do a full featur

Added to portage

2026-07-24

lego - 5.3.1
Ebuild name:

app-crypt/lego-5.3.1

Description

Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go

Added to portage

2026-07-24

libacpica - 0_pre20220331_p7
Ebuild name:

sys-power/libacpica-0_pre20220331_p7

Description

ACPICA as a library

Added to portage

2026-07-24

metamath-mode - 0_p20221005
Ebuild name:

app-emacs/metamath-mode-0_p20221005

Description

Major GNU Emacs mode for metamath files

Added to portage

2026-07-24

mew - 6.8_p20230203
Ebuild name:

app-emacs/mew-6.8_p20230203

Description

Great MIME mail reader for Emacs/XEmacs

Added to portage

2026-07-24

mic-paren - 3.15-r1
Ebuild name:

app-emacs/mic-paren-3.15-r1

Description

Advanced highlighting of matching parentheses

Added to portage

2026-07-24

mldonkey - 0.0.4b-r2
Ebuild name:

app-emacs/mldonkey-0.0.4b-r2

Description

An Emacs Lisp interface to the MLDonkey core

Added to portage

2026-07-24

patatt - 0.8.0
Ebuild name:

dev-python/patatt-0.8.0

Description

A simple library to add cryptographic attestation to patches sent via email

Added to portage

2026-07-24

pkgcheck - 0.10.41
Ebuild name:

dev-util/pkgcheck-0.10.41

Description

pkgcore-based QA utility for ebuild repos

Added to portage

2026-07-24

pkgcore - 0.12.36
Ebuild name:

sys-apps/pkgcore-0.12.36

Description

a framework for package management

Added to portage

2026-07-24

quart - 0.21.0
Ebuild name:

dev-python/quart-0.21.0

Description

A Python ASGI web microframework with the same API as Flask

Added to portage

2026-07-24

rnv - 1.7.11-r5
Ebuild name:

app-text/rnv-1.7.11-r5

Description

A lightweight Relax NG Compact Syntax validator

Added to portage

2026-07-24

rust - 1.97.1
Ebuild name:

dev-lang/rust-1.97.1

Description

Systems programming language originally developed by Mozilla

Added to portage

2026-07-24

rust-bin - 1.97.1
Ebuild name:

dev-lang/rust-bin-1.97.1

Description

Added to portage

2026-07-24

rust-common - 1.97.1
Ebuild name:

dev-lang/rust-common-1.97.1

Description

Common files shared between multiple slots of Rust

Added to portage

2026-07-24

rust-std - 1.97.1
Ebuild name:

sys-devel/rust-std-1.97.1

Description

Rust standard library, standalone (for crossdev)

Added to portage

2026-07-24

snakeoil - 0.11.2
Ebuild name:

dev-python/snakeoil-0.11.2

Description

misc common functionality and useful optimizations

Added to portage

2026-07-24

stalwart-cli - 1.0.11
Ebuild name:

net-mail/stalwart-cli-1.0.11

Description

Stalwart Mail Server command line utility

Added to portage

2026-07-24

stalwart-mail - 0.16.14
Ebuild name:

net-mail/stalwart-mail-0.16.14

Description

Stalwart Mail Server

Added to portage

2026-07-24

telegram-desktop-bin - 7.0.5
Ebuild name:

net-im/telegram-desktop-bin-7.0.5

Description

Official desktop client for Telegram (binary package)

Added to portage

2026-07-24

urwid - 4.0.6
Ebuild name:

dev-python/urwid-4.0.6

Description

Curses-based user interface library for Python

Added to portage

2026-07-24

uv - 0.11.32
Ebuild name:

dev-python/uv-0.11.32

Description

A Python package installer and resolver, written in Rust

Added to portage

2026-07-24

uv-build - 0.11.32
Ebuild name:

dev-python/uv-build-0.11.32

Description

PEP517 uv build backend

Added to portage

2026-07-24

vanilla-sources - 6.1.178
Ebuild name:

sys-kernel/vanilla-sources-6.1.178

Description

Full sources for the Linux kernel

Added to portage

2026-07-24

vanilla-sources - 6.12.97
Ebuild name:

sys-kernel/vanilla-sources-6.12.97

Description

Full sources for the Linux kernel

Added to portage

2026-07-24

vanilla-sources - 6.18.40
Ebuild name:

sys-kernel/vanilla-sources-6.18.40

Description

Full sources for the Linux kernel

Added to portage

2026-07-24

vanilla-sources - 6.6.145
Ebuild name:

sys-kernel/vanilla-sources-6.6.145

Description

Full sources for the Linux kernel

Added to portage

2026-07-24

vanilla-sources - 7.1.5
Ebuild name:

sys-kernel/vanilla-sources-7.1.5

Description

Full sources for the Linux kernel

Added to portage

2026-07-24

webrtc-audio-processing - 1.3-r5
Ebuild name:

media-libs/webrtc-audio-processing-1.3-r5

Description

AudioProcessing library from the webrtc.org codebase

Added to portage

2026-07-24

xvfbwrapper - 0.2.29
Ebuild name:

dev-python/xvfbwrapper-0.2.29

Description

Python wrapper for running a display inside X virtual framebuffer

Added to portage

2026-07-24

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