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:

82220

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
2025-11-30
2025-11-29
aespipe - 2.4j
Ebuild name:

app-crypt/aespipe-2.4j

Description

Encrypts data from stdin to stdout

Added to portage

2025-11-29

ansible - 12.2.0
Ebuild name:

app-admin/ansible-12.2.0

Description

Model-driven deployment, config management, and command execution framewor

Added to portage

2025-11-29

ansible - 13.0.0
Ebuild name:

app-admin/ansible-13.0.0

Description

Model-driven deployment, config management, and command execution framewor

Added to portage

2025-11-29

ansible-core - 2.20.0
Ebuild name:

app-admin/ansible-core-2.20.0

Description

Model-driven deployment, config management, and command execution fra

Added to portage

2025-11-29

anyio - 4.12.0
Ebuild name:

dev-python/anyio-4.12.0

Description

Compatibility layer for multiple asynchronous event loop implementations

Added to portage

2025-11-29

atpublic - 7.0.0
Ebuild name:

dev-python/atpublic-7.0.0

Description

A decorator to populate __all__ and the module globals

Added to portage

2025-11-29

autoconf - 2.72-r5
Ebuild name:

dev-build/autoconf-2.72-r5

Description

Used to create autoconfiguration files

Added to portage

2025-11-29

backports-zstd - 1.1.0
Ebuild name:

dev-python/backports-zstd-1.1.0

Description

Backport of PEP-784 adding Zstandard to the standard library

Added to portage

2025-11-29

dropbox - 237.4.5655
Ebuild name:

net-misc/dropbox-237.4.5655

Description

Dropbox daemon (pretends to be GUI-less)

Added to portage

2025-11-29

ell - 0.81
Ebuild name:

dev-libs/ell-0.81

Description

Embedded Linux Library provides core, low-level functionality for system daemons

Added to portage

2025-11-29

flufl-lock - 9.0.0
Ebuild name:

dev-python/flufl-lock-9.0.0

Description

NFS-safe file locking with timeouts for POSIX systems

Added to portage

2025-11-29

fonttools - 4.61.0
Ebuild name:

dev-python/fonttools-4.61.0

Description

Library for manipulating TrueType, OpenType, AFM and Type1 fonts

Added to portage

2025-11-29

fotocx - 25.5
Ebuild name:

media-gfx/fotocx-25.5

Description

Program for improving image files made with a digital camera

Added to portage

2025-11-29

gcc - 13.4.1_p20251127
Ebuild name:

sys-devel/gcc-13.4.1_p20251127

Description

The GNU Compiler Collection

Added to portage

2025-11-29

gcc - 14.3.1_p20251128
Ebuild name:

sys-devel/gcc-14.3.1_p20251128

Description

The GNU Compiler Collection

Added to portage

2025-11-29

hplip - 3.25.8
Ebuild name:

net-print/hplip-3.25.8

Description

HP Linux Imaging and Printing - Print, scan, fax drivers and service tools

Added to portage

2025-11-29

htslib - 1.22.1
Ebuild name:

sci-libs/htslib-1.22.1

Description

C library for high-throughput sequencing data formats

Added to portage

2025-11-29

incremental - 24.11.0
Ebuild name:

dev-python/incremental-24.11.0

Description

Incremental is a small library that versions your Python projects

Added to portage

2025-11-29

knot - 3.4.9
Ebuild name:

net-dns/knot-3.4.9

Description

High-performance authoritative-only DNS server

Added to portage

2025-11-29

knot - 3.5.2
Ebuild name:

net-dns/knot-3.5.2

Description

High-performance authoritative-only DNS server

Added to portage

2025-11-29

libimobiledevice - 1.3.0_p20240201-r1
Ebuild name:

app-pda/libimobiledevice-1.3.0_p20240201-r1

Description

Support library to communicate with Apple iPhone/iPod T

Added to portage

2025-11-29

librt - 0.6.2
Ebuild name:

dev-python/librt-0.6.2

Description

Mypyc runtime library

Added to portage

2025-11-29

librt - 0.6.3
Ebuild name:

dev-python/librt-0.6.3

Description

Mypyc runtime library

Added to portage

2025-11-29

libtmux - 0.48.0_p0
Ebuild name:

dev-python/libtmux-0.48.0_p0

Description

Typed library that provides an ORM wrapper for tmux, a terminal multip

Added to portage

2025-11-29

libtsm - 4.3.0
Ebuild name:

dev-libs/libtsm-4.3.0

Description

Terminal Emulator State Machine

Added to portage

2025-11-29

loop-aes - 3.8g
Ebuild name:

sys-fs/loop-aes-3.8g

Description

Linux kernel module to encrypt disk partitions with AES cipher

Added to portage

2025-11-29

loop-aes-losetup - 2.41.1
Ebuild name:

app-crypt/loop-aes-losetup-2.41.1

Description

Loop-AES losetup utility

Added to portage

2025-11-29

mac - 11.88
Ebuild name:

media-sound/mac-11.88

Description

Monkey's Audio Codecs

Added to portage

2025-11-29

marksman - 2025.11.25
Ebuild name:

dev-util/marksman-2025.11.25

Description

LSP language server for editing Markdown files

Added to portage

2025-11-29

memtest86+ - 8.00
Ebuild name:

sys-apps/memtest86+-8.00

Description

Memory tester based on PCMemTest

Added to portage

2025-11-29

mypy - 1.19.0
Ebuild name:

dev-python/mypy-1.19.0

Description

Optional static typing for Python

Added to portage

2025-11-29

nbsphinx - 0.9.8
Ebuild name:

dev-python/nbsphinx-0.9.8

Description

Jupyter Notebook Tools for Sphinx

Added to portage

2025-11-29

nginx - 1.28.0-r4
Ebuild name:

www-servers/nginx-1.28.0-r4

Description

Added to portage

2025-11-29

nginx - 1.29.3-r2
Ebuild name:

www-servers/nginx-1.29.3-r2

Description

Added to portage

2025-11-29

plz - 0.9.1
Ebuild name:

app-emacs/plz-0.9.1

Description

HTTP library with curl backend for GNU Emacs

Added to portage

2025-11-29

pycpio - 1.5.6
Ebuild name:

dev-python/pycpio-1.5.6

Description

Python CPIO library

Added to portage

2025-11-29

pytest-check - 2.6.2
Ebuild name:

dev-python/pytest-check-2.6.2

Description

pytest plugin that allows multiple failures per test

Added to portage

2025-11-29

rdflib - 7.5.0
Ebuild name:

dev-python/rdflib-7.5.0

Description

RDF library containing a triple store and parser/serializer

Added to portage

2025-11-29

redis-knot - 3.5.2
Ebuild name:

net-dns/redis-knot-3.5.2

Description

Redis module for Knot DNS

Added to portage

2025-11-29

samtools - 1.22.1
Ebuild name:

sci-biology/samtools-1.22.1

Description

Utilities for analysing and manipulating the SAM/BAM alignment formats

Added to portage

2025-11-29

signal-desktop-bin - 7.80.1
Ebuild name:

net-im/signal-desktop-bin-7.80.1

Description

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

Added to portage

2025-11-29

sphinx - 9.0.0_rc2
Ebuild name:

dev-python/sphinx-9.0.0_rc2

Description

Python documentation generator

Added to portage

2025-11-29

sphinx-prompt - 1.10.2
Ebuild name:

dev-python/sphinx-prompt-1.10.2

Description

Sphinx directive to add unselectable prompt

Added to portage

2025-11-29

sphinxcontrib-spelling - 8.0.2
Ebuild name:

dev-python/sphinxcontrib-spelling-8.0.2

Description

Sphinx spelling extension

Added to portage

2025-11-29

sqlparse - 0.5.4
Ebuild name:

dev-python/sqlparse-0.5.4

Description

A non-validating SQL parser module for Python

Added to portage

2025-11-29

translate-toolkit - 3.17.2
Ebuild name:

dev-python/translate-toolkit-3.17.2

Description

Toolkit to convert between many translation formats

Added to portage

2025-11-29

types-psutil - 7.1.3.20251129
Ebuild name:

dev-python/types-psutil-7.1.3.20251129

Description

Typing stubs for psutil

Added to portage

2025-11-29

unicode-segmentation-rs - 0.2.0
Ebuild name:

dev-python/unicode-segmentation-rs-0.2.0

Description

Unicode segmentation and width for Python using Rust

Added to portage

2025-11-29

werkzeug - 3.1.4
Ebuild name:

dev-python/werkzeug-3.1.4

Description

Collection of various utilities for WSGI applications

Added to portage

2025-11-29

wine-staging - 10.20
Ebuild name:

app-emulation/wine-staging-10.20

Description

Free implementation of Windows(tm) on Unix, with Wine-Staging patc

Added to portage

2025-11-29

wine-vanilla - 10.20
Ebuild name:

app-emulation/wine-vanilla-10.20

Description

Free implementation of Windows(tm) on Unix, without external patch

Added to portage

2025-11-29

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