Lynx is a text based web browser.
Download (HTTP): http://lynx.isc.org/release/lynx2.8.6.tar.bz2
Download (FTP): ftp://lynx.isc.org/lynx2.8.6/lynx2.8.6.tar.bz2
Download MD5 sum: dc80497b7dda6a28fd80404684d27548
Download size: 2.2 MB
Estimated disk space required: 26 MB
Estimated build time: 0.5 SBU
OpenSSL-0.9.8e or experimentaly, GnuTLS (which needs libgpg-error then libgcrypt), Zip-2.32, UnZip-5.52, an MTA (that provides a sendmail command), and sharutils (for a uudecode program)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Lynx
Install Lynx by running the following commands:
./configure --prefix=/usr \
--sysconfdir=/etc/lynx \
--datadir=/usr/share/doc/lynx-2.8.6 \
--with-zlib \
--with-bzlib \
--with-screen=ncursesw \
--enable-locale-charset &&
make
This package does not come with a test suite.
Now, as the root user:
make install-full && chgrp -v -R root /usr/share/doc/lynx-2.8.6/lynx_doc
--sysconfdir=/etc/lynx:
This parameter is used so that the configuration files are located
in /etc/lynx instead of /usr/etc.
--datadir=/usr/share/doc/lynx-2.8.6:
This parameter is used so that the documentation files are
installed into /usr/share/doc/lynx-2.8.6 instead of /usr/share/lynx_{doc,help}.
--with-zlib: This enables
support for linking libz into
Lynx.
--with-bzlib: This enables
support for linking libbz2 into
Lynx.
--with-screen=ncursesw:
This switch enables the use of advanced wide-character support
present in the system NCurses
library. This is needed for proper display of characters and line
wrapping in multibyte locales.
--enable-locale-charset:
This switch allows Lynx to deduce
the proper character encoding for terminal output from the current
locale. A configuration step is still needed (see below), but,
unlike the situation without this switch, the configuration step
becomes the same for all users (without the switch, one would have
to specify the display charcter set explicitly). This is important
for environments such as a LiveCD, where the amount of
system-specific configuration steps has to be reduced to the
minimum.
--enable-nls: This switch
allows Lynx to print translated
messages (such as questions about cookies and SSL certificates).
--with-ssl: This enables support for
linking SSL into Lynx.
--with-gnutls: This enables
experimental support for linking GnuTLS into Lynx.
make install-full: In addition to the standard installation, this target installs the documentation and help files.
chgrp -v -R root
/usr/share/doc/lynx-2.8.6/lynx_doc: This command
corrects the improper group ownership of installed documentation
files caused if Lynx is built by
any user other than root.
The proper way to get the display character set is to examine the current locale. However, Lynx does not do this by default. Change this setting:
sed -i 's/#\(LOCALE_CHARSET\):FALSE/\1:TRUE/' /etc/lynx/lynx.cfg
Many other system-wide settings such as proxies can also be set
in the /etc/lynx/lynx.cfg file.
Last updated on 2007-04-04 21:42:53 +0200