2024-01-20 05:35:53 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2005-10-21 04:55:33 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2022-09-08 15:24:29 +08:00
|
|
|
<!ENTITY iso-codes-download-http "https://ftp.debian.org/debian/pool/main/i/iso-codes/iso-codes_&iso-codes-version;.orig.tar.xz">
|
2011-11-17 05:55:20 +08:00
|
|
|
<!ENTITY iso-codes-download-ftp " ">
|
2024-01-15 17:50:04 +08:00
|
|
|
<!ENTITY iso-codes-md5sum "5760b5a359301397cc3ab2baa165c31c">
|
2022-11-16 04:43:29 +08:00
|
|
|
<!ENTITY iso-codes-size "3.7 MB">
|
2024-01-15 17:50:04 +08:00
|
|
|
<!ENTITY iso-codes-buildsize "95 MB">
|
2022-11-16 04:43:29 +08:00
|
|
|
<!ENTITY iso-codes-time "0.1 SBU (with tests)">
|
2005-10-21 04:55:33 +08:00
|
|
|
]>
|
|
|
|
|
2007-02-15 02:40:12 +08:00
|
|
|
<sect1 id="iso-codes" xreflabel="ISO Codes-&iso-codes-version;">
|
2005-10-21 04:55:33 +08:00
|
|
|
<?dbhtml filename="iso-codes.html"?>
|
|
|
|
|
|
|
|
|
|
|
|
<title>ISO Codes-&iso-codes-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="iso-codes">
|
|
|
|
<primary sortas="a-ISO-Codes">ISO Codes</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to ISO Codes</title>
|
|
|
|
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
The <application>ISO Codes</application> package contains a list of
|
|
|
|
country, language and currency names and it is used as a central
|
|
|
|
database for accessing this data.
|
|
|
|
</para>
|
2005-10-21 04:55:33 +08:00
|
|
|
|
2023-08-19 05:30:17 +08:00
|
|
|
&lfs120_checked;
|
2009-10-17 15:50:57 +08:00
|
|
|
|
2005-10-21 04:55:33 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&iso-codes-download-http;"/>
|
|
|
|
</para>
|
2005-10-21 04:55:33 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&iso-codes-download-ftp;"/>
|
|
|
|
</para>
|
2005-10-21 04:55:33 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &iso-codes-md5sum;
|
|
|
|
</para>
|
2005-10-21 04:55:33 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Download size: &iso-codes-size;
|
|
|
|
</para>
|
2005-10-21 04:55:33 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &iso-codes-buildsize;
|
|
|
|
</para>
|
2005-10-21 04:55:33 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &iso-codes-time;
|
|
|
|
</para>
|
2005-10-21 04:55:33 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2021-09-07 01:42:49 +08:00
|
|
|
|
2005-10-21 04:55:33 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of ISO Codes</title>
|
|
|
|
|
2021-08-28 11:39:15 +08:00
|
|
|
<para>
|
|
|
|
The directory is called iso-codes-&iso-codes-version;.
|
|
|
|
</para>
|
|
|
|
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Install <application>ISO Codes</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2005-10-21 04:55:33 +08:00
|
|
|
|
2007-01-27 03:51:27 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
2005-10-21 04:55:33 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
2014-04-11 06:43:19 +08:00
|
|
|
To test the results, issue: <command>make check</command>.
|
2012-08-01 07:44:40 +08:00
|
|
|
</para>
|
2005-10-21 04:55:33 +08:00
|
|
|
|
2016-11-18 23:37:12 +08:00
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
If you install <application>ISO codes</application> over a previous
|
2021-09-07 01:42:49 +08:00
|
|
|
installed version, the install step will fail when creating some
|
2016-12-12 10:03:22 +08:00
|
|
|
symlinks. In order to properly update them, run:
|
2016-11-18 23:37:12 +08:00
|
|
|
</para>
|
|
|
|
|
2016-12-13 00:14:03 +08:00
|
|
|
<screen><userinput>sed -i '/^LN_S/s/s/sfvn/' */Makefile</userinput></screen>
|
2016-11-18 23:37:12 +08:00
|
|
|
|
|
|
|
</note>
|
|
|
|
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-10-21 04:55:33 +08:00
|
|
|
|
2010-04-08 00:21:43 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2005-10-21 04:55:33 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
2013-01-26 00:32:25 +08:00
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directory</segtitle>
|
2005-10-21 04:55:33 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
2013-01-26 00:32:25 +08:00
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
2012-08-01 07:44:40 +08:00
|
|
|
<seg>
|
2016-11-18 23:37:12 +08:00
|
|
|
/usr/share/iso-codes, /usr/share/xml/iso-codes
|
2012-08-01 07:44:40 +08:00
|
|
|
</seg>
|
2005-10-21 04:55:33 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|