Chapter 1. Getting ELinks up and running

Table of Contents

Building and Installing ELinks
Requirements
Recommended Libraries and Programs
Further reading
Tips to obtain a very small static elinks binary
ECMAScript support?!
Ok, so how to get the ECMAScript support working?
The ECMAScript support is buggy! Shall I blame Mozilla people?
Now, I would still like NJS or a new JS engine from scratch…
Feature configuration file (features.conf)
Notes for users
Bookmarks (CONFIG_BOOKMARKS)
XBEL Bookmarks (CONFIG_XBEL_BOOKMARKS)
Cookies (CONFIG_COOKIES)
Form History (CONFIG_FORMHIST)
Global History (CONFIG_GLOBHIST)
MIME
Mailcap (CONFIG_MAILCAP)
Mimetypes File (CONFIG_MIMETYPES)
Gzip and Deflate Decompression (CONFIG_GZIP)
Bzip2 Decompression (CONFIG_BZIP2)
LZMA Decompression (CONFIG_LZMA)
IPv6 Protocol Support (CONFIG_IPV6)
URI Rewriting (CONFIG_URI_REWRITE)
BitTorrent Protocol Support (CONFIG_BITTORRENT)
Local CGI Support (CONFIG_CGI)
Data URI protocol (CONFIG_DATA)
Finger User Information Protocol Support (CONFIG_FINGER)
File Service Protocol (CONFIG_FSP)
File Transfer Protocol Support (CONFIG_FTP)
Gopher Protocol Support (CONFIG_GOPHER)
NNTP Protocol Support (CONFIG_NNTP)
SMB Protocol Support (CONFIG_SMB)
Cascading Style Sheets (CONFIG_CSS)
HTML Highlighting (CONFIG_HTML_HIGHLIGHT)
ECMAScript (JavaScript) Browser Scripting (CONFIG_SCRIPTING_SPIDERMONKEY)
Mouse Support (CONFIG_MOUSE)
88 Colors in Terminals (CONFIG_88_COLORS)
256 Colors in Terminals (CONFIG_256_COLORS)
True color (CONFIG_TRUE_COLOR)
Ex-mode Interface (CONFIG_EXMODE)
LEDs (CONFIG_LEDS)
Document Marks (CONFIG_MARKS)
Debug mode (CONFIG_DEBUG)
Fast mode (CONFIG_FASTMEM)
Own C library functions (CONFIG_OWN_LIBC)
Small binary (CONFIG_SMALL)
Unicode UTF-8 support (CONFIG_UTF8)
Back-trace Printing (CONFIG_BACKTRACE)
Disable Root User (CONFIG_NO_ROOT_EXEC)

Installing ELinks should be pretty easy on most systems. Below is described the whole process of configuring the compilation, compiling and installing.

Building and Installing ELinks

The quick guide for the impatient. Issue the following commands from the ELinks source directory:

$ ./configure && make && make install

However you might consider to tweek a few compile time options before building ELinks. You might also want to take a look at what libraries and programs are required or recommended that you install.