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:

29207

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-04-20
flexmock - 1.3.3-r1
Ebuild name:

dev-ruby/flexmock-1.3.3-r1

Description

Simple mock object library for Ruby unit testing

Added to portage

2015-04-20

lammps - 20150416
Ebuild name:

sci-physics/lammps-20150416

Description

Large-scale Atomic/Molecular Massively Parallel Simulator

Added to portage

2015-04-20

libgpg-error - 1.19
Ebuild name:

dev-libs/libgpg-error-1.19

Description

Contains error handling functions used by GnuPG software

Added to portage

2015-04-20

memcache-client - 1.8.5-r2
Ebuild name:

dev-ruby/memcache-client-1.8.5-r2

Description

A ruby library for accessing memcached

Added to portage

2015-04-20

r10k - 1.1.3-r1
Ebuild name:

app-admin/r10k-1.1.3-r1

Description

Puppet environment and module deployment

Added to portage

2015-04-20

rb_libtorrent - 1.0.4
Ebuild name:

net-libs/rb_libtorrent-1.0.4

Description

C++ BitTorrent implementation focusing on efficiency and scalability

Added to portage

2015-04-20

ruby-tcpwrap - 0.6-r3
Ebuild name:

dev-ruby/ruby-tcpwrap-0.6-r3

Description

A TCP wrappers library for Ruby

Added to portage

2015-04-20

2015-04-19
Bio-Graphics - 2.390.0
Ebuild name:

dev-perl/Bio-Graphics-2.390.0

Description

Generate images from Bio objects for visualization purposes

Added to portage

2015-04-19

Bio-SamTools - 1.410.0
Ebuild name:

dev-perl/Bio-SamTools-1.410.0

Description

Read SAM/BAM database files

Added to portage

2015-04-19

Bit-Vector - 7.400.0
Ebuild name:

dev-perl/Bit-Vector-7.400.0

Description

Efficient bit vector, set of integers and big int math library

Added to portage

2015-04-19

Business-ISBN-Data - 20140910.2.0
Ebuild name:

dev-perl/Business-ISBN-Data-20140910.2.0

Description

Data pack for Business

Added to portage

2015-04-19

Business-ISMN - 1.130.0
Ebuild name:

dev-perl/Business-ISMN-1.130.0

Description

International Standard Music Numbers

Added to portage

2015-04-19

CGI-Simple - 1.115.0
Ebuild name:

dev-perl/CGI-Simple-1.115.0

Description

A Simple totally OO CGI interface that is CGI.pm compliant

Added to portage

2015-04-19

CHI - 0.590.0
Ebuild name:

dev-perl/CHI-0.590.0

Description

Unified cache handling interface

Added to portage

2015-04-19

Cairo - 1.105.0
Ebuild name:

dev-perl/Cairo-1.105.0

Description

Perl interface to the cairo library

Added to portage

2015-04-19

Capture-Tiny - 0.280.0
Ebuild name:

dev-perl/Capture-Tiny-0.280.0

Description

Capture STDOUT and STDERR from Perl, XS or external programs

Added to portage

2015-04-19

Carp-Assert - 0.210.0
Ebuild name:

dev-perl/Carp-Assert-0.210.0

Description

Executable comments in carp

Added to portage

2015-04-19

crass - 1.0.2
Ebuild name:

dev-ruby/crass-1.0.2

Description

A Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specifica

Added to portage

2015-04-19

dwarf-fortress - 0.40.24
Ebuild name:

games-roguelike/dwarf-fortress-0.40.24

Description

A single-player fantasy game

Added to portage

2015-04-19

gdm - 3.14.2
Ebuild name:

gnome-base/gdm-3.14.2

Description

GNOME Display Manager for managing graphical display servers and user logins

Added to portage

2015-04-19

gnome-bluetooth - 3.14.1
Ebuild name:

net-wireless/gnome-bluetooth-3.14.1

Description

Bluetooth graphical utilities integrated with GNOME

Added to portage

2015-04-19

gnome-online-miners - 3.14.2
Ebuild name:

net-misc/gnome-online-miners-3.14.2

Description

Crawls through your online content

Added to portage

2015-04-19

gnome-tweak-tool - 3.14.3
Ebuild name:

gnome-extra/gnome-tweak-tool-3.14.3

Description

Tool to customize GNOME 3 options

Added to portage

2015-04-19

google-musicmanager - 1.0.182.3607_beta
Ebuild name:

media-sound/google-musicmanager-1.0.182.3607_beta

Description

Google Music Manager is a application for adding

Added to portage

2015-04-19

hplip - 3.15.4
Ebuild name:

net-print/hplip-3.15.4

Description

HP Linux Imaging and Printing. Includes printer, scanner, fax drivers and se

Added to portage

2015-04-19

hwids - 20150417
Ebuild name:

sys-apps/hwids-20150417

Description

Hardware (PCI, USB, OUI, IAB) IDs databases

Added to portage

2015-04-19

libcerf - 1.4
Ebuild name:

sci-libs/libcerf-1.4

Description

library that provides an efficient and accurate implementation of complex erro

Added to portage

2015-04-19

libdbusmenu - 12.10.2-r2
Ebuild name:

dev-libs/libdbusmenu-12.10.2-r2

Description

Library to pass menu structure across DBus

Added to portage

2015-04-19

libgweather - 3.14.4
Ebuild name:

dev-libs/libgweather-3.14.4

Description

Library to access weather information from online services

Added to portage

2015-04-19

libvirt - 1.2.13-r2
Ebuild name:

app-emulation/libvirt-1.2.13-r2

Description

C toolkit to manipulate virtual machines

Added to portage

2015-04-19

libvirt - 1.2.14-r2
Ebuild name:

app-emulation/libvirt-1.2.14-r2

Description

C toolkit to manipulate virtual machines

Added to portage

2015-04-19

libxml2 - 2.9.2-r1
Ebuild name:

dev-libs/libxml2-2.9.2-r1

Description

Version 2 of the library to manipulate XML files

Added to portage

2015-04-19

minitube - 2.4
Ebuild name:

media-video/minitube-2.4

Description

Qt4 YouTube Client

Added to portage

2015-04-19

paraview - 4.3.1
Ebuild name:

sci-visualization/paraview-4.3.1

Description

ParaView is a powerful scientific data visualization application

Added to portage

2015-04-19

pdumpfs - 1.3-r2
Ebuild name:

app-backup/pdumpfs-1.3-r2

Description

a daily backup system similar to Plan9's dumpfs

Added to portage

2015-04-19

pygments - 2.0.1-r1
Ebuild name:

dev-python/pygments-2.0.1-r1

Description

Pygments is a syntax highlighting package written in Python

Added to portage

2015-04-19

python-debian - 0.1.27
Ebuild name:

dev-python/python-debian-0.1.27

Description

Python modules to work with Debian-related data formats

Added to portage

2015-04-19

sbt - 0.13.8
Ebuild name:

dev-java/sbt-0.13.8

Description

sbt is a build tool for Scala and Java projects that aims to do the basics well

Added to portage

2015-04-19

stomp - 1.3.4
Ebuild name:

dev-ruby/stomp-1.3.4

Description

Ruby bindings for the stomp messaging protocol

Added to portage

2015-04-19

ucspi-ssl - 0.94-r1
Ebuild name:

sys-apps/ucspi-ssl-0.94-r1

Description

Command-line tools for building SSL client-server applications

Added to portage

2015-04-19

uncrustify - 0.61
Ebuild name:

dev-util/uncrustify-0.61

Description

C/C++/C/D/Java/Pawn code indenter and beautifier

Added to portage

2015-04-19

vanilla-sources - 3.10.75
Ebuild name:

sys-kernel/vanilla-sources-3.10.75

Description

Full sources for the Linux kernel

Added to portage

2015-04-19

vanilla-sources - 3.14.39
Ebuild name:

sys-kernel/vanilla-sources-3.14.39

Description

Full sources for the Linux kernel

Added to portage

2015-04-19

vanilla-sources - 3.19.5
Ebuild name:

sys-kernel/vanilla-sources-3.19.5

Description

Full sources for the Linux kernel

Added to portage

2015-04-19

vlc - 2.2.1
Ebuild name:

media-video/vlc-2.2.1

Description

VLC media player - Video player and streamer

Added to portage

2015-04-19

whoosh - 2.7.0
Ebuild name:

dev-python/whoosh-2.7.0

Description

Fast, pure-Python full text indexing, search and spell checking library

Added to portage

2015-04-19

wine - 1.7.41
Ebuild name:

app-emulation/wine-1.7.41

Description

Free implementation of Windows(tm) on Unix

Added to portage

2015-04-19

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.1 ms
system status display
Stellenangebote