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:

82655

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-12-30
awscli - 1.44.8
Ebuild name:

app-admin/awscli-1.44.8

Description

Universal Command Line Environment for AWS

Added to portage

2025-12-30

backports-zstd - 1.3.0
Ebuild name:

dev-python/backports-zstd-1.3.0

Description

Backport of PEP-784 adding Zstandard to the standard library

Added to portage

2025-12-30

boto3 - 1.42.18
Ebuild name:

dev-python/boto3-1.42.18

Description

The AWS SDK for Python

Added to portage

2025-12-30

botocore - 1.42.18
Ebuild name:

dev-python/botocore-1.42.18

Description

Low-level, data-driven core of boto 3

Added to portage

2025-12-30

fakefs - 3.2.0
Ebuild name:

dev-ruby/fakefs-3.2.0

Description

A fake filesystem. Use it in your tests

Added to portage

2025-12-30

faker - 40.1.0
Ebuild name:

dev-python/faker-40.1.0

Description

A Python package that generates fake data for you

Added to portage

2025-12-30

ffi - 1.17.3
Ebuild name:

dev-ruby/ffi-1.17.3

Description

Ruby extension for programmatically loading dynamic libraries

Added to portage

2025-12-30

fiddle - 1.1.8
Ebuild name:

dev-ruby/fiddle-1.1.8

Description

A libffi wrapper for Ruby

Added to portage

2025-12-30

git - 4.0.7
Ebuild name:

dev-ruby/git-4.0.7

Description

Library for using Git in Ruby

Added to portage

2025-12-30

gnupg - 2.5.16
Ebuild name:

app-crypt/gnupg-2.5.16

Description

The GNU Privacy Guard, a GPL OpenPGP implementation

Added to portage

2025-12-30

httparty - 0.24.0
Ebuild name:

dev-ruby/httparty-0.24.0

Description

Makes http fun Also, makes consuming restful web services dead easy

Added to portage

2025-12-30

kombu - 5.6.2
Ebuild name:

dev-python/kombu-5.6.2

Description

AMQP Messaging Framework for Python

Added to portage

2025-12-30

krita - 6.0.0_alpha_pre20251229
Ebuild name:

media-gfx/krita-6.0.0_alpha_pre20251229

Description

Free digital painting application. Digital Painting, Creati

Added to portage

2025-12-30

libcamera - 0.6.0
Ebuild name:

media-libs/libcamera-0.6.0

Description

Complex camera support library

Added to portage

2025-12-30

minitest-around - 0.6.0
Ebuild name:

dev-ruby/minitest-around-0.6.0

Description

Alternative for setup/teardown dance

Added to portage

2025-12-30

nokogiri - 1.19.0
Ebuild name:

dev-ruby/nokogiri-1.19.0

Description

Nokogiri is an HTML, XML, SAX, and Reader parser

Added to portage

2025-12-30

nomacs - 3.22.0
Ebuild name:

media-gfx/nomacs-3.22.0

Description

Qt-based image viewer

Added to portage

2025-12-30

omemo-dr - 1.2.0
Ebuild name:

dev-python/omemo-dr-1.2.0

Description

OMEMO Crypto Library

Added to portage

2025-12-30

parseclj - 1.1.1
Ebuild name:

app-emacs/parseclj-1.1.1

Description

Clojure Parser for Emacs Lisp

Added to portage

2025-12-30

parseedn - 1.2.1
Ebuild name:

app-emacs/parseedn-1.2.1

Description

EDN parser for Emacs Lisp

Added to portage

2025-12-30

portage-utils - 0.98
Ebuild name:

app-portage/portage-utils-0.98

Description

Small and fast Portage helper tools written in C

Added to portage

2025-12-30

pstore - 0.2.0
Ebuild name:

dev-ruby/pstore-0.2.0

Description

Transactional File Storage for Ruby Objects

Added to portage

2025-12-30

psutil - 7.2.1
Ebuild name:

dev-python/psutil-7.2.1

Description

Retrieve information on running processes and system utilization

Added to portage

2025-12-30

pygit2 - 1.19.1
Ebuild name:

dev-python/pygit2-1.19.1

Description

Python bindings for libgit2

Added to portage

2025-12-30

pylast - 7.0.1
Ebuild name:

dev-python/pylast-7.0.1

Description

Python interface to last.fm and other api-compatible websites

Added to portage

2025-12-30

qcheck - 0.27
Ebuild name:

dev-ml/qcheck-0.27

Description

QuickCheck inspired property-based testing for OCaml

Added to portage

2025-12-30

readline - 0.0.4
Ebuild name:

dev-ruby/readline-0.0.4

Description

Class to build custom data structures, similar to a Hash

Added to portage

2025-12-30

sabctools - 9.2.1
Ebuild name:

dev-python/sabctools-9.2.1

Description

Module providing raw yEnc encoding/decoding for SABnzbd

Added to portage

2025-12-30

termcolor - 3.3.0
Ebuild name:

dev-python/termcolor-3.3.0

Description

ANSI Color formatting for output in terminal

Added to portage

2025-12-30

torchvision - 0.24.1
Ebuild name:

sci-ml/torchvision-0.24.1

Description

Datasets, transforms and models to specific to computer vision

Added to portage

2025-12-30

uv - 0.9.20
Ebuild name:

dev-python/uv-0.9.20

Description

A Python package installer and resolver, written in Rust

Added to portage

2025-12-30

uv-build - 0.9.20
Ebuild name:

dev-python/uv-build-0.9.20

Description

PEP517 uv build backend

Added to portage

2025-12-30

xpadneo - 0.9.8
Ebuild name:

games-util/xpadneo-0.9.8

Description

Advanced Linux Driver for Xbox One Wireless Controller

Added to portage

2025-12-30

2025-12-29
array-api-compat - 1.13.0
Ebuild name:

dev-python/array-api-compat-1.13.0

Description

Array API standard compatibility wrapper over NumPy and others

Added to portage

2025-12-29

coverage - 7.13.1
Ebuild name:

dev-python/coverage-7.13.1

Description

Code coverage measurement for Python

Added to portage

2025-12-29

darktable - 5.4.0
Ebuild name:

media-gfx/darktable-5.4.0

Description

A virtual lighttable and darkroom for photographers

Added to portage

2025-12-29

elementpath - 5.1.0
Ebuild name:

dev-python/elementpath-5.1.0

Description

XPath 1.0/2.0 parsers and selectors for ElementTree and lxml

Added to portage

2025-12-29

harfbuzz - 12.3.0
Ebuild name:

media-libs/harfbuzz-12.3.0

Description

An OpenType text shaping engine

Added to portage

2025-12-29

hugin - 2025.0.1
Ebuild name:

media-gfx/hugin-2025.0.1

Description

GUI for the creation & processing of panoramic images

Added to portage

2025-12-29

kshutdown - 6.2
Ebuild name:

kde-misc/kshutdown-6.2

Description

Shutdown manager for desktop environments like KDE Plasma

Added to portage

2025-12-29

lcov - 2.4
Ebuild name:

dev-util/lcov-2.4

Description

A graphical front-end for GCC's coverage testing tool gcov

Added to portage

2025-12-29

mediafile - 0.14.0
Ebuild name:

dev-python/mediafile-0.14.0

Description

Read and write audio files' tags in Python

Added to portage

2025-12-29

messagelib - 25.08.3-r2
Ebuild name:

kde-apps/messagelib-25.08.3-r2

Description

Libraries for messaging functions

Added to portage

2025-12-29

moto - 5.1.19
Ebuild name:

dev-python/moto-5.1.19

Description

Mock library for boto

Added to portage

2025-12-29

netavark - 1.17.1
Ebuild name:

app-containers/netavark-1.17.1

Description

A container network stack

Added to portage

2025-12-29

newsboat - 2.42
Ebuild name:

net-news/newsboat-2.42

Description

An RSS/Atom feed reader for text terminals

Added to portage

2025-12-29

openresolv - 3.17.4
Ebuild name:

net-dns/openresolv-3.17.4

Description

A framework for managing DNS information

Added to portage

2025-12-29

parseclj - 1.1.1
Ebuild name:

app-emacs/parseclj-1.1.1

Description

Clojure Parser for Emacs Lisp

Added to portage

2025-12-29

plette - 2.1.0-r1
Ebuild name:

dev-python/plette-2.1.0-r1

Description

Structured Pipfile and Pipfile.lock models

Added to portage

2025-12-29

postfix - 3.11.0_rc2
Ebuild name:

mail-mta/postfix-3.11.0_rc2

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2025-12-29

postfix - 3.12_pre20251226
Ebuild name:

mail-mta/postfix-3.12_pre20251226

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2025-12-29

pwsh - 7.5.4-r2
Ebuild name:

app-shells/pwsh-7.5.4-r2

Description

Cross-platform automation and configuration tool

Added to portage

2025-12-29

pycargoebuild - 0.15.1
Ebuild name:

app-portage/pycargoebuild-0.15.1

Description

A generator for Rust/Cargo ebuilds written in Python

Added to portage

2025-12-29

qmidiarp - 0.7.2
Ebuild name:

media-sound/qmidiarp-0.7.2

Description

Arpeggiator, sequencer and MIDI LFO for ALSA

Added to portage

2025-12-29

sedlex - 3.7
Ebuild name:

dev-ml/sedlex-3.7

Description

Added to portage

2025-12-29

socket-burst-dampener - 1.3.3
Ebuild name:

net-misc/socket-burst-dampener-1.3.3

Description

A daemon that spawns one command per connection, and dampens c

Added to portage

2025-12-29

tldextract - 5.3.1
Ebuild name:

dev-python/tldextract-5.3.1

Description

Accurately separate the TLD from the registered domain and subdomains o

Added to portage

2025-12-29

tlfloat - 1.15.0_p20250711
Ebuild name:

dev-cpp/tlfloat-1.15.0_p20250711

Description

C++ template library for floating point operations

Added to portage

2025-12-29

types-psutil - 7.2.0.20251228
Ebuild name:

dev-python/types-psutil-7.2.0.20251228

Description

Typing stubs for psutil

Added to portage

2025-12-29

vulkan-loader - 1.4.335.0-r1
Ebuild name:

media-libs/vulkan-loader-1.4.335.0-r1

Description

Vulkan Installable Client Driver (ICD) Loader

Added to portage

2025-12-29

xwaylandvideobridge - 0.4.0_p20250215-r1
Ebuild name:

gui-apps/xwaylandvideobridge-0.4.0_p20250215-r1

Description

Screenshare Wayland windows to XWayland apps

Added to portage

2025-12-29

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