/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-system.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-system.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.94 Revision 1.95
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.94 2006/07/13 15:01:27 rane Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.95 2006/07/19 12:01:39 rane Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.20</version> 11<version>2.21</version>
12<date>2006-07-13</date> 12<date>2006-07-18</date>
13 13
14<section> 14<section>
15<title>Chrooting</title> 15<title>Chrooting</title>
16<subsection> 16<subsection>
17<title>Optional: Selecting Mirrors</title> 17<title>Optional: Selecting Mirrors</title>
340<subsection> 340<subsection>
341<title>Optional: GLIBC Locales</title> 341<title>Optional: GLIBC Locales</title>
342<body> 342<body>
343 343
344<p> 344<p>
345You will probably only use one or maybe two locales on your system. Up until now 345You will probably only use one or maybe two locales on your system. You can
346after compiling <c>glibc</c> a full set of all available locales will be
347created. As of now you can activate the <c>userlocales</c> USE flag and specify
348only the locales you will need in <path>/etc/locales.build</path>. Only do this 346specify locales you will need in <path>/etc/locales.ge</path>.
349if you know what locales to choose.
350</p>
351
352<pre caption="Activate the userlocales USE flag especially for glibc">
353# <i>mkdir -p /etc/portage</i>
354# <i>echo "sys-libs/glibc userlocales" >> /etc/portage/package.use</i>
355</pre>
356
357<p> 347</p>
358Now specify the locales you want to be able to use:
359</p>
360 348
361<pre caption="Opening /etc/locales.build"> 349<pre caption="Opening /etc/locale.gen">
362# <i>nano -w /etc/locales.build</i> 350# <i>nano -w /etc/locale.gen</i>
363</pre> 351</pre>
364 352
365<p> 353<p>
366The following locales are an example to get both English (United States) and 354The following locales are an example to get both English (United States) and
367German (Germany) with the accompanying character formats (like UTF-8). 355German (Germany) with the accompanying character formats (like UTF-8).
368</p> 356</p>
369 357
370<pre caption="Specify your locales"> 358<pre caption="Specify your locales">
371en_US/ISO-8859-1 359en_US ISO-8859-1
372en_US.UTF-8/UTF-8 360en_US.UTF-8 UTF-8
373de_DE/ISO-8859-1 361de_DE ISO-8859-1
374de_DE@euro/ISO-8859-15 362de_DE@euro ISO-8859-15
363</pre>
364
365<p>
366The next step is to run <c>locale-gen</c>. It will generate all the locales you
367have specified in the <path>/etc/locale.gen</path> file.
375</pre> 368</p>
376 369
377<p> 370<p>
378Now continue with <uri link="?part=1&amp;chap=7">Configuring the Kernel</uri>. 371Now continue with <uri link="?part=1&amp;chap=7">Configuring the Kernel</uri>.
379</p> 372</p>
380 373

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.95

  ViewVC Help
Powered by ViewVC 1.1.20