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:

78236

userrating:

average rating: 1.1 (26 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 (3 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-07-15
Dist-Zilla-Plugin-NameFromDirectory - 0.40.0-r1
Ebuild name:

dev-perl/Dist-Zilla-Plugin-NameFromDirectory-0.40.0-r1

Description

Guess distribution name from the current dir

Added to portage

2025-07-15

Dist-Zilla-Plugin-NextVersion-Semantic - 0.2.6-r1
Ebuild name:

dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic-0.2.6-r1

Description

update the next version, semantic-wise

Added to portage

2025-07-15

Dist-Zilla-Plugin-OSPrereqs - 0.11.0-r1
Ebuild name:

dev-perl/Dist-Zilla-Plugin-OSPrereqs-0.11.0-r1

Description

List prereqs conditional on operating system

Added to portage

2025-07-15

Dist-Zilla-Plugin-OurPkgVersion - 0.210.0-r1
Ebuild name:

dev-perl/Dist-Zilla-Plugin-OurPkgVersion-0.210.0-r1

Description

No line insertion and does Package version with

Added to portage

2025-07-15

Dist-Zilla-Plugin-Prereqs-FromCPANfile - 0.80.0-r1
Ebuild name:

dev-perl/Dist-Zilla-Plugin-Prereqs-FromCPANfile-0.80.0-r1

Description

Parse cpanfile for prereqs

Added to portage

2025-07-15

Dist-Zilla-Plugin-RPM - 0.16.0-r1
Ebuild name:

dev-perl/Dist-Zilla-Plugin-RPM-0.16.0-r1

Description

Build an RPM from your Dist release

Added to portage

2025-07-15

Dist-Zilla-Plugin-ReadmeAnyFromPod - 0.163.250-r2
Ebuild name:

dev-perl/Dist-Zilla-Plugin-ReadmeAnyFromPod-0.163.250-r2

Description

Automatically convert POD to a README in a

Added to portage

2025-07-15

Dist-Zilla-Plugin-ReadmeFromPod - 0.370.0-r1
Ebuild name:

dev-perl/Dist-Zilla-Plugin-ReadmeFromPod-0.370.0-r1

Description

dzil plugin to generate README from POD

Added to portage

2025-07-15

Dist-Zilla-Plugin-ReversionOnRelease - 0.60.0-r1
Ebuild name:

dev-perl/Dist-Zilla-Plugin-ReversionOnRelease-0.60.0-r1

Description

Bump and reversion on release

Added to portage

2025-07-15

Dist-Zilla-Plugin-Run - 0.48.0-r1
Ebuild name:

dev-perl/Dist-Zilla-Plugin-Run-0.48.0-r1

Description

Run external commands and code at specific phases of Dist

Added to portage

2025-07-15

artikulate - 25.07.80
Ebuild name:

kde-apps/artikulate-25.07.80

Description

Language learning application that helps improving pronunciation skill

Added to portage

2025-07-15

blueprint-compiler - 0.18.0
Ebuild name:

dev-util/blueprint-compiler-0.18.0

Description

Compiler for Blueprint, a markup language for GTK user interface

Added to portage

2025-07-15

csharp-language-server - 0.18.0
Ebuild name:

dev-dotnet/csharp-language-server-0.18.0

Description

Roslyn-based LSP language server for C

Added to portage

2025-07-15

folium - 0.20.0
Ebuild name:

sci-geosciences/folium-0.20.0

Description

Python Data, Leaflet.js Maps

Added to portage

2025-07-15

gentoo-sources - 5.15.188
Ebuild name:

sys-kernel/gentoo-sources-5.15.188

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-07-15

gentoo-sources - 6.1.145
Ebuild name:

sys-kernel/gentoo-sources-6.1.145

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-07-15

gentoo-sources - 6.12.38
Ebuild name:

sys-kernel/gentoo-sources-6.12.38

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-07-15

gentoo-sources - 6.6.98
Ebuild name:

sys-kernel/gentoo-sources-6.6.98

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-07-15

jellyfin-bin - 10.11.0_rc3
Ebuild name:

www-apps/jellyfin-bin-10.11.0_rc3

Description

Jellyfin puts you in control of managing and streaming your media

Added to portage

2025-07-15

kamoso - 25.07.80
Ebuild name:

kde-apps/kamoso-25.07.80

Description

Application to take pictures and videos from your webcam

Added to portage

2025-07-15

kig - 25.07.80
Ebuild name:

kde-apps/kig-25.07.80

Description

KDE Interactive Geometry tool

Added to portage

2025-07-15

kqtquickcharts - 25.07.80
Ebuild name:

kde-apps/kqtquickcharts-25.07.80

Description

Qt Quick plugin for beautiful and interactive charts

Added to portage

2025-07-15

ktouch - 25.07.80
Ebuild name:

kde-apps/ktouch-25.07.80

Description

Program that helps to learn and practice touch typing

Added to portage

2025-07-15

libreoffice-l10n - 25.2.5.2
Ebuild name:

app-office/libreoffice-l10n-25.2.5.2

Description

Translations for the Libreoffice suite

Added to portage

2025-07-15

libsdl3 - 3.2.18
Ebuild name:

media-libs/libsdl3-3.2.18

Description

Simple Direct Media Layer

Added to portage

2025-07-15

merlin - 5.5
Ebuild name:

dev-ml/merlin-5.5

Description

Context sensitive completion for OCaml in Vim and Emacs

Added to portage

2025-07-15

mosquitto - 2.0.22
Ebuild name:

app-misc/mosquitto-2.0.22

Description

An Open Source MQTT v3 Broker

Added to portage

2025-07-15

postfix - 3.11_pre20250714
Ebuild name:

mail-mta/postfix-3.11_pre20250714

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2025-07-15

powershell - 0.3_pre20220402
Ebuild name:

app-emacs/powershell-0.3_pre20220402

Description

GNU Emacs mode for editing and running PowerShell code

Added to portage

2025-07-15

ppsspp - 1.19.3
Ebuild name:

games-emulation/ppsspp-1.19.3

Description

A PSP emulator written in C++

Added to portage

2025-07-15

ppx_deriving_yojson - 3.10.0
Ebuild name:

dev-ml/ppx_deriving_yojson-3.10.0

Description

JSON codec generator for OCaml

Added to portage

2025-07-15

vanilla-sources - 5.15.188
Ebuild name:

sys-kernel/vanilla-sources-5.15.188

Description

Full sources for the Linux kernel

Added to portage

2025-07-15

vanilla-sources - 6.1.145
Ebuild name:

sys-kernel/vanilla-sources-6.1.145

Description

Full sources for the Linux kernel

Added to portage

2025-07-15

vanilla-sources - 6.12.38
Ebuild name:

sys-kernel/vanilla-sources-6.12.38

Description

Full sources for the Linux kernel

Added to portage

2025-07-15

vanilla-sources - 6.6.98
Ebuild name:

sys-kernel/vanilla-sources-6.6.98

Description

Full sources for the Linux kernel

Added to portage

2025-07-15

waylandpp - 1.0.1
Ebuild name:

dev-cpp/waylandpp-1.0.1

Description

Wayland C++ bindings

Added to portage

2025-07-15

yojson - 3.0.0
Ebuild name:

dev-ml/yojson-3.0.0

Description

JSON parsing and pretty-printing library for OCaml

Added to portage

2025-07-15

2025-07-14
Dist-Zilla-Plugin-StaticInstall - 0.12.0-r1
Ebuild name:

dev-perl/Dist-Zilla-Plugin-StaticInstall-0.12.0-r1

Description

Identify a distribution as eligible for static i

Added to portage

2025-07-14

Dist-Zilla-Plugin-Test-CPAN-Changes - 0.12.0-r1
Ebuild name:

dev-perl/Dist-Zilla-Plugin-Test-CPAN-Changes-0.12.0-r1

Description

release tests for your changelog

Added to portage

2025-07-14

Dist-Zilla-Plugin-Test-Compile - 2.58.0-r1
Ebuild name:

dev-perl/Dist-Zilla-Plugin-Test-Compile-2.58.0-r1

Description

Common tests to check syntax of your modules, usi

Added to portage

2025-07-14

Dist-Zilla-Plugin-Test-MinimumVersion - 2.0.10-r1
Ebuild name:

dev-perl/Dist-Zilla-Plugin-Test-MinimumVersion-2.0.10-r1

Description

Release tests for minimum required version

Added to portage

2025-07-14

Dist-Zilla-Plugin-VersionFromMainModule - 0.40.0-r1
Ebuild name:

dev-perl/Dist-Zilla-Plugin-VersionFromMainModule-0.40.0-r1

Description

Set the distribution version from your m

Added to portage

2025-07-14

Dist-Zilla-Role-FileWatcher - 0.6.0-r1
Ebuild name:

dev-perl/Dist-Zilla-Role-FileWatcher-0.6.0-r1

Description

Receive notification when something changes a file's

Added to portage

2025-07-14

Dist-Zilla-Role-ModuleMetadata - 0.6.0-r1
Ebuild name:

dev-perl/Dist-Zilla-Role-ModuleMetadata-0.6.0-r1

Description

A role for plugins that use Module

Added to portage

2025-07-14

Dist-Zilla-Role-PluginBundle-PluginRemover - 0.105.0-r1
Ebuild name:

dev-perl/Dist-Zilla-Role-PluginBundle-PluginRemover-0.105.0-r1

Description

Add '-remove' functionality to a bun

Added to portage

2025-07-14

Emacs-PDE - 0.2.17-r1
Ebuild name:

dev-perl/Emacs-PDE-0.2.17-r1

Description

Perl Develop Environment in Emacs

Added to portage

2025-07-14

Email-Address-List - 0.60.0-r2
Ebuild name:

dev-perl/Email-Address-List-0.60.0-r2

Description

RFC close address list parsing

Added to portage

2025-07-14

Email-Find - 0.100.0-r3
Ebuild name:

dev-perl/Email-Find-0.100.0-r3

Description

Find RFC 822 email addresses in plain text

Added to portage

2025-07-14

Email-MIME-Attachment-Stripper - 1.317.0-r3
Ebuild name:

dev-perl/Email-MIME-Attachment-Stripper-1.317.0-r3

Description

Strip the attachments from a mail

Added to portage

2025-07-14

Email-Send-Gmail - 0.330.0-r2
Ebuild name:

dev-perl/Email-Send-Gmail-0.330.0-r2

Description

Send Messages using Gmail

Added to portage

2025-07-14

Encode-EUCJPASCII - 0.30.0-r2
Ebuild name:

dev-perl/Encode-EUCJPASCII-0.30.0-r2

Description

An eucJP-open mapping

Added to portage

2025-07-14

Encode-HanConvert - 0.350.0-r3
Ebuild name:

dev-perl/Encode-HanConvert-0.350.0-r3

Description

Traditional and Simplified Chinese mappings

Added to portage

2025-07-14

Encode-HanExtra - 0.230.0-r4
Ebuild name:

dev-perl/Encode-HanExtra-0.230.0-r4

Description

Extra sets of Chinese encodings

Added to portage

2025-07-14

Encode-IMAPUTF7 - 1.50.0-r3
Ebuild name:

dev-perl/Encode-IMAPUTF7-1.50.0-r3

Description

Modification of UTF-7 encoding for IMAP

Added to portage

2025-07-14

Encode-JIS2K - 0.30.0-r2
Ebuild name:

dev-perl/Encode-JIS2K-0.30.0-r2

Description

JIS X 0212 (aka JIS 2000) Encodings

Added to portage

2025-07-14

Encode-compat - 0.70.0-r4
Ebuild name:

dev-perl/Encode-compat-0.70.0-r4

Description

Encode.pm emulation layer

Added to portage

2025-07-14

Event-ExecFlow - 0.640.0-r3
Ebuild name:

dev-perl/Event-ExecFlow-0.640.0-r3

Description

High level API for event-based execution flow control

Added to portage

2025-07-14

Event-RPC - 1.100.0-r2
Ebuild name:

dev-perl/Event-RPC-1.100.0-r2

Description

Event based transparent Client/Server RPC framework

Added to portage

2025-07-14

Exception-Class - 1.450.0-r1
Ebuild name:

dev-perl/Exception-Class-1.450.0-r1

Description

Module that allows you to declare real exception classes in Per

Added to portage

2025-07-14

Net-IRR - 0.100.0
Ebuild name:

dev-perl/Net-IRR-0.100.0

Description

Internet Route Registry daemon (IRRd) client

Added to portage

2025-07-14

astroid - 3.3.11
Ebuild name:

dev-python/astroid-3.3.11

Description

Abstract Syntax Tree for logilab packages

Added to portage

2025-07-14

asymptote - 3.05
Ebuild name:

media-gfx/asymptote-3.05

Description

A vector graphics language that provides a framework for technical drawing

Added to portage

2025-07-14

async-pool - 0.11.0
Ebuild name:

dev-ruby/async-pool-0.11.0

Description

A singleplex and multiplex resource pool for implementing robust clients

Added to portage

2025-07-14

clang - 21.0.0_pre20250713
Ebuild name:

dev-python/clang-21.0.0_pre20250713

Description

Python bindings for llvm-core/clang

Added to portage

2025-07-14

clang - 21.0.0_pre20250713
Ebuild name:

llvm-core/clang-21.0.0_pre20250713

Description

C language family frontend for LLVM

Added to portage

2025-07-14

clang-common - 21.0.0_pre20250713
Ebuild name:

llvm-core/clang-common-21.0.0_pre20250713

Description

Common files shared between multiple slots of clang

Added to portage

2025-07-14

clang-runtime - 21.0.0_pre20250713
Ebuild name:

llvm-core/clang-runtime-21.0.0_pre20250713

Description

Meta-ebuild for clang runtime libraries

Added to portage

2025-07-14

compiler-rt - 21.0.0_pre20250713
Ebuild name:

llvm-runtimes/compiler-rt-21.0.0_pre20250713

Description

Compiler runtime library for clang (built-in part)

Added to portage

2025-07-14

compiler-rt-sanitizers - 21.0.0_pre20250713
Ebuild name:

llvm-runtimes/compiler-rt-sanitizers-21.0.0_pre20250713

Description

Compiler runtime libraries for clang (sanit

Added to portage

2025-07-14

flang - 21.0.0_pre20250713
Ebuild name:

llvm-core/flang-21.0.0_pre20250713

Description

LLVM's Fortran frontend

Added to portage

2025-07-14

flang-rt - 21.0.0_pre20250713
Ebuild name:

llvm-runtimes/flang-rt-21.0.0_pre20250713

Description

LLVM's Fortran runtime

Added to portage

2025-07-14

fotocx - 25.2
Ebuild name:

media-gfx/fotocx-25.2

Description

Program for improving image files made with a digital camera

Added to portage

2025-07-14

gcc - 16.0.0_p20250713
Ebuild name:

sys-devel/gcc-16.0.0_p20250713

Description

The GNU Compiler Collection

Added to portage

2025-07-14

git-sources - 6.16_rc6
Ebuild name:

sys-kernel/git-sources-6.16_rc6

Description

The very latest -git version of the Linux kernel

Added to portage

2025-07-14

gpxsee - 13.45
Ebuild name:

sci-geosciences/gpxsee-13.45

Description

Viewer and analyzer that supports gpx, tcx, kml, fit, igc and nmea fil

Added to portage

2025-07-14

keystone - 0.9.2-r4
Ebuild name:

dev-libs/keystone-0.9.2-r4

Description

assembly/assembler framework + bindings

Added to portage

2025-07-14

libassuan - 3.0.0-r1
Ebuild name:

dev-libs/libassuan-3.0.0-r1

Description

IPC library used by GnuPG and GPGME

Added to portage

2025-07-14

libassuan - 3.0.1-r1
Ebuild name:

dev-libs/libassuan-3.0.1-r1

Description

IPC library used by GnuPG and GPGME

Added to portage

2025-07-14

libclc - 21.0.0_pre20250713
Ebuild name:

llvm-core/libclc-21.0.0_pre20250713

Description

OpenCL C library

Added to portage

2025-07-14

libcxx - 21.0.0_pre20250713
Ebuild name:

llvm-runtimes/libcxx-21.0.0_pre20250713

Description

New implementation of the C++ standard library, targeting C

Added to portage

2025-07-14

libcxxabi - 21.0.0_pre20250713
Ebuild name:

llvm-runtimes/libcxxabi-21.0.0_pre20250713

Description

Low level support for a standard C++ library

Added to portage

2025-07-14

libgcc - 21.0.0_pre20250713
Ebuild name:

llvm-runtimes/libgcc-21.0.0_pre20250713

Description

Compiler runtime library for clang, compatible with libgcc_

Added to portage

2025-07-14

libunwind - 21.0.0_pre20250713
Ebuild name:

llvm-runtimes/libunwind-21.0.0_pre20250713

Description

C++ runtime stack unwinder from LLVM

Added to portage

2025-07-14

lit - 21.0.0_pre20250713
Ebuild name:

dev-python/lit-21.0.0_pre20250713

Description

A stand-alone install of the LLVM suite testing tool

Added to portage

2025-07-14

lld - 21.0.0_pre20250713
Ebuild name:

llvm-core/lld-21.0.0_pre20250713

Description

The LLVM linker (link editor)

Added to portage

2025-07-14

lldb - 21.0.0_pre20250713
Ebuild name:

llvm-core/lldb-21.0.0_pre20250713

Description

The LLVM debugger

Added to portage

2025-07-14

llvm - 21.0.0_pre20250713
Ebuild name:

dev-ml/llvm-21.0.0_pre20250713

Description

OCaml bindings for LLVM

Added to portage

2025-07-14

llvm - 21.0.0_pre20250713
Ebuild name:

llvm-core/llvm-21.0.0_pre20250713

Description

Low Level Virtual Machine

Added to portage

2025-07-14

llvm-common - 21.0.0_pre20250713
Ebuild name:

llvm-core/llvm-common-21.0.0_pre20250713

Description

Common files shared between multiple slots of LLVM

Added to portage

2025-07-14

mlir - 21.0.0_pre20250713
Ebuild name:

llvm-core/mlir-21.0.0_pre20250713

Description

Multi-Level Intermediate Representation (library only)

Added to portage

2025-07-14

neatvnc - 0.9.4
Ebuild name:

gui-libs/neatvnc-0.9.4

Description

Liberally licensed VNC server library with a clean interface

Added to portage

2025-07-14

offload - 21.0.0_pre20250713
Ebuild name:

llvm-runtimes/offload-21.0.0_pre20250713

Description

OpenMP offloading support

Added to portage

2025-07-14

openmp - 21.0.0_pre20250713
Ebuild name:

llvm-runtimes/openmp-21.0.0_pre20250713

Description

OpenMP runtime library for LLVM/clang compiler

Added to portage

2025-07-14

polly - 21.0.0_pre20250713
Ebuild name:

llvm-core/polly-21.0.0_pre20250713

Description

Polyhedral optimizations for LLVM

Added to portage

2025-07-14

pypdf - 5.8.0
Ebuild name:

dev-python/pypdf-5.8.0

Description

Python library to work with PDF files

Added to portage

2025-07-14

python - 0.3.13.5
Ebuild name:

dev-lang/python-0.3.13.5

Description

Freethreading (no-GIL) version of Python programming language

Added to portage

2025-07-14

python-tests - 0.3.13.5
Ebuild name:

dev-python/python-tests-0.3.13.5

Description

Test modules from dev-lang/python

Added to portage

2025-07-14

sbcl - 2.5.6
Ebuild name:

dev-lisp/sbcl-2.5.6

Description

Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp

Added to portage

2025-07-14

types-gdb - 15.0.0.20250713
Ebuild name:

dev-python/types-gdb-15.0.0.20250713

Description

Typing stubs for gdb

Added to portage

2025-07-14

wayvnc - 0.9.1-r1
Ebuild name:

gui-apps/wayvnc-0.9.1-r1

Description

VNC server for wlroots based Wayland compositors

Added to portage

2025-07-14

xfce4-screensaver - 4.20.0
Ebuild name:

xfce-extra/xfce4-screensaver-4.20.0

Description

Screen saver and locker (port of MATE screensaver)

Added to portage

2025-07-14

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: 79.8 ms