links - Similar to lynx but with frames, pulldowns, js, and graphical mode ChangeLog

HOWTO


# Links 2.2
# =========
# As of this version of this howto, we're using the /usr prefix
# for installation to match where Slackware's package puts it.
#
# If you are replacing an older version installed under /usr/local,
# or if you just want to clean up files from an older version, skip#
# down to the bottom for instructions.

# There are several different versions of links.  There's the original text
# mode one:
#   http://artax.karlin.mff.cuni.cz/~mikulas/links/ (links.browser.org)
#   http://links.sourceforge.net/
# then there's Links-Lua:
#   http://links.sourceforge.net/links-lua/
# and ELinks:
#   http://elinks.or.cz/
# and the Hacked Links Project:
#   http://xray.sai.msu.ru/~karpov/links-hacked/
# Here we cover the newest links that runs at the console or under X,
# SVGAlib, framebuffer.  It's homepage is linked to below.

# Slackware 11.0: links 2.1pre23
# Slackware 12.0: links 2.1pre28
# Slackware 12.1: links 2.1pre33
# Slackware 12.2: links 2.2

# Prerequisites:
# pcre
# gpm (optional)
# pkg-config
# OpenSSL (if you want https:// support)
# SVGAlib (optional)
# DirectFB >= 0.9.17 (optional; for graphics mode)
# XFree86 or X.org (for graphics mode)
# SDL >= 1.2.0
# libpng (if you want to display png images)
# libjpeg (if you want to display jpeg images)
# libtiff (if you want to display tiff images)

cd
test -f installed/links-2.2.tar.bz2 &&
mv installed/links-2.2.tar.bz2 .
test ! -f links-2.2.tar.bz2 &&
wget http://links.twibright.com/download/links-2.2.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "links-*" -exec rm -r {} \;
tar xjvf ~/links-2.2.tar.bz2
cd links-2.2
test $UID = 0 && chown -R root:root .

# If you're installing it on a machine with only text-based console use
# (no GUI), you'll probably want to leave off --enable-javascript and
# --enable-graphics

./configure --prefix=/usr --sysconfdir=/etc \
--enable-javascript --enable-graphics
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg links
make install

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/links-*.tar.*
mv links-2.2.tar.bz2 installed/

# To use links the normal way, use it the normal way...  :-)
# To use it in graphics mode, run links -g

# Note: you can use graphics/links.xpm as an icon in KDE/Gnome/whatever


# If you ever want to uninstall links, this should do it:
cd
su
test -d src/links-* && ( cd src/links-* ; make uninstall )
rm -f /usr/bin/links /usr/man/man1/links.1
exit
find ~/src -maxdepth 1 -type d -name "links-*" -exec rm -r {} \;
rm -f ~/installed/links-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2009-07-10 12:11pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]