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:

34253

userrating:

average rating: 1.5 (4 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
Please read "Why adblockers are bad".



other Ads
Stellenangebote
Stellenangebote
für Fach- und
Führungskräfte
www.nachoben.com
Trace My Cash
Wenn Sie sich schon immer mal gefragt haben, wo eigentlich Ihr geliebtes Bargeld geblieben ist, finden Sie hier vielleicht die Antwort.
www.tracemycash.com
Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2016-08-31
autobahn - 0.16.0
Ebuild name:

dev-python/autobahn-0.16.0

Description

WebSocket and WAMP for Twisted and Asyncio

Added to portage

2016-08-31

cbor - 1.0.0
Ebuild name:

dev-python/cbor-1.0.0

Description

RFC 7049 - Concise Binary Object Representation

Added to portage

2016-08-31

five-or-more - 3.20.2
Ebuild name:

games-puzzle/five-or-more-3.20.2

Description

Five or More Game for GNOME

Added to portage

2016-08-31

libsvm - 3.21
Ebuild name:

sci-libs/libsvm-3.21

Description

Library for Support Vector Machines

Added to portage

2016-08-31

mariadb - 10.1.17
Ebuild name:

dev-db/mariadb-10.1.17

Description

An enhanced, drop-in replacement for MySQL

Added to portage

2016-08-31

nagstamon - 2.0
Ebuild name:

net-analyzer/nagstamon-2.0

Description

status monitor for the desktop

Added to portage

2016-08-31

py-ubjson - 0.8.5
Ebuild name:

dev-python/py-ubjson-0.8.5

Description

Universal Binary JSON encoder/decoder

Added to portage

2016-08-31

pynacl - 1.0.1
Ebuild name:

dev-python/pynacl-1.0.1

Description

Python binding to the Networking and Cryptography (NaCl) library

Added to portage

2016-08-31

pypng - 0.0.18
Ebuild name:

dev-python/pypng-0.0.18

Description

Pure Python PNG image encoder/decoder

Added to portage

2016-08-31

pyqrcode - 1.2.1
Ebuild name:

dev-python/pyqrcode-1.2.1

Description

A pure Python QR code generator with SVG, EPS, PNG and terminal output

Added to portage

2016-08-31

pytrie - 0.2
Ebuild name:

dev-python/pytrie-0.2

Description

A pure Python implementation of the trie data structure.

Added to portage

2016-08-31

txaio - 2.5.1
Ebuild name:

dev-python/txaio-2.5.1

Description

a helper library for writing code unmodified on both Twisted and asyncio

Added to portage

2016-08-31

u-msgpack - 2.1
Ebuild name:

dev-python/u-msgpack-2.1

Description

A portable, lightweight MessagePack serializer and deserializer

Added to portage

2016-08-31

xfce4-whiskermenu-plugin - 1.6.0
Ebuild name:

xfce-extra/xfce4-whiskermenu-plugin-1.6.0

Description

Alternate application launcher for Xfce

Added to portage

2016-08-31

xfce4-whiskermenu-plugin - 2.0.1
Ebuild name:

xfce-extra/xfce4-whiskermenu-plugin-2.0.1

Description

Alternate application launcher for Xfce

Added to portage

2016-08-31

2016-08-30
alembic - 0.8.7
Ebuild name:

dev-python/alembic-0.8.7

Description

database migrations tool, written by the author of SQLAlchemy

Added to portage

2016-08-30

astime - 2.8-r2
Ebuild name:

x11-plugins/astime-2.8-r2

Description

Analogue clock utility for X Windows

Added to portage

2016-08-30

astroid - 1.4.8
Ebuild name:

dev-python/astroid-1.4.8

Description

Abstract Syntax Tree for logilab packages

Added to portage

2016-08-30

awscli - 1.10.59
Ebuild name:

dev-python/awscli-1.10.59

Description

Universal Command Line Environment for AWS

Added to portage

2016-08-30

bopm - 3.1.3-r3
Ebuild name:

net-misc/bopm-3.1.3-r3

Description

Blitzed Open Proxy Monitor

Added to portage

2016-08-30

botocore - 1.4.48
Ebuild name:

dev-python/botocore-1.4.48

Description

Low-level, data-driven core of boto 3.

Added to portage

2016-08-30

cli53 - 0.8.0
Ebuild name:

app-admin/cli53-0.8.0

Description

Command line tool for Amazon Route 53

Added to portage

2016-08-30

convertlit - 1.8-r3
Ebuild name:

app-text/convertlit-1.8-r3

Description

CLit converts MS ebook .lit files to .opf (xml+html+png+jpg)

Added to portage

2016-08-30

curb - 0.9.3
Ebuild name:

dev-ruby/curb-0.9.3

Description

Ruby-language bindings for libcurl

Added to portage

2016-08-30

dbf - 3.0.7
Ebuild name:

dev-ruby/dbf-3.0.7

Description

a small fast library for reading dBase, xBase, Clipper and FoxPro database files

Added to portage

2016-08-30

freshplayerplugin - 0.3.5
Ebuild name:

www-plugins/freshplayerplugin-0.3.5

Description

PPAPI-host NPAPI-plugin adapter for flashplayer in npapi based

Added to portage

2016-08-30

gherkin - 4.0.0-r1
Ebuild name:

dev-ruby/gherkin-4.0.0-r1

Description

Fast Gherkin lexer and parser

Added to portage

2016-08-30

gkwebmon - 0.2-r1
Ebuild name:

x11-plugins/gkwebmon-0.2-r1

Description

A web monitor plugin for GKrellM2

Added to portage

2016-08-30

knot - 2.3.0
Ebuild name:

net-dns/knot-2.3.0

Description

High-performance authoritative-only DNS server

Added to portage

2016-08-30

libgig - 4.0.0-r1
Ebuild name:

media-libs/libgig-4.0.0-r1

Description

a C++ library for loading Gigasampler files and DLS (Downloadable Sounds

Added to portage

2016-08-30

libyaml - 0.1.7
Ebuild name:

dev-libs/libyaml-0.1.7

Description

YAML 1.1 parser and emitter written in C

Added to portage

2016-08-30

neutron - 8.2.0
Ebuild name:

sys-cluster/neutron-8.2.0

Description

A virtual network service for Openstack

Added to portage

2016-08-30

nfqueue-bindings - 0.6
Ebuild name:

net-libs/nfqueue-bindings-0.6

Description

High-level language bindings for libnetfilter_queue

Added to portage

2016-08-30

numpy - 1.11.1
Ebuild name:

dev-python/numpy-1.11.1

Description

Fast array and numerical python library

Added to portage

2016-08-30

openastro - 1.1.48
Ebuild name:

app-misc/openastro-1.1.48

Description

A fully-featured Open Source Astrology Program

Added to portage

2016-08-30

openastro-data - 1.6
Ebuild name:

app-misc/openastro-data-1.6

Description

OpenAstro data files, ephemeris, famous people database, geo database

Added to portage

2016-08-30

openrc - 0.21.5
Ebuild name:

sys-apps/openrc-0.21.5

Description

OpenRC manages the services, startup and shutdown of a host

Added to portage

2016-08-30

pyswisseph - 2.00.00_p2
Ebuild name:

dev-python/pyswisseph-2.00.00_p2

Description

Python extension to the AstroDienst Swiss Ephemeris

Added to portage

2016-08-30

pyyaml - 3.12
Ebuild name:

dev-python/pyyaml-3.12

Description

YAML parser and emitter for Python

Added to portage

2016-08-30

qsampler - 0.4.0
Ebuild name:

media-sound/qsampler-0.4.0

Description

A graphical frontend to the LinuxSampler engine

Added to portage

2016-08-30

requests-toolbelt - 0.7.0
Ebuild name:

dev-python/requests-toolbelt-0.7.0

Description

A utility belt for advanced users of python-requests

Added to portage

2016-08-30

s3transfer - 0.1.2
Ebuild name:

dev-python/s3transfer-0.1.2

Description

An Amazon S3 Transfer Manager

Added to portage

2016-08-30

samba - 4.5.0_rc3
Ebuild name:

net-fs/samba-4.5.0_rc3

Description

Samba Suite Version 4

Added to portage

2016-08-30

tevent - 0.9.30
Ebuild name:

sys-libs/tevent-0.9.30

Description

Samba tevent library

Added to portage

2016-08-30

tuxguitar - 1.3.2
Ebuild name:

media-sound/tuxguitar-1.3.2

Description

TuxGuitar is a multitrack guitar tablature editor and player written in

Added to portage

2016-08-30

ulogd - 2.0.5_p20160331
Ebuild name:

app-admin/ulogd-2.0.5_p20160331

Description

A userspace logging daemon for netfilter/iptables related logging

Added to portage

2016-08-30

vanilla-sources - 3.10.103
Ebuild name:

sys-kernel/vanilla-sources-3.10.103

Description

Full sources for the Linux kernel

Added to portage

2016-08-30

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004 S&P Softwaredesign
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: 5.4 ms
system status display
Stellenangebote