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:

88060

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-09-01
blessed - 1.49.0
Ebuild name:

dev-python/blessed-1.49.0

Description

Library for making terminal apps using colors, keyboard input and positio

Added to portage

2026-09-01

c-blosc2 - 3.3.3
Ebuild name:

dev-libs/c-blosc2-3.3.3

Description

Blocking, shuffling and lossless compression library

Added to portage

2026-09-01

cfn-lint - 1.56.0
Ebuild name:

dev-python/cfn-lint-1.56.0

Description

CloudFormation Linter

Added to portage

2026-09-01

darktable - 5.6.1
Ebuild name:

media-gfx/darktable-5.6.1

Description

A virtual lighttable and darkroom for photographers

Added to portage

2026-09-01

fonttools - 4.64.0
Ebuild name:

dev-python/fonttools-4.64.0

Description

Library for manipulating TrueType, OpenType, AFM and Type1 fonts

Added to portage

2026-09-01

joblib - 1.6.0
Ebuild name:

dev-python/joblib-1.6.0

Description

Tools to provide lightweight pipelining in Python

Added to portage

2026-09-01

kgpg - 26.04.3-r1
Ebuild name:

kde-apps/kgpg-26.04.3-r1

Description

Frontend for GnuPG, a powerful encryption utility by KDE

Added to portage

2026-09-01

kgpg - 26.08.0-r1
Ebuild name:

kde-apps/kgpg-26.08.0-r1

Description

Frontend for GnuPG, a powerful encryption utility by KDE

Added to portage

2026-09-01

loky - 3.6.0
Ebuild name:

dev-python/loky-3.6.0

Description

Robust and reusable Executor for joblib

Added to portage

2026-09-01

tavern - 3.6.3
Ebuild name:

dev-python/tavern-3.6.3

Description

A tool, library, and Pytest plugin for testing RESTful APIs

Added to portage

2026-09-01

trimesh - 5.1.0
Ebuild name:

dev-python/trimesh-5.1.0

Description

Python library for loading and using triangular meshes

Added to portage

2026-09-01

websocket-client - 1.9.2
Ebuild name:

dev-python/websocket-client-1.9.2

Description

WebSocket client for python with hybi13 support

Added to portage

2026-09-01

2026-08-31
Sys-Virt - 12.6.0
Ebuild name:

dev-perl/Sys-Virt-12.6.0

Description

API for using the libvirt library from Perl

Added to portage

2026-08-31

apprise - 1.13.1
Ebuild name:

dev-python/apprise-1.13.1

Description

Push Notifications that work with just about every platform

Added to portage

2026-08-31

authlib - 1.8.0
Ebuild name:

dev-python/authlib-1.8.0

Description

A Python library in building OAuth and OpenID Connect servers and clients

Added to portage

2026-08-31

discount - 3.0.2.0
Ebuild name:

app-text/discount-3.0.2.0

Description

A Markdown-to HTML translator written in C

Added to portage

2026-08-31

django-tables2 - 3.0.1
Ebuild name:

dev-python/django-tables2-3.0.1

Description

Table/data-grid framework for Django

Added to portage

2026-08-31

elixir - 1.16.3-r2
Ebuild name:

dev-lang/elixir-1.16.3-r2

Description

Elixir programming language

Added to portage

2026-08-31

elixir - 1.17.3-r2
Ebuild name:

dev-lang/elixir-1.17.3-r2

Description

Elixir programming language

Added to portage

2026-08-31

elixir - 1.18.5
Ebuild name:

dev-lang/elixir-1.18.5

Description

Elixir programming language

Added to portage

2026-08-31

elixir - 1.19.6
Ebuild name:

dev-lang/elixir-1.19.6

Description

Elixir programming language

Added to portage

2026-08-31

elixir - 1.20.4
Ebuild name:

dev-lang/elixir-1.20.4

Description

Elixir programming language

Added to portage

2026-08-31

exiv2 - 0.28.9
Ebuild name:

media-gfx/exiv2-0.28.9

Description

EXIF, IPTC and XMP metadata C++ library and command line utility

Added to portage

2026-08-31

expat - 2.8.4
Ebuild name:

dev-libs/expat-2.8.4

Description

Stream-oriented XML parser library

Added to portage

2026-08-31

fastdownload - 0.0.6-r1
Ebuild name:

sci-ml/fastdownload-0.0.6-r1

Description

Easily download, verify, and extract archives

Added to portage

2026-08-31

firefox-bin - 153.2.0
Ebuild name:

www-client/firefox-bin-153.2.0

Description

Firefox Web Browser

Added to portage

2026-08-31

gcc - 17.0.0_p20260830
Ebuild name:

sys-devel/gcc-17.0.0_p20260830

Description

The GNU Compiler Collection

Added to portage

2026-08-31

git-sources - 7.3_rc1
Ebuild name:

sys-kernel/git-sources-7.3_rc1

Description

The very latest -git version of the Linux kernel

Added to portage

2026-08-31

gnupg - 2.5.22
Ebuild name:

app-crypt/gnupg-2.5.22

Description

The GNU Privacy Guard, a GPL OpenPGP implementation

Added to portage

2026-08-31

hypothesis - 6.167.1
Ebuild name:

dev-python/hypothesis-6.167.1

Description

A library for property based testing

Added to portage

2026-08-31

ibus-rime - 1.6.1
Ebuild name:

app-i18n/ibus-rime-1.6.1

Description

Chinese Rime Input Method Engine for IBus

Added to portage

2026-08-31

imlib2 - 1.12.7
Ebuild name:

media-libs/imlib2-1.12.7

Description

Version 2 of an advanced replacement library for libraries like libXpm

Added to portage

2026-08-31

imlib2_loaders - 1.12.7
Ebuild name:

media-plugins/imlib2_loaders-1.12.7

Description

Additional image loaders for Imlib2

Added to portage

2026-08-31

iosevka - 34.8.1
Ebuild name:

media-fonts/iosevka-34.8.1

Description

Slender typeface for code, from code

Added to portage

2026-08-31

libgcrypt - 1.12.3
Ebuild name:

dev-libs/libgcrypt-1.12.3

Description

General purpose crypto library based on the code used in GnuPG

Added to portage

2026-08-31

libgcrypt - 1.12.3-r1
Ebuild name:

dev-libs/libgcrypt-1.12.3-r1

Description

General purpose crypto library based on the code used in GnuPG

Added to portage

2026-08-31

libksba - 1.8.1
Ebuild name:

dev-libs/libksba-1.8.1

Description

X.509 and CMS (PKCS7) library

Added to portage

2026-08-31

libvirt - 12.6.0
Ebuild name:

app-emulation/libvirt-12.6.0

Description

C toolkit to manipulate virtual machines

Added to portage

2026-08-31

libvirt-python - 12.6.0
Ebuild name:

dev-python/libvirt-python-12.6.0

Description

libvirt Python bindings

Added to portage

2026-08-31

lsp-ui - 9.0.0
Ebuild name:

app-emacs/lsp-ui-9.0.0

Description

UI modules for lsp-mode

Added to portage

2026-08-31

lua-mode - 20210802
Ebuild name:

app-emacs/lua-mode-20210802

Description

An Emacs major mode for editing Lua scripts

Added to portage

2026-08-31

lv - 0.15.0-r1
Ebuild name:

app-emacs/lv-0.15.0-r1

Description

Other echo area

Added to portage

2026-08-31

lyskom-elisp-client - 0.48_p20200226
Ebuild name:

app-emacs/lyskom-elisp-client-0.48_p20200226

Description

Elisp client for the LysKOM conference system

Added to portage

2026-08-31

nxml-libvirt-schemas - 12.6.0
Ebuild name:

app-emacs/nxml-libvirt-schemas-12.6.0

Description

Extension for nxml-mode with libvirt schemas

Added to portage

2026-08-31

nzbget - 26.3
Ebuild name:

net-nntp/nzbget-26.3

Description

A command-line based binary newsgrabber supporting .nzb files

Added to portage

2026-08-31

ogdi - 4.1.0-r2
Ebuild name:

sci-libs/ogdi-4.1.0-r2

Description

Open Geographical Datastore Interface, a GIS support library

Added to portage

2026-08-31

openpgp-keys-libvirt - 20260831
Ebuild name:

sec-keys/openpgp-keys-libvirt-20260831

Description

OpenPGP keys used by libvirt

Added to portage

2026-08-31

pcsx2 - 2.8.1
Ebuild name:

games-emulation/pcsx2-2.8.1

Description

PlayStation 2 emulator

Added to portage

2026-08-31

pcsx2_patches - 0_p20260810
Ebuild name:

games-emulation/pcsx2_patches-0_p20260810

Description

Collection of game patches for use with PCSX2 (e.g. wides

Added to portage

2026-08-31

pyrate-limiter - 4.5.0
Ebuild name:

dev-python/pyrate-limiter-4.5.0

Description

Python Rate-Limiter using Leaky-Bucket Algorimth Family

Added to portage

2026-08-31

python-engineio - 4.14.0
Ebuild name:

dev-python/python-engineio-4.14.0

Description

Python implementation of the Engine.IO realtime server

Added to portage

2026-08-31

pyzotero - 1.15.1
Ebuild name:

dev-python/pyzotero-1.15.1

Description

A Python client for the Zotero API

Added to portage

2026-08-31

rapidfuzz - 3.14.6
Ebuild name:

dev-python/rapidfuzz-3.14.6

Description

Rapid fuzzy string matching in Python using various string metrics

Added to portage

2026-08-31

rapidfuzz-cpp - 3.3.4
Ebuild name:

dev-cpp/rapidfuzz-cpp-3.3.4

Description

Rapid fuzzy string matching in C++

Added to portage

2026-08-31

regex - 2026.8.31
Ebuild name:

dev-python/regex-2026.8.31

Description

Alternative regular expression module to replace re

Added to portage

2026-08-31

rq - 2.12.0
Ebuild name:

dev-python/rq-2.12.0

Description

Simple, lightweight library for creating and processing background jobs

Added to portage

2026-08-31

sudo-rs - 0.2.15
Ebuild name:

app-admin/sudo-rs-0.2.15

Description

A memory safe implementation of sudo and su

Added to portage

2026-08-31

sway - 1.11-r1
Ebuild name:

gui-wm/sway-1.11-r1

Description

i3-compatible Wayland window manager

Added to portage

2026-08-31

sway - 1.12-r1
Ebuild name:

gui-wm/sway-1.12-r1

Description

i3-compatible Wayland window manager

Added to portage

2026-08-31

teamviewer - 15.81.5
Ebuild name:

net-misc/teamviewer-15.81.5

Description

All-In-One Solution for Remote Access and Support over the Internet

Added to portage

2026-08-31

transformers - 5.16.1
Ebuild name:

sci-ml/transformers-5.16.1

Description

State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow

Added to portage

2026-08-31

tuba - 0.11.1
Ebuild name:

net-misc/tuba-0.11.1

Description

Browse the Fediverse (GTK client)

Added to portage

2026-08-31

wrapt - 2.4.0
Ebuild name:

dev-python/wrapt-2.4.0

Description

Module for decorators, wrappers and monkey patching

Added to portage

2026-08-31

xsimd - 14.3.0
Ebuild name:

dev-cpp/xsimd-14.3.0

Description

C++ wrappers for SIMD intrinsics

Added to portage

2026-08-31

zeroconf - 0.151.3
Ebuild name:

dev-python/zeroconf-0.151.3

Description

Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi comp

Added to portage

2026-08-31

zoxide - 0.10.0
Ebuild name:

app-shells/zoxide-0.10.0

Description

A smarter cd command for your terminal

Added to portage

2026-08-31

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