tonywhitmore.co.uk  

      blog : gallery : wiki : articles : projects : shell scripts : wallpaper : cv : links :
 Project Homepage

Lynx

Preparation

  1. Download the Lynx source code from lynx.isc.org.
    • Visit lynx.isc.org and click on the "The most recent stable release is lynx2-8-4" link.
    • Click on the link for the Lynx source code. You will need the source code in .tar.gz format.
      • At the time of writing the latest version of Lynx was version 2-8-4, so the file downloaded was lynx2.8.4.tar.gz.
    • You will be asked to where you wish to save the file. Chose a safe place and make a note of it.
    • The download is about 2.4Mb and will take at about twenty mintues over a modem, but a lot less over a broadband connection.
    • If you are using a download accelerator program, it will save the file to your default download directory.
  2. Burn the file lynx2.8.4.tar.gz to a CD. This page assumes that the subdirectory /apps is used for the .tar.gz file. The CD-ROM can be a multi-session disk.
    • Use your CD burning software to create an ISO9660 disc image with the file lynx2.8.4.tar.gz in the /apps directory.
    • Burn the CD and verify the data stored on it.

Back to simple version

Booting

  1. Boot your Core Linux PC.
  2. Login as root. You will need to enter the password at the prompt.
    • Wait for the following text to appear:
      localhost login:
    • Type root and press Enter.
    • The screen will display this message:
      Password:
    • Enter the password for root that you set earlier.
    • You will be shown a prompt that looks like this:
      [~]#

Back to simple version

Extract the source

  1. Place the CD-R in the CD-ROM drive. Mount the CD-ROM drive under /mnt/cdrom.
    • At the prompt enter:
      mount /dev/hdb /mnt/cdrom
    • You will see the following line appear:
      mount: block device /dev/hdb is write-protected, mounting read-only
  2. Change to the /apps directory on the CD-R.
    • At the prompt enter:
      cd /mnt/cdrom/apps
    • The prompt will change to:
      [/mnt/cdrom/apps]#
  3. Copy the lynx2.8.4.tar.gz file to the directory /usr/src.
    • At the prompt enter:
      cp lynx2.8.4.tar.gz /usr/src
    • The system will not display a message if everything is OK.
  4. Change to the /usr/src directory and extract the source from the .tar.gz file.
    • At the prompt enter:
      cd /usr/src
    • The prompt will change to:
      [/usr/src]#
    • At the prompt enter:
      tar -zxvf lynx2.8.4.tar.gz
    • A long stream of unzipping files and directories should scroll up the screen for a few seconds.

Back to simple version

Configure and compile

  1. Change to the /usr/src/lynx2-8-4 directory.
    • At the prompt enter:
      cd lynx2-8-4
    • The prompt will change to:
      [/usr/src/lynx2-8-4]#
  2. Run the ./configure script.
    • At the prompt enter:
      ./configure
    • A long stream of processes should scroll up the screen for about a minute.
    • The script finishes with the line:
      creating lynx_cfg.h
  3. Run the make program.
    • At the prompt enter:
      make
    • A long stream of processes should scroll up the screen for about two mintues.
    • The program finishes with the line:
      make[1]: Leaving directory '/usr/src/lynx-2-8-4/src'
  4. Run the make program with the argument install.
    • At the prompt enter:
      make install
    • A long stream of processes should scroll up the screen for few seconds.
    • The program finishes with the lines:
      Use make install-help to install the help-files
      Use make install-doc to install extra documentation files
  5. You are given the option of running further make commands to install additional documentation. Note that these stages are optional, and the standard man pages are already installed by this point.

Back to simple version

Starting Lynx

  1. Start lynx using the command /usr/local/bin/lynx.
    • At the prompt enter:
      /usr/local/bin/lynx
    • The Lynx interface will start.
  2. Test the browser by navigating to a site that you know meets HTML standards,, for example, this one!
    • Press G
    • The following message will appear towards the bottom of the screen:
      URL to open:
    • Enter www.tonywhitmore.co.uk.
    • Move around the site using the four navigational arrow keys.
  3. When you have finished with lynx, press Q to quit.
    • The following message will appear towards the bottom of the screen:
      Are you sure you want to quit? (y)
    • Press y and you will be returned to the system prompt.

Back to simple version

Creative Commons License
The text of this page is licensed under a Creative Commons License.


Valid CSS!     Valid HTML 4.0!     Valid RSS
Original design © For oswd.org by SquireCD