1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY iso-codes-download-http "https://ftp.debian.org/debian/pool/main/i/iso-codes/iso-codes_&iso-codes-version;.orig.tar.xz">
|
---|
8 | <!ENTITY iso-codes-download-ftp " ">
|
---|
9 | <!ENTITY iso-codes-md5sum "6ab41fd20ad0be8c5585b573993e36fb">
|
---|
10 | <!ENTITY iso-codes-size "4.1 MB">
|
---|
11 | <!ENTITY iso-codes-buildsize "97 MB">
|
---|
12 | <!ENTITY iso-codes-time "0.1 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="iso-codes" xreflabel="ISO Codes-&iso-codes-version;">
|
---|
16 | <?dbhtml filename="iso-codes.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>ISO Codes-&iso-codes-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="iso-codes">
|
---|
22 | <primary sortas="a-ISO-Codes">ISO Codes</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to ISO Codes</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | The <application>ISO Codes</application> package contains a list of
|
---|
30 | country, language and currency names and it is used as a central
|
---|
31 | database for accessing this data.
|
---|
32 | </para>
|
---|
33 |
|
---|
34 | &lfs122_checked;
|
---|
35 |
|
---|
36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
37 | <itemizedlist spacing="compact">
|
---|
38 | <listitem>
|
---|
39 | <para>
|
---|
40 | Download (HTTP): <ulink url="&iso-codes-download-http;"/>
|
---|
41 | </para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (FTP): <ulink url="&iso-codes-download-ftp;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download MD5 sum: &iso-codes-md5sum;
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download size: &iso-codes-size;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Estimated disk space required: &iso-codes-buildsize;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated build time: &iso-codes-time;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 |
|
---|
70 | </sect2>
|
---|
71 |
|
---|
72 | <sect2 role="installation">
|
---|
73 | <title>Installation of ISO Codes</title>
|
---|
74 |
|
---|
75 | <para>
|
---|
76 | The directory is called iso-codes-&iso-codes-version;.
|
---|
77 | </para>
|
---|
78 |
|
---|
79 | <para>
|
---|
80 | Install <application>ISO Codes</application> by running the following
|
---|
81 | commands:
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <screen><userinput>./configure --prefix=/usr &&
|
---|
85 | make</userinput></screen>
|
---|
86 |
|
---|
87 | <para>
|
---|
88 | To test the results, issue: <command>make check</command>.
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <para>
|
---|
92 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <screen role="root"><userinput>make install LN_S='ln -sfn'</userinput></screen>
|
---|
96 |
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | <sect2 role="commands">
|
---|
100 | <title>Command Explanations</title>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | <parameter>LN_S='ln -sfn'</parameter>: This override ensures the
|
---|
104 | installed symlinks correctly recreated in case we are upgrading or
|
---|
105 | reinstalling the package. It's unneeded but harmless when installing
|
---|
106 | the package onto the system for the first time.
|
---|
107 | </para>
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2 role="content">
|
---|
111 | <title>Contents</title>
|
---|
112 |
|
---|
113 | <segmentedlist>
|
---|
114 | <segtitle>Installed Programs</segtitle>
|
---|
115 | <segtitle>Installed Libraries</segtitle>
|
---|
116 | <segtitle>Installed Directory</segtitle>
|
---|
117 |
|
---|
118 | <seglistitem>
|
---|
119 | <seg>
|
---|
120 | None
|
---|
121 | </seg>
|
---|
122 | <seg>
|
---|
123 | None
|
---|
124 | </seg>
|
---|
125 | <seg>
|
---|
126 | /usr/share/iso-codes, /usr/share/xml/iso-codes
|
---|
127 | </seg>
|
---|
128 | </seglistitem>
|
---|
129 | </segmentedlist>
|
---|
130 |
|
---|
131 | </sect2>
|
---|
132 |
|
---|
133 | </sect1>
|
---|