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:

84479

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-04-19
chrome-binary-plugins - 149.0.7795.2_alpha
Ebuild name:

www-plugins/chrome-binary-plugins-149.0.7795.2_alpha

Description

Binary plugins from Google Chrome for use in C

Added to portage

2026-04-19

google-chrome-unstable - 149.0.7795.2
Ebuild name:

www-client/google-chrome-unstable-149.0.7795.2

Description

The web browser from Google

Added to portage

2026-04-19

lmod - 9.0.8
Ebuild name:

sys-cluster/lmod-9.0.8

Description

Environment Module System based on Lua

Added to portage

2026-04-19

lmod - 9.1.2
Ebuild name:

sys-cluster/lmod-9.1.2

Description

Environment Module System based on Lua

Added to portage

2026-04-19

lmod - 9.2
Ebuild name:

sys-cluster/lmod-9.2

Description

Environment Module System based on Lua

Added to portage

2026-04-19

openssl-compat - 3.6.2
Ebuild name:

dev-libs/openssl-compat-3.6.2

Description

Full-strength general purpose cryptography library (including SSL and

Added to portage

2026-04-19

vivaldi-snapshot - 7.10.4009.3
Ebuild name:

www-client/vivaldi-snapshot-7.10.4009.3

Description

A browser for our friends

Added to portage

2026-04-19

2026-04-18
alectryon - 2.0.0
Ebuild name:

sci-mathematics/alectryon-2.0.0

Description

Toolkit for literate programming in Coq/Rocq

Added to portage

2026-04-18

autoconf-dickey - 2.52_p20260412
Ebuild name:

dev-build/autoconf-dickey-2.52_p20260412

Description

Fork of dev-build/autoconf for Thomas Dickey's packages

Added to portage

2026-04-18

awscli - 1.44.81
Ebuild name:

app-admin/awscli-1.44.81

Description

Universal Command Line Environment for AWS

Added to portage

2026-04-18

boto3 - 1.42.91
Ebuild name:

dev-python/boto3-1.42.91

Description

The AWS SDK for Python

Added to portage

2026-04-18

botocore - 1.42.91
Ebuild name:

dev-python/botocore-1.42.91

Description

Low-level, data-driven core of boto 3

Added to portage

2026-04-18

cargo-audit - 0.22.1
Ebuild name:

dev-util/cargo-audit-0.22.1

Description

Audit Cargo.lock for crates with security vulnerabilities

Added to portage

2026-04-18

ceph - 20.2.1
Ebuild name:

sys-cluster/ceph-20.2.1

Description

Ceph distributed filesystem

Added to portage

2026-04-18

cflow - 1.8
Ebuild name:

dev-util/cflow-1.8

Description

C function call hierarchy analyzer

Added to portage

2026-04-18

clojure-clr - 1.12.2
Ebuild name:

dev-lang/clojure-clr-1.12.2

Description

Port of the functional programming language Clojure to the CLR and .NET

Added to portage

2026-04-18

csharp-language-server - 0.24.0
Ebuild name:

dev-dotnet/csharp-language-server-0.24.0

Description

Roslyn-based LSP language server for C

Added to portage

2026-04-18

diffstat - 1.69
Ebuild name:

dev-util/diffstat-1.69

Description

Display a histogram of diff changes

Added to portage

2026-04-18

dist-kernel - 5.10.253
Ebuild name:

virtual/dist-kernel-5.10.253

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-04-18

dist-kernel - 5.15.203
Ebuild name:

virtual/dist-kernel-5.15.203

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-04-18

dist-kernel - 6.1.169
Ebuild name:

virtual/dist-kernel-6.1.169

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-04-18

dist-kernel - 6.12.82
Ebuild name:

virtual/dist-kernel-6.12.82

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-04-18

dist-kernel - 6.18.23
Ebuild name:

virtual/dist-kernel-6.18.23

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-04-18

dist-kernel - 6.19.13
Ebuild name:

virtual/dist-kernel-6.19.13

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-04-18

dist-kernel - 6.6.135
Ebuild name:

virtual/dist-kernel-6.6.135

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-04-18

drawio-desktop-bin - 29.6.6
Ebuild name:

app-office/drawio-desktop-bin-29.6.6

Description

draw.io diagramming and whiteboarding desktop app

Added to portage

2026-04-18

faker - 40.14.1
Ebuild name:

dev-python/faker-40.14.1

Description

A Python package that generates fake data for you

Added to portage

2026-04-18

fj-cli - 0.5.0
Ebuild name:

dev-util/fj-cli-0.5.0

Description

CLI tool for Forgejo

Added to portage

2026-04-18

flask-caching - 2.4.0
Ebuild name:

dev-python/flask-caching-2.4.0

Description

Adds caching support to Flask applications

Added to portage

2026-04-18

gamescope - 3.16.23
Ebuild name:

gui-wm/gamescope-3.16.23

Description

Efficient micro-compositor for running games

Added to portage

2026-04-18

gcc - 13.4.1_p20260416
Ebuild name:

sys-devel/gcc-13.4.1_p20260416

Description

The GNU Compiler Collection

Added to portage

2026-04-18

gcc - 14.3.1_p20260417
Ebuild name:

sys-devel/gcc-14.3.1_p20260417

Description

The GNU Compiler Collection

Added to portage

2026-04-18

gentoo-kernel - 5.10.253
Ebuild name:

sys-kernel/gentoo-kernel-5.10.253

Description

Linux kernel built with Gentoo patches

Added to portage

2026-04-18

gentoo-kernel - 5.15.203
Ebuild name:

sys-kernel/gentoo-kernel-5.15.203

Description

Linux kernel built with Gentoo patches

Added to portage

2026-04-18

gentoo-kernel - 6.1.169
Ebuild name:

sys-kernel/gentoo-kernel-6.1.169

Description

Linux kernel built with Gentoo patches

Added to portage

2026-04-18

gentoo-kernel - 6.12.82
Ebuild name:

sys-kernel/gentoo-kernel-6.12.82

Description

Linux kernel built with Gentoo patches

Added to portage

2026-04-18

gentoo-kernel - 6.18.23
Ebuild name:

sys-kernel/gentoo-kernel-6.18.23

Description

Linux kernel built with Gentoo patches

Added to portage

2026-04-18

gentoo-kernel - 6.19.13
Ebuild name:

sys-kernel/gentoo-kernel-6.19.13

Description

Linux kernel built with Gentoo patches

Added to portage

2026-04-18

gentoo-kernel - 6.6.135
Ebuild name:

sys-kernel/gentoo-kernel-6.6.135

Description

Linux kernel built with Gentoo patches

Added to portage

2026-04-18

gentoo-kernel-bin - 5.10.253
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.10.253

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-04-18

gentoo-kernel-bin - 5.15.203
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.15.203

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-04-18

gentoo-kernel-bin - 6.1.169
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.1.169

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-04-18

gentoo-kernel-bin - 6.12.82
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.82

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-04-18

gentoo-kernel-bin - 6.18.23
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.18.23

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-04-18

gentoo-kernel-bin - 6.19.13
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.19.13

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-04-18

gentoo-kernel-bin - 6.6.135
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.6.135

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-04-18

gzip - 1.14_p20260418
Ebuild name:

app-arch/gzip-1.14_p20260418

Description

Standard GNU compressor

Added to portage

2026-04-18

hg-git - 1.2.0_p20260328
Ebuild name:

dev-vcs/hg-git-1.2.0_p20260328

Description

push to and pull from a Git repository using Mercurial

Added to portage

2026-04-18

identify - 2.6.19
Ebuild name:

dev-python/identify-2.6.19

Description

File identification library for Python

Added to portage

2026-04-18

indent - 2.2.13-r1
Ebuild name:

dev-util/indent-2.2.13-r1

Description

Indent program source files

Added to portage

2026-04-18

ktextaddons - 2.0.1-r1
Ebuild name:

dev-libs/ktextaddons-2.0.1-r1

Description

Various text handling addons

Added to portage

2026-04-18

lcms - 2.18
Ebuild name:

media-libs/lcms-2.18

Description

A lightweight, speed optimized color management engine

Added to portage

2026-04-18

ldap-proxy - 0.1.4
Ebuild name:

net-nds/ldap-proxy-0.1.4

Description

A fast, simple, in-memory caching proxy for ldap

Added to portage

2026-04-18

lean - 4.24.0
Ebuild name:

sci-mathematics/lean-4.24.0

Description

The Lean Theorem Prover

Added to portage

2026-04-18

libburn - 1.5.8
Ebuild name:

dev-libs/libburn-1.5.8

Description

Open-source library for reading, mastering and writing optical discs

Added to portage

2026-04-18

libisoburn - 1.5.8
Ebuild name:

dev-libs/libisoburn-1.5.8

Description

Creation/expansion of ISO-9660 filesystems on CD/DVD media supported by l

Added to portage

2026-04-18

libisofs - 1.5.8_p1
Ebuild name:

dev-libs/libisofs-1.5.8_p1

Description

Open-source library for reading, mastering and writing optical discs

Added to portage

2026-04-18

lmod - 8.7.67
Ebuild name:

sys-cluster/lmod-8.7.67

Description

Environment Module System based on Lua

Added to portage

2026-04-18

mac - 12.67
Ebuild name:

media-sound/mac-12.67

Description

Monkey's Audio Codecs

Added to portage

2026-04-18

marisa - 0.3.1-r1
Ebuild name:

dev-libs/marisa-0.3.1-r1

Description

Matching Algorithm with Recursively Implemented StorAge

Added to portage

2026-04-18

mediafile - 0.16.2
Ebuild name:

dev-python/mediafile-0.16.2

Description

Read and write audio files' tags in Python

Added to portage

2026-04-18

meson - 1.11.0
Ebuild name:

dev-build/meson-1.11.0

Description

Open source build system

Added to portage

2026-04-18

mimetreeparser - 26.04.0-r1
Ebuild name:

kde-apps/mimetreeparser-26.04.0-r1

Description

Libraries for messaging functions

Added to portage

2026-04-18

motif - 2.5.2
Ebuild name:

x11-libs/motif-2.5.2

Description

The Motif user interface component toolkit

Added to portage

2026-04-18

ncurses - 6.6_p20260411
Ebuild name:

sys-libs/ncurses-6.6_p20260411

Description

Console display library

Added to portage

2026-04-18

nprolog - 5.11
Ebuild name:

dev-lang/nprolog-5.11

Description

Interpreter and compiler to be compatible with Arity/Prolog32

Added to portage

2026-04-18

nprolog - 5.15
Ebuild name:

dev-lang/nprolog-5.15

Description

Interpreter and compiler to be compatible with Arity/Prolog32

Added to portage

2026-04-18

nss - 3.123
Ebuild name:

dev-libs/nss-3.123

Description

Mozilla's Network Security Services library that implements PKI support

Added to portage

2026-04-18

openpgp-keys-bcl - 20260418
Ebuild name:

sec-keys/openpgp-keys-bcl-20260418

Description

OpenPGP keys used by Brian C. Lane

Added to portage

2026-04-18

openrazer - 3.12.2
Ebuild name:

sys-apps/openrazer-3.12.2

Description

Drivers and user-space daemon to control Razer devices on GNU/Linux

Added to portage

2026-04-18

parted - 3.7
Ebuild name:

sys-block/parted-3.7

Description

Create, destroy, resize, check, copy partitions and file systems

Added to portage

2026-04-18

pelican-minify - 2.0.2
Ebuild name:

dev-python/pelican-minify-2.0.2

Description

An HTML minification plugin for Pelican, the static site generator

Added to portage

2026-04-18

pyamg - 5.3.0-r1
Ebuild name:

dev-python/pyamg-5.3.0-r1

Description

Algebraic multigrid solvers in Python

Added to portage

2026-04-18

pydantic - 2.13.2
Ebuild name:

dev-python/pydantic-2.13.2

Description

Data parsing and validation using Python type hints

Added to portage

2026-04-18

ruff - 0.15.11
Ebuild name:

dev-util/ruff-0.15.11

Description

An extremely fast Python linter, written in Rust

Added to portage

2026-04-18

rust - 1.95.0
Ebuild name:

dev-lang/rust-1.95.0

Description

Systems programming language originally developed by Mozilla

Added to portage

2026-04-18

rust-bin - 1.95.0
Ebuild name:

dev-lang/rust-bin-1.95.0

Description

Added to portage

2026-04-18

rust-common - 1.95.0
Ebuild name:

dev-lang/rust-common-1.95.0

Description

Common files shared between multiple slots of Rust

Added to portage

2026-04-18

rust-std - 1.95.0
Ebuild name:

sys-devel/rust-std-1.95.0

Description

Rust standard library, standalone (for crossdev)

Added to portage

2026-04-18

rustup - 1.29.0
Ebuild name:

dev-util/rustup-1.29.0

Description

Rust toolchain installer

Added to portage

2026-04-18

simdjson - 4.6.2
Ebuild name:

dev-libs/simdjson-4.6.2

Description

SIMD accelerated C++ JSON library

Added to portage

2026-04-18

spectacle - 6.6.4-r1
Ebuild name:

kde-plasma/spectacle-6.6.4-r1

Description

Screenshot capture utility

Added to portage

2026-04-18

strawberry - 1.2.19
Ebuild name:

media-sound/strawberry-1.2.19

Description

Modern music player and library organizer based on Clementine and Qt

Added to portage

2026-04-18

swig - 4.4.1
Ebuild name:

dev-lang/swig-4.4.1

Description

Simplified Wrapper and Interface Generator

Added to portage

2026-04-18

typescript - 6.0.3
Ebuild name:

dev-lang/typescript-6.0.3

Description

Superset of JavaScript with optional static typing, classes and interface

Added to portage

2026-04-18

valgrind - 3.27.0_rc2
Ebuild name:

dev-debug/valgrind-3.27.0_rc2

Description

An open-source memory debugger for GNU/Linux

Added to portage

2026-04-18

vanilla-kernel - 5.10.253
Ebuild name:

sys-kernel/vanilla-kernel-5.10.253

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-04-18

vanilla-kernel - 5.15.203
Ebuild name:

sys-kernel/vanilla-kernel-5.15.203

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-04-18

vanilla-kernel - 6.1.169
Ebuild name:

sys-kernel/vanilla-kernel-6.1.169

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-04-18

vanilla-kernel - 6.12.82
Ebuild name:

sys-kernel/vanilla-kernel-6.12.82

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-04-18

vanilla-kernel - 6.18.23
Ebuild name:

sys-kernel/vanilla-kernel-6.18.23

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-04-18

vanilla-kernel - 6.19.13
Ebuild name:

sys-kernel/vanilla-kernel-6.19.13

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-04-18

vanilla-kernel - 6.6.135
Ebuild name:

sys-kernel/vanilla-kernel-6.6.135

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-04-18

vanilla-sources - 5.10.253
Ebuild name:

sys-kernel/vanilla-sources-5.10.253

Description

Full sources for the Linux kernel

Added to portage

2026-04-18

vanilla-sources - 5.15.203
Ebuild name:

sys-kernel/vanilla-sources-5.15.203

Description

Full sources for the Linux kernel

Added to portage

2026-04-18

vanilla-sources - 6.1.169
Ebuild name:

sys-kernel/vanilla-sources-6.1.169

Description

Full sources for the Linux kernel

Added to portage

2026-04-18

vanilla-sources - 6.12.82
Ebuild name:

sys-kernel/vanilla-sources-6.12.82

Description

Full sources for the Linux kernel

Added to portage

2026-04-18

vanilla-sources - 6.18.23
Ebuild name:

sys-kernel/vanilla-sources-6.18.23

Description

Full sources for the Linux kernel

Added to portage

2026-04-18

vanilla-sources - 6.19.13
Ebuild name:

sys-kernel/vanilla-sources-6.19.13

Description

Full sources for the Linux kernel

Added to portage

2026-04-18

vanilla-sources - 6.6.135
Ebuild name:

sys-kernel/vanilla-sources-6.6.135

Description

Full sources for the Linux kernel

Added to portage

2026-04-18

webkit-gtk - 2.52.2-r410
Ebuild name:

net-libs/webkit-gtk-2.52.2-r410

Description

Open source web browser engine

Added to portage

2026-04-18

webkit-gtk - 2.52.2-r600
Ebuild name:

net-libs/webkit-gtk-2.52.2-r600

Description

Open source web browser engine

Added to portage

2026-04-18

wine-vanilla - 11.7
Ebuild name:

app-emulation/wine-vanilla-11.7

Description

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

Added to portage

2026-04-18

wrapt - 2.2.0_rc10
Ebuild name:

dev-python/wrapt-2.2.0_rc10

Description

Module for decorators, wrappers and monkey patching

Added to portage

2026-04-18

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