- Check you have the following programs and free-software libraries
installed on your system.
If you can't ensure usable versions of all necessary libraries be
installed, you have to compile Links with user-supplied libraries. Refer
to the file INSTALL in such a case.
- libpng different from
1.2.18 Required to run Links in graphics mode. On package-driven
distributions you will need libpng and libpng-dev(el). Libpng
1.2.18 is buggy and causes Links to crash with "png_do_rgb_to_gray found
nongray pixel". PATCH-libpng-1.2.18 inside links-*.tar.* allows fixing this
and using 1.2.18.
- IJG libjpeg If you want Links to display JPG pictures. On package-driven distributions
you will need libjpeg and libjpeg-dev(el).
- TIFF Library If you want Links to display TIFF images. On packaged-driven
distributions you will need libtiff and libtiff-dev(el).
- SVGAlib if you want to run Links unde SVGAlib. You must be able to compile programs under svgalib. On package-driven distributions, you may need svgalib and svgalib-devel
- XFree86 or other implementation
of Xlib if you want Links to display also under X. On package-driven distribution you'll probably need xfree86
and xfree86-devel packages.
- tar and gzip or bzip2 to be able to unpack the archive
- C compiler
- The make program
- Don't forget to run "ldconfig" if you have been installing some libraries :-)
- Download the source archive:
- Unpack the source archive: "tar xzvf links-2.1pre30.tar.gz" or "tar xjvf links-2.1pre30.tar.bz2" Change into the newly-created directory.
- Issue "./configure --help" and the run "./configure" with the parameters you want (probably --enable-graphics --enable-javascript and maybe some more)
- After "configure" ends, check the table if you really get what you want
- Type "make". Ignore possible warning about tempnam function, links
code is correct.
- If you got a root access, log in as root and do "make install" in the same directory.
If you are installing Links as an ordinary user, place the "links" executable file that was
created by the "make" command into some suitable place possibly within your $PATH.
- If you haven't got a permanent Internet access, copy the whole subdirectory "doc/" into some
suitable place (/usr/share/, /usr/local/share/, or in your home...). Most
important is the "doc/links_cal/" subdirectory which contains
HTML documents (calibration.html in English and kalibrace.html in Czech) and pictuers
that are used for calibration.
- If you have an X Window System windowmanager and want to install a
Links icon into it, you will find a suitable 48x48 icon in
graphics/links.xpm.
- Delete the archive and the source directory.
- If graphics mode is enabled, run "links -g doc/calibration.html" (or "links -g" and point
the browser to The
Calibration Procedure) and proceed with the calibration
of your monitor and Links
- Now you can use the browser. Run "links -g" if you want to
run in graphics and "links" if you want to run in text mode.
|