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:

85778

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-06-11
2026-06-10
apache - 2.4.68
Ebuild name:

www-servers/apache-2.4.68

Description

The Apache Web Server

Added to portage

2026-06-10

apache-tools - 2.4.68
Ebuild name:

app-admin/apache-tools-2.4.68

Description

Useful Apache tools - htdigest, htpasswd, ab, htdbm

Added to portage

2026-06-10

awscli - 1.45.26
Ebuild name:

app-admin/awscli-1.45.26

Description

Universal Command Line Environment for AWS

Added to portage

2026-06-10

bash - 5.3_p15
Ebuild name:

app-shells/bash-5.3_p15

Description

The standard GNU Bourne again shell

Added to portage

2026-06-10

boto3 - 1.43.26
Ebuild name:

dev-python/boto3-1.43.26

Description

The AWS SDK for Python

Added to portage

2026-06-10

botocore - 1.43.26
Ebuild name:

dev-python/botocore-1.43.26

Description

Low-level, data-driven core of boto 3

Added to portage

2026-06-10

chessx - 1.6.10
Ebuild name:

games-board/chessx-1.6.10

Description

Qt-based Chess Database Utility

Added to portage

2026-06-10

cryptography - 48.0.1
Ebuild name:

dev-python/cryptography-48.0.1

Description

Library providing cryptographic recipes and primitives

Added to portage

2026-06-10

digikam - 9.1.0
Ebuild name:

media-gfx/digikam-9.1.0

Description

Digital photo management application

Added to portage

2026-06-10

discount - 3.0.1.3
Ebuild name:

app-text/discount-3.0.1.3

Description

A Markdown-to HTML translator written in C

Added to portage

2026-06-10

docutils-glep - 1.7
Ebuild name:

dev-python/docutils-glep-1.7

Description

Gentoo GLEP support for docutils

Added to portage

2026-06-10

dracut - 111-r1
Ebuild name:

sys-kernel/dracut-111-r1

Description

Generic initramfs generation tool

Added to portage

2026-06-10

dropbox - 256.4.3790
Ebuild name:

net-misc/dropbox-256.4.3790

Description

Dropbox daemon (pretends to be GUI-less)

Added to portage

2026-06-10

faker - 40.22.0
Ebuild name:

dev-python/faker-40.22.0

Description

A Python package that generates fake data for you

Added to portage

2026-06-10

firefox - 151.0.4
Ebuild name:

www-client/firefox-151.0.4

Description

Firefox Web Browser

Added to portage

2026-06-10

firefox-bin - 151.0.4
Ebuild name:

www-client/firefox-bin-151.0.4

Description

Firefox Web Browser

Added to portage

2026-06-10

firefox-l10n - 151.0.4
Ebuild name:

www-client/firefox-l10n-151.0.4

Description

Firefox Web Browser's translation files

Added to portage

2026-06-10

jupyter-client - 8.9.1
Ebuild name:

dev-python/jupyter-client-8.9.1

Description

Jupyter protocol implementation and client libraries

Added to portage

2026-06-10

kbibtex - 0.10.50_pre20260606
Ebuild name:

app-text/kbibtex-0.10.50_pre20260606

Description

BibTeX editor to edit bibliographies used with LaTeX

Added to portage

2026-06-10

kdesvn - 2.1.0_p20260608
Ebuild name:

dev-vcs/kdesvn-2.1.0_p20260608

Description

Frontend to the subversion vcs

Added to portage

2026-06-10

krename - 5.0.60_pre20260606
Ebuild name:

kde-misc/krename-5.0.60_pre20260606

Description

Powerful batch file renamer

Added to portage

2026-06-10

kronometer - 2.3.70_pre20260606
Ebuild name:

x11-misc/kronometer-2.3.70_pre20260606

Description

Stopwatch application

Added to portage

2026-06-10

libsecret - 0.21.7
Ebuild name:

app-crypt/libsecret-0.21.7

Description

GObject library for accessing the freedesktop.org Secret Service API

Added to portage

2026-06-10

libsecret - 0.21.7-r1
Ebuild name:

app-crypt/libsecret-0.21.7-r1

Description

GObject library for accessing the freedesktop.org Secret Service API

Added to portage

2026-06-10

libu2f-host - 1.1.10-r1
Ebuild name:

app-crypt/libu2f-host-1.1.10-r1

Description

Yubico Universal 2nd Factor (U2F) Host C Library

Added to portage

2026-06-10

nodejs - 24.16.0
Ebuild name:

net-libs/nodejs-24.16.0

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2026-06-10

openssl - 3.0.21
Ebuild name:

dev-libs/openssl-3.0.21

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security

Added to portage

2026-06-10

openssl - 3.4.6
Ebuild name:

dev-libs/openssl-3.4.6

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-06-10

openssl - 3.5.7
Ebuild name:

dev-libs/openssl-3.5.7

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-06-10

openssl - 3.6.3
Ebuild name:

dev-libs/openssl-3.6.3

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-06-10

openssl - 4.0.1
Ebuild name:

dev-libs/openssl-4.0.1

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-06-10

openstacksdk - 4.15.0
Ebuild name:

dev-python/openstacksdk-4.15.0

Description

A collection of libraries for building applications to work with Ope

Added to portage

2026-06-10

oslo-utils - 10.1.1
Ebuild name:

dev-python/oslo-utils-10.1.1

Description

Oslo Utility library

Added to portage

2026-06-10

php - 8.4.22
Ebuild name:

dev-lang/php-8.4.22

Description

The PHP language runtime engine

Added to portage

2026-06-10

php - 8.5.7-r1
Ebuild name:

dev-lang/php-8.5.7-r1

Description

The PHP language runtime engine

Added to portage

2026-06-10

pico8 - 0.2.7-r1
Ebuild name:

dev-lang/pico8-0.2.7-r1

Description

Fantasy console for making and playing tiny games and other computer progra

Added to portage

2026-06-10

prowlarr-bin - 2.4.0.5397
Ebuild name:

www-apps/prowlarr-bin-2.4.0.5397

Description

An indexer manager/proxy to integrate with your various PVR apps

Added to portage

2026-06-10

qgis - 4.0.3
Ebuild name:

sci-geosciences/qgis-4.0.3

Description

User friendly Geographic Information System

Added to portage

2026-06-10

radarr-bin - 6.2.1.10461
Ebuild name:

www-apps/radarr-bin-6.2.1.10461

Description

A fork of Sonarr to work with movies a la Couchpotato

Added to portage

2026-06-10

readme-renderer - 45.0
Ebuild name:

dev-python/readme-renderer-45.0

Description

A library for rendering 'readme' descriptions for Warehouse

Added to portage

2026-06-10

sqlglot - 30.10.0
Ebuild name:

dev-python/sqlglot-30.10.0

Description

An easily customizable SQL parser and transpiler

Added to portage

2026-06-10

talk-desktop-bin - 2.2.0
Ebuild name:

net-im/talk-desktop-bin-2.2.0

Description

Nextcloud Talk Desktop client

Added to portage

2026-06-10

tqdm - 4.68.2
Ebuild name:

dev-python/tqdm-4.68.2

Description

Add a progress meter to your loops in a second

Added to portage

2026-06-10

wayland-protocols - 1.49
Ebuild name:

dev-libs/wayland-protocols-1.49

Description

Wayland protocol files

Added to portage

2026-06-10

yt-dlp - 2026.06.09
Ebuild name:

net-misc/yt-dlp-2026.06.09

Description

youtube-dl fork with additional features and fixes

Added to portage

2026-06-10

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