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:

81556

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


rate this article:
current rating: average rating: 1.3 (26 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2025-10-16
2025-10-15
FBGEMM - 1.3.0.2025.09.05
Ebuild name:

sci-ml/FBGEMM-1.3.0.2025.09.05

Description

Facebook GEneral Matrix Multiplication

Added to portage

2025-10-15

anki - 25.09.2
Ebuild name:

app-misc/anki-25.09.2

Description

Smart spaced repetition flashcard program

Added to portage

2025-10-15

anysqlite - 0.0.5
Ebuild name:

dev-python/anysqlite-0.0.5

Description

sqlite3 for asyncio and trio

Added to portage

2025-10-15

awscli - 1.42.52
Ebuild name:

app-admin/awscli-1.42.52

Description

Universal Command Line Environment for AWS

Added to portage

2025-10-15

bash - 5.4_alpha_pre20251014
Ebuild name:

app-shells/bash-5.4_alpha_pre20251014

Description

The standard GNU Bourne again shell

Added to portage

2025-10-15

black - 25.9.0
Ebuild name:

dev-python/black-25.9.0

Description

The uncompromising Python code formatter

Added to portage

2025-10-15

blake3 - 1.0.8
Ebuild name:

dev-python/blake3-1.0.8

Description

Python bindings for the BLAKE3 cryptographic hash function

Added to portage

2025-10-15

bloaty - 1.1-r2
Ebuild name:

dev-util/bloaty-1.1-r2

Description

A size profiler for binaries

Added to portage

2025-10-15

boto3 - 1.40.52
Ebuild name:

dev-python/boto3-1.40.52

Description

The AWS SDK for Python

Added to portage

2025-10-15

botocore - 1.40.52
Ebuild name:

dev-python/botocore-1.40.52

Description

Low-level, data-driven core of boto 3

Added to portage

2025-10-15

capstone - 6.0.0_alpha4
Ebuild name:

dev-libs/capstone-6.0.0_alpha4

Description

disassembly/disassembler framework + bindings

Added to portage

2025-10-15

ccls - 0.20250815
Ebuild name:

dev-util/ccls-0.20250815

Description

C/C++/ObjC language server

Added to portage

2025-10-15

cfn-lint - 1.40.2
Ebuild name:

dev-python/cfn-lint-1.40.2

Description

CloudFormation Linter

Added to portage

2025-10-15

discord - 0.0.112
Ebuild name:

net-im/discord-0.0.112

Description

All-in-one voice and text chat for gamers

Added to portage

2025-10-15

dist-kernel - 6.1.156
Ebuild name:

virtual/dist-kernel-6.1.156

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-10-15

dist-kernel - 6.12.53
Ebuild name:

virtual/dist-kernel-6.12.53

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-10-15

dist-kernel - 6.17.3
Ebuild name:

virtual/dist-kernel-6.17.3

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-10-15

dist-kernel - 6.6.112
Ebuild name:

virtual/dist-kernel-6.6.112

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-10-15

dulwich - 0.24.4
Ebuild name:

dev-python/dulwich-0.24.4

Description

Pure-Python implementation of the Git file formats and protocols

Added to portage

2025-10-15

flexiblas - 3.4.84
Ebuild name:

sci-libs/flexiblas-3.4.84

Description

A BLAS and LAPACK wrapper library with runtime exchangable backends

Added to portage

2025-10-15

gentoo-kernel - 6.1.156
Ebuild name:

sys-kernel/gentoo-kernel-6.1.156

Description

Linux kernel built with Gentoo patches

Added to portage

2025-10-15

gentoo-kernel - 6.12.53
Ebuild name:

sys-kernel/gentoo-kernel-6.12.53

Description

Linux kernel built with Gentoo patches

Added to portage

2025-10-15

gentoo-kernel - 6.17.3
Ebuild name:

sys-kernel/gentoo-kernel-6.17.3

Description

Linux kernel built with Gentoo patches

Added to portage

2025-10-15

gentoo-kernel - 6.6.112
Ebuild name:

sys-kernel/gentoo-kernel-6.6.112

Description

Linux kernel built with Gentoo patches

Added to portage

2025-10-15

gentoo-kernel-bin - 6.1.156
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.1.156

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-10-15

gentoo-kernel-bin - 6.12.53
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.53

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-10-15

gentoo-kernel-bin - 6.17.3
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.17.3

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-10-15

gentoo-kernel-bin - 6.6.112
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.6.112

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-10-15

gnome-shell-extension-dash-to-panel - 72
Ebuild name:

gnome-extra/gnome-shell-extension-dash-to-panel-72

Description

An icon taskbar for the Gnome Shell

Added to portage

2025-10-15

godot - 4.5.1
Ebuild name:

dev-games/godot-4.5.1

Description

Multi-platform 2D and 3D game engine with a feature-rich editor

Added to portage

2025-10-15

hercules-sdl - 4.9.0
Ebuild name:

app-emulation/hercules-sdl-4.9.0

Description

The SoftDevLabs (SDL) version of the Hercules 4.x Hyperion Emulato

Added to portage

2025-10-15

hercules-sdl-crypto - 4.9.0
Ebuild name:

app-emulation/hercules-sdl-crypto-4.9.0

Description

Simple AES/DES encryption and SHA1/SHA2 hashing library

Added to portage

2025-10-15

hercules-sdl-decnumber - 4.9.0
Ebuild name:

app-emulation/hercules-sdl-decnumber-4.9.0

Description

ANSI C General Decimal Arithmetic Library

Added to portage

2025-10-15

hercules-sdl-softfloat - 4.9.0
Ebuild name:

app-emulation/hercules-sdl-softfloat-4.9.0

Description

Berkeley IEEE Binary Floating-Point Library

Added to portage

2025-10-15

hercules-sdl-telnet - 4.9.0
Ebuild name:

app-emulation/hercules-sdl-telnet-4.9.0

Description

Simple RFC-complient TELNET implementation

Added to portage

2025-10-15

hiredis - 3.3.0
Ebuild name:

dev-python/hiredis-3.3.0

Description

Python extension that wraps hiredis

Added to portage

2025-10-15

hishel - 0.1.4
Ebuild name:

dev-python/hishel-0.1.4

Description

An elegant HTTP Cache implementation for HTTPX and HTTP Core

Added to portage

2025-10-15

hypothesis - 6.141.0
Ebuild name:

dev-python/hypothesis-6.141.0

Description

A library for property based testing

Added to portage

2025-10-15

igt-gpu-tools - 2.2
Ebuild name:

x11-apps/igt-gpu-tools-2.2

Description

Intel GPU userland tools

Added to portage

2025-10-15

ipykernel - 7.0.1
Ebuild name:

dev-python/ipykernel-7.0.1

Description

IPython Kernel for Jupyter

Added to portage

2025-10-15

josepy - 2.2.0
Ebuild name:

dev-python/josepy-2.2.0

Description

JOSE protocol implementation in Python

Added to portage

2025-10-15

lean - 4.23.0
Ebuild name:

sci-mathematics/lean-4.23.0

Description

The Lean Theorem Prover

Added to portage

2025-10-15

less - 685
Ebuild name:

sys-apps/less-685

Description

Excellent text file viewer

Added to portage

2025-10-15

libdrm - 2.4.127
Ebuild name:

x11-libs/libdrm-2.4.127

Description

X.Org libdrm library

Added to portage

2025-10-15

llvm-mingw64 - 13.0.0-r2
Ebuild name:

dev-util/llvm-mingw64-13.0.0-r2

Description

Clang/LLVM based mingw64 toolchain

Added to portage

2025-10-15

lmdb - 1.7.5
Ebuild name:

dev-python/lmdb-1.7.5

Description

Python bindings for the Lightning Database

Added to portage

2025-10-15

merge3 - 0.0.16
Ebuild name:

dev-python/merge3-0.0.16

Description

Python implementation of 3-way merge

Added to portage

2025-10-15

ncspot - 1.3.1-r1
Ebuild name:

media-sound/ncspot-1.3.1-r1

Description

ncurses Spotify client written in Rust using librespot

Added to portage

2025-10-15

nox - 2025.10.14
Ebuild name:

dev-python/nox-2025.10.14

Description

Flexible test automation for Python

Added to portage

2025-10-15

openpgp-keys-glibc - 20251014
Ebuild name:

sec-keys/openpgp-keys-glibc-20251014

Description

OpenPGP keys used to sign glibc releases

Added to portage

2025-10-15

patool - 4.0.2
Ebuild name:

app-arch/patool-4.0.2

Description

Portable archive file manager

Added to portage

2025-10-15

pbs-installer - 2025.10.10-r1
Ebuild name:

dev-python/pbs-installer-2025.10.10-r1

Description

Installer for Python Build Standalone

Added to portage

2025-10-15

pdns - 4.9.11
Ebuild name:

net-dns/pdns-4.9.11

Description

The PowerDNS Daemon

Added to portage

2025-10-15

postgresql - 17.6-r2
Ebuild name:

dev-db/postgresql-17.6-r2

Description

PostgreSQL RDBMS

Added to portage

2025-10-15

pwndbg - 20250530-r1
Ebuild name:

dev-debug/pwndbg-20250530-r1

Description

A GDB plug-in that makes debugging with GDB suck less

Added to portage

2025-10-15

pwndbg - 20251010
Ebuild name:

dev-debug/pwndbg-20251010

Description

A GDB plug-in that makes debugging with GDB suck less

Added to portage

2025-10-15

pydantic - 2.12.2
Ebuild name:

dev-python/pydantic-2.12.2

Description

Data parsing and validation using Python type hints

Added to portage

2025-10-15

python - 0.3.13.9
Ebuild name:

dev-lang/python-0.3.13.9

Description

Freethreading (no-GIL) version of Python programming language

Added to portage

2025-10-15

python - 0.3.15.0_alpha1
Ebuild name:

dev-lang/python-0.3.15.0_alpha1

Description

Freethreading (no-GIL) version of Python programming language

Added to portage

2025-10-15

python - 3.13.9
Ebuild name:

dev-lang/python-3.13.9

Description

An interpreted, interactive, object-oriented programming language

Added to portage

2025-10-15

python - 3.15.0_alpha1
Ebuild name:

dev-lang/python-3.15.0_alpha1

Description

An interpreted, interactive, object-oriented programming language

Added to portage

2025-10-15

python-tests - 0.3.13.9
Ebuild name:

dev-python/python-tests-0.3.13.9

Description

Test modules from dev-lang/python

Added to portage

2025-10-15

python-tests - 3.13.9
Ebuild name:

dev-python/python-tests-3.13.9

Description

Test modules from dev-lang/python

Added to portage

2025-10-15

pytokens - 0.2.0
Ebuild name:

dev-python/pytokens-0.2.0

Description

A fast, spec compliant Python 3.13+ tokenizer that runs on older Pythons

Added to portage

2025-10-15

qmmp - 2.3.0
Ebuild name:

media-sound/qmmp-2.3.0

Description

Qt-based audio player with winamp/xmms skins support

Added to portage

2025-10-15

qmmp-plugin-pack - 2.3.0
Ebuild name:

media-plugins/qmmp-plugin-pack-2.3.0

Description

Set of extra plugins for Qmmp

Added to portage

2025-10-15

rack-attack - 6.8.0
Ebuild name:

dev-ruby/rack-attack-6.8.0

Description

A DSL for blocking & throttling abusive clients

Added to portage

2025-10-15

reformatter - 0.6
Ebuild name:

app-emacs/reformatter-0.6

Description

Define commands which run reformatters on the Emacs buffers

Added to portage

2025-10-15

reformatter - 0.7
Ebuild name:

app-emacs/reformatter-0.7

Description

Define commands which run reformatters on the Emacs buffers

Added to portage

2025-10-15

regress - 1.5.1
Ebuild name:

app-emacs/regress-1.5.1

Description

Regression test harness for Emacs Lisp code

Added to portage

2025-10-15

rubyzip - 3.2.0
Ebuild name:

dev-ruby/rubyzip-3.2.0

Description

A ruby library for reading and writing zip files

Added to portage

2025-10-15

spyder-unittest - 0.7.1
Ebuild name:

dev-python/spyder-unittest-0.7.1

Description

Plugin for Spyder to run tests and view the results

Added to portage

2025-10-15

synapse - 1.140.0
Ebuild name:

net-im/synapse-1.140.0

Description

Reference implementation of Matrix homeserver

Added to portage

2025-10-15

telegram-desktop-bin - 6.2.3
Ebuild name:

net-im/telegram-desktop-bin-6.2.3

Description

Official desktop client for Telegram (binary package)

Added to portage

2025-10-15

thunderbird - 144.0
Ebuild name:

mail-client/thunderbird-144.0

Description

Thunderbird Mail Client

Added to portage

2025-10-15

thunderbird-bin - 144.0
Ebuild name:

mail-client/thunderbird-bin-144.0

Description

Thunderbird Mail Client

Added to portage

2025-10-15

translate-toolkit - 3.16.3
Ebuild name:

dev-python/translate-toolkit-3.16.3

Description

Toolkit to convert between many translation formats

Added to portage

2025-10-15

vanilla-kernel - 6.1.156
Ebuild name:

sys-kernel/vanilla-kernel-6.1.156

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-10-15

vanilla-kernel - 6.12.53
Ebuild name:

sys-kernel/vanilla-kernel-6.12.53

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-10-15

vanilla-kernel - 6.17.3
Ebuild name:

sys-kernel/vanilla-kernel-6.17.3

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-10-15

vanilla-kernel - 6.6.112
Ebuild name:

sys-kernel/vanilla-kernel-6.6.112

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-10-15

varnish - 7.7.3
Ebuild name:

www-servers/varnish-7.7.3

Description

Varnish is a state-of-the-art, high-performance HTTP accelerator

Added to portage

2025-10-15

watchfiles - 1.1.1
Ebuild name:

dev-python/watchfiles-1.1.1

Description

Simple, modern file watching and code reload in Python

Added to portage

2025-10-15

xmlschema - 4.2.0
Ebuild name:

dev-python/xmlschema-4.2.0

Description

An XML Schema validator and decoder

Added to portage

2025-10-15

yt-dlp - 2025.10.14
Ebuild name:

net-misc/yt-dlp-2025.10.14

Description

youtube-dl fork with additional features and fixes

Added to portage

2025-10-15

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 218.7 ms