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:

29558

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
2015-05-31
cmocka - 1.0.1
Ebuild name:

dev-util/cmocka-1.0.1

Description

A unit testing framework for C

Added to portage

2015-05-31

jsr181 - 1.0-r1
Ebuild name:

dev-java/jsr181-1.0-r1

Description

JSR 181 API classes

Added to portage

2015-05-31

libfakekey - 0.1-r2
Ebuild name:

x11-libs/libfakekey-0.1-r2

Description

Helper library for the x11-misc/matchbox-keyboard package

Added to portage

2015-05-31

proftpd - 1.3.5a
Ebuild name:

net-ftp/proftpd-1.3.5a

Description

An advanced and very configurable FTP server

Added to portage

2015-05-31

tomahawk - 0.8.4-r1
Ebuild name:

media-sound/tomahawk-0.8.4-r1

Description

Multi-source social music player

Added to portage

2015-05-31

2015-05-30
Text-BibTeX - 0.710.0
Ebuild name:

dev-perl/Text-BibTeX-0.710.0

Description

A Perl library for reading, parsing, and processing BibTeX files

Added to portage

2015-05-30

cernlib - 2006-r6
Ebuild name:

sci-physics/cernlib-2006-r6

Description

CERN program library for High Energy Physics

Added to portage

2015-05-30

django-tinymce - 1.5.3
Ebuild name:

dev-python/django-tinymce-1.5.3

Description

TinyMCE integration for Django

Added to portage

2015-05-30

dpkg - 1.18.1
Ebuild name:

app-arch/dpkg-1.18.1

Description

Package maintenance system for Debian

Added to portage

2015-05-30

eudev - 3.1
Ebuild name:

sys-fs/eudev-3.1

Description

Linux dynamic and persistent device naming support (aka userspace devfs)

Added to portage

2015-05-30

eventlet - 0.17.4
Ebuild name:

dev-python/eventlet-0.17.4

Description

Highly concurrent networking library

Added to portage

2015-05-30

glance_store - 0.6.0
Ebuild name:

dev-python/glance_store-0.6.0

Description

A connection pool for python-ldap

Added to portage

2015-05-30

gst-plugins-ffmpeg - 0.10.13_p201211-r4
Ebuild name:

media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r4

Description

FFmpeg based gstreamer plugin

Added to portage

2015-05-30

gtk-doc - 1.24
Ebuild name:

dev-util/gtk-doc-1.24

Description

GTK+ Documentation Generator

Added to portage

2015-05-30

gtk-doc-am - 1.24
Ebuild name:

dev-util/gtk-doc-am-1.24

Description

Automake files from gtk-doc

Added to portage

2015-05-30

hardened-sources - 3.14.43-r3
Ebuild name:

sys-kernel/hardened-sources-3.14.43-r3

Description

Hardened kernel sources (kernel series .)

Added to portage

2015-05-30

hardened-sources - 3.2.69-r4
Ebuild name:

sys-kernel/hardened-sources-3.2.69-r4

Description

Hardened kernel sources (kernel series .)

Added to portage

2015-05-30

hardened-sources - 4.0.4-r3
Ebuild name:

sys-kernel/hardened-sources-4.0.4-r3

Description

Hardened kernel sources (kernel series .)

Added to portage

2015-05-30

http - 0.8.12
Ebuild name:

dev-ruby/http-0.8.12

Description

An easy-to-use client library for making requests from Ruby

Added to portage

2015-05-30

http-form_data - 1.0.1
Ebuild name:

dev-ruby/http-form_data-1.0.1

Description

Utility-belt to build form data request bodies

Added to portage

2015-05-30

jrobin - 1.6.0-r1
Ebuild name:

dev-java/jrobin-1.6.0-r1

Description

JRobin is a 100% pure Java alternative to RRDTool

Added to portage

2015-05-30

k3b - 2.0.3-r2
Ebuild name:

app-cdr/k3b-2.0.3-r2

Description

The CD/DVD Kreator for KDE

Added to portage

2015-05-30

keychain - 2.8.1
Ebuild name:

net-misc/keychain-2.8.1

Description

manage ssh and GPG keys in a convenient and secure manner

Added to portage

2015-05-30

libcap - 2.24-r1
Ebuild name:

sys-libs/libcap-2.24-r1

Description

POSIX 1003.1e capabilities

Added to portage

2015-05-30

mysql - 5.5.44
Ebuild name:

dev-db/mysql-5.5.44

Description

Added to portage

2015-05-30

pidgin-gpg - 0.9.3
Ebuild name:

x11-plugins/pidgin-gpg-0.9.3

Description

Pidgin GPG/OpenPGP (XEP-0027) plugin

Added to portage

2015-05-30

ptyprocess - 0.5
Ebuild name:

dev-python/ptyprocess-0.5

Description

Run a subprocess in a pseudo terminal

Added to portage

2015-05-30

pyjwt - 1.3.0
Ebuild name:

dev-python/pyjwt-1.3.0

Description

JSON Web Token implementation in Python

Added to portage

2015-05-30

python-cinderclient - 1.2.1
Ebuild name:

dev-python/python-cinderclient-1.2.1

Description

A client for the OpenStack Cinder API

Added to portage

2015-05-30

python-keystoneclient - 1.5.0
Ebuild name:

dev-python/python-keystoneclient-1.5.0

Description

Client Library for OpenStack Identity

Added to portage

2015-05-30

python-social-auth - 0.2.10
Ebuild name:

dev-python/python-social-auth-0.2.10

Description

Easy to setup social auth mechanism with support for several f

Added to portage

2015-05-30

qtkeychain - 0.5.0
Ebuild name:

dev-libs/qtkeychain-0.5.0

Description

Qt API for storing passwords securely

Added to portage

2015-05-30

raspberrypi-image - 3.10.38_pre-r20140427
Ebuild name:

sys-kernel/raspberrypi-image-3.10.38_pre-r20140427

Description

Raspberry PI precompiled kernel and modules

Added to portage

2015-05-30

raspberrypi-image - 3.18.14_pre-r20150520
Ebuild name:

sys-kernel/raspberrypi-image-3.18.14_pre-r20150520

Description

Raspberry PI precompiled kernel and modules

Added to portage

2015-05-30

raspberrypi-image - 3.19.3_pre-r20150413
Ebuild name:

sys-kernel/raspberrypi-image-3.19.3_pre-r20150413

Description

Raspberry PI precompiled kernel and modules

Added to portage

2015-05-30

raspberrypi-image - 4.0.4_pre-r20150523
Ebuild name:

sys-kernel/raspberrypi-image-4.0.4_pre-r20150523

Description

Raspberry PI precompiled kernel and modules

Added to portage

2015-05-30

rebase - 1506
Ebuild name:

sci-biology/rebase-1506

Description

A restriction enzyme database

Added to portage

2015-05-30

selinux-kdeconnect - 9999
Ebuild name:

sec-policy/selinux-kdeconnect-9999

Description

SELinux policy for kdeconnect

Added to portage

2015-05-30

subversion - 1.8.13-r1
Ebuild name:

dev-vcs/subversion-1.8.13-r1

Description

Advanced version control system

Added to portage

2015-05-30

subversion - 1.8.13-r2
Ebuild name:

dev-vcs/subversion-1.8.13-r2

Description

Advanced version control system

Added to portage

2015-05-30

tins - 1.3.3
Ebuild name:

dev-ruby/tins-1.3.3

Description

All the stuff that isn't good enough for a real library

Added to portage

2015-05-30

uclibc - 0.9.33.2-r15
Ebuild name:

sys-libs/uclibc-0.9.33.2-r15

Description

C library for developing embedded Linux systems

Added to portage

2015-05-30

ulogd - 2.0.4-r1
Ebuild name:

app-admin/ulogd-2.0.4-r1

Description

A userspace logging daemon for netfilter/iptables related logging

Added to portage

2015-05-30

ulogd - 2.0.5
Ebuild name:

app-admin/ulogd-2.0.5

Description

A userspace logging daemon for netfilter/iptables related logging

Added to portage

2015-05-30

youtube-dl - 2015.05.29
Ebuild name:

net-misc/youtube-dl-2015.05.29

Description

Download videos from YouTube.com (and more sites...)

Added to portage

2015-05-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.3 ms
system status display
Stellenangebote