source: basicnet/textweb/lynx.xml@ 4437f63

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4437f63 was 1ca3642, checked in by Tushar Teredesai <tushar@…>, 19 years ago

Simplify lynx installation

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5571 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY lynx-download-http "http://lynx.isc.org/release/lynx&lynx-version;.tar.bz2">
8 <!ENTITY lynx-download-ftp "ftp://lynx.isc.org/lynx&lynx-version;/lynx&lynx-version;.tar.bz2">
9 <!ENTITY lynx-md5sum "d1e5134e5d175f913c16cb6768bc30eb">
10 <!ENTITY lynx-size "2.2 MB">
11 <!ENTITY lynx-buildsize "25 MB">
12 <!ENTITY lynx-time "0.5 SBU">
13]>
14
15<sect1 id="lynx" xreflabel="Lynx-&lynx-version;">
16 <?dbhtml filename="lynx.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 <keywordset>
22 <keyword role="package">lynx&lynx-version;.tar</keyword>
23 <keyword role="ftpdir">lynx</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>Lynx-&lynx-version;</title>
28
29 <indexterm zone="lynx">
30 <primary sortas="a-Lynx">Lynx</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to Lynx</title>
35
36 <para><application>Lynx</application> is a text based web browser.</para>
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&lynx-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&lynx-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &lynx-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &lynx-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &lynx-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &lynx-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Lynx Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Optional</bridgehead>
63 <para role="optional"><xref linkend="openssl"/> or
64 <ulink url="http://www.gnu.org/software/gnutls/">GnuTLS</ulink> (which
65 needs <ulink
66 url="ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/">libgpg-error</ulink>
67 then <ulink url="ftp://ftp.gnupg.org/gcrypt/libgcrypt/">libgcrypt</ulink>),
68 <ulink url="../server/mail.html">MTA</ulink>,
69 <xref linkend="zip"/>, <xref linkend="unzip"/>,
70 <xref linkend="slang"/> and
71 <!-- <ulink
72 url="http://ftp.ibiblio.org/pub/linux/utils/compress/ncompress-4.2.4.tar.Z">
73 ncompress</ulink> and -->
74 <ulink url="http://www.gnu.org/software/sharutils/">sharutils</ulink></para>
75
76 </sect2>
77
78 <sect2 role="installation">
79 <title>Installation of Lynx</title>
80
81 <para>Install <application>Lynx</application> by running the following
82 commands:</para>
83
84<screen><userinput>./configure --prefix=/usr --libdir=/etc \
85 --with-zlib --with-bzlib &amp;&amp;
86make</userinput></screen>
87
88 <para>This package does not come with a test suite.</para>
89
90 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
91
92<screen role='root'><userinput>make docdir=/usr/share/doc/lynx-&lynx-version;/doc \
93 helpdir=/usr/share/doc/lynx-&lynx-version;/help install-full &amp;&amp;
94chgrp -v -R root /usr/share/doc/lynx-&lynx-version;/doc</userinput></screen>
95
96 </sect2>
97
98 <sect2 role="commands">
99 <title>Command Explanations</title>
100
101 <para><parameter>--libdir=/etc</parameter>: For some reason, the
102 <command>configure</command> and <command>make</command> routine for
103 <application>Lynx</application> uses <option>libdir</option> as the prefix
104 for the configuration file. This is set to
105 <filename class="directory">/etc</filename> so that the system wide
106 configuration file is <filename>/etc/lynx.cfg</filename>.</para>
107
108 <para><parameter>--with-zlib</parameter>: This enables support for
109 linking <filename class="libraryfile">libz</filename> into
110 <application>Lynx</application>.</para>
111
112 <para><parameter>--with-bzlib</parameter>: This enables support for
113 linking <filename class="libraryfile">libbz2</filename> into
114 <application>Lynx</application>.</para>
115
116 <para><parameter>docdir=... helpdir=...</parameter>: These
117 variables are set to avoid getting the help and documentation files
118 installed under <filename class="directory">/etc</filename>.</para>
119
120 <para><parameter>install-full</parameter>: In addition to the standard
121 installation, this target installs the documentation and the help
122 files.</para>
123
124 <para><option>--with-ssl</option>: This enables support for
125 linking SSL into <application>Lynx</application>.</para>
126
127 <para><option>--with-gnutls</option>: This enables support for
128 linking <application>GnuTLS</application> into
129 <application>Lynx</application>.</para>
130
131 <para><command>chgrp -v -R root
132 /usr/share/doc/lynx-&lynx-version;/doc</command>:
133 This command corrects the improper group ownership of installed
134 documentation files caused if <application>Lynx</application> is built
135 by any user other than
136 <systemitem class="username">root</systemitem>.</para>
137
138 <note>
139 <para>There has been a security vulnerability identified if you enable
140 support for CGI links by passing the <option>--enable-cgi-links</option>
141 parameter to <command>configure</command>. See <ulink
142 url="http://seclists.org/lists/vulnwatch/2005/Oct-Dec/0041.html"/> for
143 details.</para>
144 </note>
145
146 </sect2>
147
148 <sect2 role="configuration">
149 <title>Configuring Lynx</title>
150
151 <sect3 id="lynx-config">
152 <title>Config Files</title>
153
154 <para><filename>/etc/lynx.cfg</filename></para>
155
156 <indexterm zone="lynx lynx-config">
157 <primary sortas="e-etc-lynx.cfg">/etc/lynx.cfg</primary>
158 </indexterm>
159
160 </sect3>
161
162 <sect3>
163 <title>Configuration Information</title>
164
165 <para>Various settings such as proxies can be set in the system-wide
166 <filename>lynx.cfg</filename> file found in
167 <filename class="directory">/etc</filename>.</para>
168
169 </sect3>
170
171 </sect2>
172
173 <sect2 role="content">
174 <title>Contents</title>
175
176 <segmentedlist>
177 <segtitle>Installed Program</segtitle>
178 <segtitle>Installed Libraries</segtitle>
179 <segtitle>Installed Directory</segtitle>
180
181 <seglistitem>
182 <seg>lynx</seg>
183 <seg>None</seg>
184 <seg>/usr/share/doc/lynx-&lynx-version;</seg>
185 </seglistitem>
186 </segmentedlist>
187
188 <variablelist>
189 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
190 <?dbfo list-presentation="list"?>
191 <?dbhtml list-presentation="table"?>
192
193 <varlistentry id="lynx-prog">
194 <term><command>lynx</command></term>
195 <listitem>
196 <para>is a general purpose, text-based, distributed information
197 browser for the World Wide Web.</para>
198 <indexterm zone="lynx lynx-prog">
199 <primary sortas="b-lynx">lynx</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 </variablelist>
205
206 </sect2>
207
208</sect1>
Note: See TracBrowser for help on using the repository browser.